Closed JJ closed 8 years ago
This is one of those, "Well, it shouldn't be doing that..." bugs. Will look into it soon. Thank you for filing it!
Thanks!
2016-09-03 15:11 GMT+02:00 Randy Olson notifications@github.com:
This is one of those, "Well, it shouldn't be doing that..." bugs. Will look into it soon. Thank you for filing it!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rhiever/tpot/issues/259#issuecomment-244545591, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAB9P0UmSQMsH9RfUjwkooIwQVTH3e0ks5qmXIJgaJpZM4J0QEn .
JJ
I think this is the problem on line 180 of driver.py
:
input_data = np.recfromcsv(args.INPUT_FILE, delimiter=args.INPUT_SEPARATOR, dtype=np.float64)
And the fix
input_data = np.recfromcsv(args.INPUT_FILE, delimiter=args.INPUT_SEPARATOR, dtype=np.float64, case_sensitive=True)
Background: http://docs.scipy.org/doc/numpy/user/basics.io.genfromtxt.html#validating-names
I submitted a PR: https://github.com/rhiever/tpot/pull/264
:+1:
Should be fixed in the 0.6.3 release (just went out now).
:+1:
2016-09-13 18:48 GMT+02:00 Randy Olson notifications@github.com:
Closed #259 https://github.com/rhiever/tpot/issues/259.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rhiever/tpot/issues/259#event-787856469, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAB9M2ZInVKHQ0B6aW7B-0TGOyWkpwAks5qptP6gaJpZM4J0QEn .
JJ
I'm trying to run this on a regression problem:
The file
It returns this error:
Context of the issue
It works correctly if
real
misses its initial caps:However, the resulting Python file still refers to "class":
Process to reproduce the issue
I guess you can reproduce it from the command line by just naming your target with anything starting with a capital letter.
Expected result
Should be able to use the capital letter in target name
Current result
Is unable to use target names with capital letter.
Possible fix
Parameter processing? Really no idea. Not any good with python.