In classifier.py: ========================================================

- Renamed functions to better reflect their purpose/scope.
- Simplified procedure for obtaining the final decision table. Some
matrix operations weren't really necessary since the score for
0-output label is always K - (score for 1-outpu label) where K
is the sum of weights.
- Added tests for some functions.

In classifier_example.py
========================================================

- Renamed function calls, according to changes detailed above.
- There is no need to reload the xpl files, since we can copy
the frequency data before doing the iterations.
Changed histogram dtype so it works with floating point data (distributions)
Adding extra argument to save window files to directory.
Saving intermediate error values to txt file.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Adding a new script to plot graphics.( graphics.py)

plot_MAE_iter() function plots a MAE per iteration graph.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Added Trios python classes

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Adding a method to write MINTERM file to disk

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Fixed file header and removed unused tag

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Removed the .f tag from the mtm file and the 0x from
hex string
Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Revert "Added Trios python classes"

This reverts commit d05f52175773c8cab6c70b237166fc9c225a32f3.
Added 0 to the last mtm file column and label 0's and 1's frequency sum.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Fixing MINTERM file columns

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Enabled plotting graphic, changed error file name and saved minterm file

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Fixing MAE error calculation per iteration

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Inverting pattern order

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Created _apply_projection function to help writing
MINTERM files during iterations

Removed whitespaces in the write_minterm_File function

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Adding a new class (ensemble.py) representing the ensemble method.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Fixing identation

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Removing unnecessary code

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

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>
Adding a method to build a xpl file.

***This file must be compiled with trioslib original source code.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>