Data preparation » Historique » Version 8
François Rioult, 23/06/2010 19:45
1 | 1 | François Rioult | h1. Data preparation |
---|---|---|---|
2 | 2 | François Rioult | |
3 | This is a tutorial for designing your first scenario with KDAriane. |
||
4 | |||
5 | 3 | François Rioult | * launch Ariane with |
6 | 2 | François Rioult | <pre> |
7 | java -jar ariane.jar |
||
8 | </pre> |
||
9 | |||
10 | 3 | François Rioult | * click on the "New graph" icon (or in the File menu) |
11 | 5 | François Rioult | !https://forge.greyc.fr/attachments/14/a1.png! |
12 | 6 | François Rioult | |
13 | * in the left column, in the operator list, in the file category, drag a _loader_ operator on the design chart. |
||
14 | 5 | François Rioult | !https://forge.greyc.fr/attachments/15/a2.png! |
15 | 6 | François Rioult | |
16 | * set the file to be loaded by double-clicking on the operator, then click on _load_ and find the @zoo.csv@ file. |
||
17 | 5 | François Rioult | !https://forge.greyc.fr/attachments/16/a3.png! |
18 | 6 | François Rioult | |
19 | * execute the operator by right-clicking on the operator for showing the contextual menu, then left-click on _execute_. |
||
20 | 5 | François Rioult | !https://forge.greyc.fr/attachments/17/a4.png! |
21 | 6 | François Rioult | |
22 | * the operator state went to green. You can now visualize the result (the input file) by double-clicking on the operator the press _show_. |
||
23 | 5 | François Rioult | !https://forge.greyc.fr/attachments/18/a5.png! |
24 | 6 | François Rioult | |
25 | 7 | François Rioult | * add a second file loader for @zoo.col@, that contains the description of the columns. Each line starts with an integer telling how much intervals with homogeneous population should be computed. It is zero is the attribute is qualitative. Then the name of the attribute appears. |
26 | 6 | François Rioult | <pre> |
27 | 0 Class |
||
28 | 0 hair |
||
29 | 0 feathers |
||
30 | 0 eggs |
||
31 | 0 milk |
||
32 | 0 airborne |
||
33 | 0 aquatic |
||
34 | 0 predator |
||
35 | 0 toothed |
||
36 | 0 backbone |
||
37 | 0 breathes |
||
38 | 0 venomous |
||
39 | 0 fins |
||
40 | 0 legs |
||
41 | 0 tail |
||
42 | 0 domestic |
||
43 | 0 catsize |
||
44 | </pre> |
||
45 | 1 | François Rioult | |
46 | 8 | François Rioult | * from the personal operators, category _shell_, drag an "eval121":[[eval121]] operator. It has two inputs, to which the file loaders should be connected: drag the small blue square from the left of the loader to the top input of @eval121@. |
47 | 1 | François Rioult | !https://forge.greyc.fr/attachments/10/a6.png! |
48 | 7 | François Rioult | |
49 | * @eval121@ invokes a binary with the shell. Here we need to compute the dictionary of the data, given the columns description: double click on the operator and fill the parameter with @dictionary@. |
||
50 | 1 | François Rioult | !https://forge.greyc.fr/attachments/11/a7.png! |
51 | * the name of an operator can be changed in the contextual menu: change it here with @dictionary@. |
||
52 | !https://forge.greyc.fr/attachments/12/a8.png! |
||
53 | * you can now run the operator and view the result by double-clicking on it then press _show_. |
||
54 | 8 | François Rioult | * in order to complete the scenario, add an "eval122":[[eval122]] for invoking @segmentation@, that computes the binary data and the translation file (for further use) starting from the CSV data and the dictionary computed with the previous operator. |
55 | You may also add a viewer operator (and specify which viewer you want - gedit by default), and two saver operator for permanently writing the result. |
||
56 | 5 | François Rioult | !https://forge.greyc.fr/attachments/13/a9.png! |