Adding a function to show the minimal empirical error.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Removing the dependency on passing the xplfile path
to the ensemble class.
Instead it receives the xpl data as produced by the xplutil.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Added a function to calculate a minimal improvment value
for a given pair of images (observed,ideal)

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Fixing unique rows and indices calculation for a given array with duplicate rows.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Adding test case for _apply_projection function

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Merge branch 'master' of https://github.com/santoscarlos/mestrado

Conflicts:
	classifier.py
	ensemble.py
	test/test_classifier.py
Removing rubish left from the merge operation

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
 Removing rubish left from the merge operation

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Keeping consistency according to the data and data indices to be written to
mtm file

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Changing error file name from Error.txt to MAE.txt

Saving MAE graph as png file

Adding build_xpl function to write XPL file to disk

Adding function to buil_operator based on mimterm file

Adding function to build combined operators (2-level operator)

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Adding another test case for _apply_projection function

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Setting cv_flag to 1 in build_xpl tool

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Changing function to enable mae calculation over a imageset (considering
a imageset is a list)

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Fixing data type from min_mae function
and fixing calculation

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Fixing merge clnflicts with upstream.