문제

I am working with VLFeat and I have code that trains a linear SVM on my dataset. I would like to save the SVM to a file somehow so that I can load it up later and test it on several other datasets. What is the best way to do this?

edit: I am using the C++ API. Is it enough to save the model by using vl_svm_get_model? Would a simple serialization of the bytes of the svm struct work?

도움이 되었습니까?

해결책

I am not using this approach however it should be sufficient to save the model and bias terms to a file for later testing

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top