Computes satistics (L1, L2, Loo) from results of two estimators.
Usage: statisticsEstimators –file1 <file1> –column1 <column1> –file2 <file2> –column2 <column2> –output <output>
Allowed options are :
Positionals:
1 TEXT:FILE REQUIRED File 1.
2 TEXT:FILE REQUIRED File 2.
Options:
-h,--help Print this help message and exit
-f,--file1 TEXT:FILE REQUIRED File 1.
-F,--file2 TEXT:FILE REQUIRED File 2.
-c,--column1 UINT REQUIRED Column of file 1
-C,--column2 UINT REQUIRED Column of file 2
-o,--output TEXT REQUIRED Output file
-m,--monge BOOLEAN=0 Is from Monge mean computation (optional, default false)
Example:
This tool can be used in association to other estimator with for instance the 2dLocalEstimators which gives as output a file containing the curvature:
./estimators/2dlocalEstimators --output curvature --shape flower --radius 15 -v 5 --gridstep 1 --estimators 11100 --properties 01
Then you can use this tool as follows:
./estimators/statisticsEstimators --file1 curvature_True_curvature.dat --column1 0 --file2 curvature_II_curvature.dat --column2 0 -o result.dat
The resulting file result.dat should contains:
# h | L1 Mean Error | L2 Mean Error | Loo Mean Error
1 0.0844106 0.0108399 0.519307
- See also
- statisticsEstimators.cpp