-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with regression prediction? #11
Comments
Yes . I noticed that too. This is an bug - I will fix it. |
I'm not that experienced in java but is it that it's throwing a ClassCastException which isn't handled in ur try catches around line 775 |
That is right. I missed this case :/ . It is a small fix. I will update today. |
I also get this error but with classification of a (very) small test data set and with larger data sets:
I get this also when omitting the preds argument as well as when I remove the target from the test data and changing the test_target to false. This seems to be related to #5 . |
@molecularswords Ok I got. I will fix it in the next release. Thank you for letting me know. |
# "Likely printing pred2.csv has some size limitation!" Ran OK With the following commands: But failed with the following: Likely printing pred2.csv has some size limitation! **Updated on test datasize: 9.92GB failed at printing prediction and 8.85 passed at printing prediction **
|
Interesting . I have seen this error before, but I am not able to reproduce it. Do you have a small file that reproduces that? There is no such limitation of size . |
"prediction to has failed due to null" on the dataset test data with 2985217 and columns 246(size:12.81GB) were reproducible in my OSX and Ubuntu systems. Test data with 2985217 and columns 149 (size: 7.39GB) and other smaller data size(3-5 GB) have no such issue on both systems here. |
when I have the test_file specified in train task it works but when run predict separately with task=regression I get:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.ClassCastException: ml.stacknet.StackNetRegressor cannot be cast to ml.stacknet.StackNetClassifier
at stacknetrun.runstacknet.main(runstacknet.java:775)
... 5 more
The text was updated successfully, but these errors were encountered: