jeffheaton / encog-java-core

http://www.heatonresearch.com/encog
Other
743 stars 268 forks source link

Analyst Wizard: "ignore"-d fields appear in the output #59

Closed PetrToman closed 12 years ago

PetrToman commented 12 years ago
  1. Generate .ega file using Analyst Wizard (using Workbench, for example).
  2. Change "io" parameter of some field to "ignore" (according to the documentation, such a field should not be in the output - http://www.heatonresearch.com/javadoc/encog-3.0/org/encog/util/arrayutil/NormalizationAction.html). Example (piece of .ega):
[NORMALIZE:RANGE]
"name","io","timeSlice","action","high","low"
"x1","input",0,"range",1,-1
"x2","input",0,"range",1,-1
...
"y","output",0,"range",1,-1
"ignore_me","ignore",0,"range",1,-1
  1. Run Analyst tasks -> "ignore_me" field will be present in the output files (*_norm.csv, for example).
seemasingh commented 12 years ago

The only valid options for the IO column are input and output. I added an error message to inforce that. ignore can be used in the action column, and it appears to work.

PetrToman commented 12 years ago

Sorry, my fault. Have you commited the parameter validation for "io"? I don't get any error - when running in Workbench Analyst. Task execution should stop on invalid parameters.