VeereshKulli / accord

Automatically exported from code.google.com/p/accord
0 stars 0 forks source link

DecisionStump not marked as serializable in assembly Accord.MachineLearning #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In file Stump.cs add the Serializable attribute as seen below:

    [Serializable]
    public class DecisionStump : IWeakClassifier

Saving and loading boosted decision stumps using binary streams then works.

Thanks,

James

Original issue reported on code.google.com by jtslacks...@gmail.com on 30 May 2014 at 12:36

GoogleCodeExporter commented 8 years ago
The boosting framework has been slightly altered; saving boosted classifiers 
based on decision stumps should now work. Available on 2.13.

Original comment by cesarso...@gmail.com on 19 Aug 2014 at 8:42