2013-02-18 11:22:16 -0600 | received badge | ● Student (source) |
2013-02-18 04:32:06 -0600 | asked a question | How to update Bayes NormalClassifier? Hello, i am trying to use CvNormalBayesClassifier from OpenCV. But i'm unable to update a model I already trained. Here is my code to train the model initially: So, this works without error and a model is saved. But when I try to load this model and update it, I get an error. I'm using this code: This is the error I get: I tried to put in all instances I originally used and just add one row with the new instance. This works somehow, but takes the same long time that is needed to train a complete new model. Which is really long... What am I doing wrong? How to do it right? If no-one can help me with this: Does anyone know a C++ implementation of naive bayes with a load/save feature, an update feature and the probability of the predicted class given back? |