I'm training an SVM inside a for loop changing the features of my instances and I would like to plot the final objective value vs iteration. I'm using LIBSVM in Matlab but I don't find explicitly the final objective value in the returned model. How do I compute the final objective value with the returned model in each interation?
It's possible read the script printed by the svmtrain but I'd like to compute this value without this trick.
P.D. I have a basic knowledge of C++.