Evaluate NeurEco Compression model in the command line interface#

To perform an evaluation, run the following command in the terminal:

neurecoDNN evaluate path/to/evaluation/configuration/file/eval.conf

The skeleton of an evaluation configuration file, here eval.conf, looks as follows. Its fields should be filled according to the problem at hand.

1 {
2 "neurecoDNN_evaluate": {
3     "exc_filenames": ["x_test.csv"],
4     "model_output_format": "csv",
5     "neureco_filename": "model.ednn",
6     "write_model_output_to_directory": "ModelOutputs"
7 }
8 }
The available evaluation parameters in the configuration file are described in the following table.
NeurEco evaluation parameters in python API#

Name

type

description

neureco_filename

string

the path to the NeurEco tabular model.

exc_filenames

list of strings

the path of the files containing the input data on which the model will be applied. The accepted formats are: csv, npy and mat (matlab files).

write_model_output_to_directory

string

the path where the NeurEco outputs will be saved.

model_output_format

string

the format of the outputs to be saved (“csv”, “npy”).