Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OneClassSVM returns float in predict #8676
I am new contributor and I am trying to learn my way around the code.
I think I might have found the problem, in svm.cpp. Although the labels are 'int'
Does it seem that I am on the right track?
@mppaskov I don't think so. I think that we can just overide the predict function and change the type to int.
BaseSVC's predict function use the predict from BaseLibSVM, and BaseLibSVM is the only super class of OneClassSVM.