Assignment 2 : Neural network bits fail with java.lang.IndexOutOfBoundsException
See original GitHub issueIssue Description
Running the following files with Jython throws an Index out of bounds error (when using CreditApprovalData or PenDigitsData).
$ jython NN-Backprop.py
Using seed 653091685
Error results for Backprop
Traceback (most recent call last):
File “NN-Backprop.py”, line 48, in
java.lang.IndexOutOfBoundsException: java.lang.IndexOutOfBoundsException: Index 8 out-of-bounds for length 8 `
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
@timuster and @sw-yx I’ve updated the readme, let me know if you have more to add.
If I’m following correctly you’re saying the
INPUT_LAYER
andOUTPUT_LAYER
settings have to be changed for the data sets and that’s not clear in the readme? If so feel free to open a PR. An alternative might be to updatebase.py
in order specify these settings in one place, similar to howDS_NAME
is set there. In fact all those layer settings should probably be inbase.py
…