MicroMLP icon indicating copy to clipboard operation
MicroMLP copied to clipboard

list index out of range

Open tsevigny opened this issue 3 years ago • 1 comments

I get this error;

Traceback (most recent call last): File "main.py", line 19, in File "microMLP.py", line 771, in LearnExamples IndexError: list index out of range

when I run the example code, "Using MicroMLP to learn the XOr problem (with hyperbolic tangent)". The RandomFloat() seems to generate an idx that is out of range of the 4 examples supplied.

Not sure what I am doing wrong.

tsevigny avatar Mar 14 '21 05:03 tsevigny

same

Andre-cmd-rgb avatar Sep 27 '23 19:09 Andre-cmd-rgb