-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Milestone
Description
For some data, Workbench generates .ega file with empty countPer
parameter:
[BALANCE:CONFIG]
balanceField=y
countPer=
sourceFile=FILE_RANDOMIZE
targetFile=FILE_BALANCE
which later causes an exception:
[ERROR][Thread-5]: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:504)
at java.lang.Integer.parseInt(Integer.java:527)
at org.encog.app.analyst.script.prop.ScriptProperties.getPropertyInt(ScriptProperties.java:449)
at org.encog.app.analyst.commands.CmdBalance.executeCommand(CmdBalance.java:81)
at org.encog.app.analyst.EncogAnalyst.executeTask(EncogAnalyst.java:509)
at org.encog.app.analyst.EncogAnalyst.executeTask(EncogAnalyst.java:536)
at org.encog.workbench.tabs.analyst.AnalystProgressTab.run(AnalystProgressTab.java:347)
at java.lang.Thread.run(Thread.java:724)
Steps to reproduce:
- Get data from http://dione.zcu.cz/~toman40/encog/data1a.zip
- Run "Analyst wizard" with "Target field" = "y", "CSV File Headers" = yes, Tasks/Balance = yes
- After .ega is generated, run "task-full" -> exception is thrown.
Metadata
Metadata
Assignees
Labels
No labels