Projet

Général

Profil

Missing values ruled insertion » Historique » Version 5

François Rioult, 01/09/2015 17:48

1 1 François Rioult
h1. Missing values ruled insertion
2
3 5 François Rioult
This macro operator inserts missing values using rules comming from "MVminer":https://forge.greyc.fr/projects/kdariane/wiki/Mvminer .
4 3 François Rioult
5 1 François Rioult
h2. Ariane stream
6
7
https://forge.greyc.fr/projects/kdariane/repository/changes/members/frioult/missing/ruleMVInsertion.aws
8
9 2 François Rioult
h2. Usage
10
11
<pre>
12
$ ./ruleMVInsertion.sh 
13
Usage: ./ruleMVInsertion.sh  minsup delta input-file1 output-file1
14
  example: ./ruleMVInsertion.sh 25 0 heart-nom.csv heart-nom-missing.csv
15
</pre>
16
17 1 François Rioult
h2. Parameters
18
19 5 François Rioult
2 parameters: minsup and delta for the rules
20 1 François Rioult
21
h2. Inputs
22
23 5 François Rioult
1 input: the CSV file (numerical item separated by commas)
24 1 François Rioult
25
h2. Outputs
26 5 François Rioult
27
1 output: for each rule, in each object matching the premise, replace the conclusion with a question mark '?'.