jhlee-visionkalman / accord

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

Unable to serialize decision trees due to DecisionAttributeCollection not having [Serializable] flag #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I created an Id3Learning tree
2. After using id3Learning.Run() I attempted to serialize the tree.

What is the expected output? What do you see instead?
The program threw an exception stating that DecisionAttributeCollection is not 
serializeable.

What version of the product are you using? On what operating system?
4.0.30319 on Windows 7 64 bit

Please provide any additional information below.
I was able to fix the error by adding the [Serializeable] flag to the 
DecisionAttributeCollection class.

Original issue reported on code.google.com by mgw...@gmail.com on 5 Oct 2012 at 7:12

GoogleCodeExporter commented 9 years ago
Many thanks for reporting the bug and the solution! The fix will be available 
in the next release.

Original comment by cesarso...@gmail.com on 5 Oct 2012 at 7:20

GoogleCodeExporter commented 9 years ago
Fixed on Accord.NET 2.8.

Original comment by cesarso...@gmail.com on 6 Nov 2012 at 5:22