hpelm
hpelm copied to clipboard
Weird error when 'OP' argument is set
When calling ELM.train(data, labels, "CV", "OP", 'c', k=5) on the data and labels attached, I get the following error:
Traceback (most recent call last):
File "parameter_analysis_elm.py", line 81, in
I couldn't figure out how to solve it, unless by removing "OP" flag. The flag works for another data file, much smaller than this one.
I've encountered the same problem actually. I've issued a pull request which seems to have fixed that. The problem is due to the fact that in Python 3 the range function don't return a list but a range type.