Actions
Data preparation » Historique » Révision 8
« Précédent |
Révision 8/11
(diff)
| Suivant »
François Rioult, 23/06/2010 19:45
Data preparation¶
This is a tutorial for designing your first scenario with KDAriane.
- launch Ariane with
java -jar ariane.jar
- click on the "New graph" icon (or in the File menu)
- in the left column, in the operator list, in the file category, drag a loader operator on the design chart.
- set the file to be loaded by double-clicking on the operator, then click on load and find the
zoo.csv
file.
- execute the operator by right-clicking on the operator for showing the contextual menu, then left-click on execute.
- the operator state went to green. You can now visualize the result (the input file) by double-clicking on the operator the press show.
- 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.0 Class 0 hair 0 feathers 0 eggs 0 milk 0 airborne 0 aquatic 0 predator 0 toothed 0 backbone 0 breathes 0 venomous 0 fins 0 legs 0 tail 0 domestic 0 catsize
- 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
.
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 withdictionary
.- the name of an operator can be changed in the contextual menu: change it here with
dictionary
. - you can now run the operator and view the result by double-clicking on it then press show.
- 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.
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.
Mis à jour par François Rioult il y a plus de 14 ans · 8 révisions