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
Fail to train a regression task? #75
Comments
Hi @gdragone1, I think the error message says it all.
Could you please tell us what the stack param file looks like ? Thanks |
Param file like this: GradientBoostingForestRegression rounding:3 estimators:1000 shrinkage:0.1 threads:1 offset:0.00001 max_depth:8 max_features:0.4 min_leaf:4.0 min_split:8.0 Objective:RMSE row_subsample:0.7 seed:1 verbose:false |
And this param file gives you the error you report ? That's pretty weird ! |
Sorry, I remembered it. I fix it already.
It's 'RandomForestClassifier' before. Thank you!
在 2019-03-02 19:10:43,"Olivier" <notifications@github.com> 写道:
And this param file gives you the error you report ?
That's pretty weird !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ok thanks :) Can you please mark as closed ? cheers |
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: exceptions.IllegalStateException: The last layer of StackNet cannot have a classifier
at ml.stacknet.StackNetRegressor.fit(StackNetRegressor.java:2532)
at stacknetrun.runstacknet.main(runstacknet.java:556)
... 5 more
The text was updated successfully, but these errors were encountered: