-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporary fix of User Interaction data passing (#120)
* Temporary fix of GUI output * DOC: fix wrong Python version, warnings when building docs * FIX: replace basic_usage with loop_demo in user_guide.rst --------- Co-authored-by: Teemu Ruokolainen <teemu.p.ruokolainen@gmail.com>
- Loading branch information
Showing
8 changed files
with
146 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<pipeline> | ||
<Initialiser name="Initialiser"> | ||
<relationships> | ||
<child name="User Interaction" /> | ||
</relationships> | ||
<coordinates> | ||
[(350.0, 50), 0, {}] | ||
</coordinates> | ||
<inputdata> | ||
<X file="./examples/state-action/X_data.csv" /> | ||
</inputdata> | ||
</Initialiser> | ||
<loop type="For" condition="2" name="loop0"> | ||
<relationships> | ||
<child name="User Interaction" /> | ||
</relationships> | ||
<coordinates> | ||
(129.0, 193.0, 547.0, 514.0) | ||
</coordinates> | ||
<UserInteraction name="User Interaction"> | ||
<inputdata> | ||
<X module="Initialiser" /> | ||
</inputdata> | ||
<relationships> | ||
<parent name="Initialiser" /> | ||
<parent name="loop0" /> | ||
<child name="Output" /> | ||
</relationships> | ||
<coordinates> | ||
[(350.0, 350.0), 2, {0: 'd0-u2'}] | ||
</coordinates> | ||
<plugin type="CanvasInput"> | ||
<options /> | ||
</plugin> | ||
</UserInteraction> | ||
</loop> | ||
<Output name="Output"> | ||
<inputdata> | ||
<X module="User Interaction" /> | ||
</inputdata> | ||
<relationships> | ||
<parent name="User Interaction" /> | ||
</relationships> | ||
<coordinates> | ||
[(350.0, 650), 1, {2: 'd2-u1'}] | ||
</coordinates> | ||
<plugin type="Output"> | ||
<options> | ||
<outdata> | ||
User Interaction | ||
</outdata> | ||
<outpath> | ||
.\examples\results\output.pkl | ||
</outpath> | ||
</options> | ||
</plugin> | ||
</Output> | ||
</pipeline> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<pipeline> | ||
<Initialiser name="Initialiser"> | ||
<relationships> | ||
<child name="Modelling" /> | ||
</relationships> | ||
<coordinates> | ||
[(350.0, 50), 0, {}] | ||
</coordinates> | ||
<inputdata> | ||
<X file="./examples/supervised_regression/X_tr.csv" /> | ||
<Y file="./examples/supervised_regression/Y_tr.csv" /> | ||
<X_test file="./examples/supervised_regression/X_tst.csv" /> | ||
<Y_test file="./examples/supervised_regression/Y_tst.csv" /> | ||
</inputdata> | ||
</Initialiser> | ||
<Modelling name="Modelling"> | ||
<inputdata> | ||
<X module="Initialiser" /> | ||
</inputdata> | ||
<relationships> | ||
<parent name="Initialiser" /> | ||
<child name="Output" /> | ||
</relationships> | ||
<coordinates> | ||
[(350.0, 350.0), 2, {0: 'd0-u2'}] | ||
</coordinates> | ||
<plugin type="RidgeRegression"> | ||
<options> | ||
<alpha> | ||
0.02 | ||
</alpha> | ||
</options> | ||
<method type="fit"> | ||
<options> | ||
<X> | ||
X | ||
</X> | ||
<y> | ||
Y | ||
</y> | ||
</options> | ||
</method> | ||
<method type="score"> | ||
<options> | ||
<X> | ||
X_test | ||
</X> | ||
<y> | ||
Y_test | ||
</y> | ||
</options> | ||
</method> | ||
</plugin> | ||
</Modelling> | ||
<Output name="Output"> | ||
<inputdata> | ||
<X module="Modelling" /> | ||
</inputdata> | ||
<relationships> | ||
<parent name="Modelling" /> | ||
</relationships> | ||
<coordinates> | ||
[(350.0, 650), 1, {2: 'd2-u1'}] | ||
</coordinates> | ||
<plugin type="Output"> | ||
<options> | ||
<outdata> | ||
Modelling | ||
</outdata> | ||
<outpath> | ||
.\examples\results\output.pkl | ||
</outpath> | ||
</options> | ||
</plugin> | ||
</Output> | ||
</pipeline> |