SPIDER The Spider Objects
ONE_VS_REST object A=ONE_VS_REST(C,H) returns an one_vs_rest object which trains algorithm C on sub problems of type class i versus all other classes, and is initialized with hyperparameters H. The classifiers are combined by outputting the class with the largest positive output (this assumes that classifiers output real values indicating confidence rather than just +1,-1) Model child=svm -- classifier to use for each sub-problem Methods: train, test, get_w Example: c1=[-1,1];c2=[1,1];c3=[0,-1];