View unanswered posts | View active topics
Forum rules
1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
scorelord
|
Post subject: Saving trained classifier Posted: Fri Feb 11, 2011 12:36 am |
|
Joined: Fri Feb 11, 2011 12:31 am Posts: 5
|
Hi, I really like Alglib and I enjoy using its many functions. One of the things I'm looking into is saving a trained classifier. I use the random forest classifier quite extensively. However, the one thing I do not like about it is the required training time which is much longer than the classification time in my application. I was wondering if it is possible to somehow save the trained classifier to disk so I could just load it straight into memory and start classifying. I'd appreciate any tips you could give me.
Thanks Mr. Bochkanov for your wonderful library....
|
|
Top |
|
|
Sergey.Bochkanov
|
Post subject: Re: Saving trained classifier Posted: Mon Feb 14, 2011 1:38 pm |
|
|
Site Admin |
Joined: Fri May 07, 2010 7:06 am Posts: 927
|
It can be problematic - as of 3.2, ALGLIB doesn't support serialization of complex data structures. Serialization was planned for a 3.3, but I suspect that it will wait for 3.4 at best.
|
|
Top |
|
|
efimovandr
|
Post subject: Re: Saving trained classifier Posted: Sun Feb 20, 2011 8:52 pm |
|
Joined: Sun Feb 20, 2011 8:12 pm Posts: 1
|
Hi. In my application I use the neural network from C# and I have to store a trained networks. I did a copy of the alglib mlpbase.multilayerperceptron (with litle changes). Then I marked all fields with xml serialization attributes. And now I can serialize my network and store it in the any type of storage. Before using this lib you should create a good adapter I think.
|
|
Top |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 13 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|