This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
RandomForest not serializable #331
Comments
Okay, I think I was able to fix it. See the code below: `
} |
cesarsouza
added a commit
that referenced
this issue
Dec 28, 2016
Many thanks! |
Dear C?sar,
I just wanted to express my appreciation for all of the work you have done with Accord.net<http://Accord.net>. It has been a tremendous help in exploring data for so many of us! Thank you!
Chip Cody
(Robert B. Cody)
…Sent from my iPad
On Dec 28, 2016, at 5:44 AM, C?sar Souza <[email protected]<mailto:[email protected]>> wrote:
Many thanks!
-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#331 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AXIcPgmsa7Ru6fmPUlsAsaUhdzdxCJgKks5rMj2mgaJpZM4Kd5cr>.
|
Thanks a lot. Your appreciation indeed really means a lot to me (and I am sure to other contributors of the project as well!). Regards, |
Integrated in release 3.4.0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I just attempted to serialize my random forest like this:
Serializer.Save<RandomForest>(forest, fileName); // forest is the obj, fileName is the path
Throws a RT error that it is not marked as serializable. Then I tried this:
using (FileStream fs = new FileStream(fileName, FileMode.Create)) { new BinaryFormatter().Serialize(fs, forest); }
I checked the definition and apparently it is 'ParallelOptions' breaking this. Not sure how to fix this (yet).
The text was updated successfully, but these errors were encountered: