Module Expr Str Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Import alias identifier Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad If CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num body Return AttributeLoad Call AttributeLoad NameLoad attr TupleLoad UnaryOpUSub NameLoad NameLoad attr orelse Return NameLoad decorator_list decorator_list
N/A N/A SVM

An interface for scikit-learn's C-Support Vector Classifier model.
 N/A logging N/A logger N/A N/A logging getLogger __name__ N/A numpy np N/A sklearn.svm libact.base.interfaces ContinuousModel SVM N/A ContinuousModel N/A N/A C-Support Vector Machine Classifier

    References
    ----------
    http://scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A self model N/A N/A N/A sklearn svm SVC args kwargs N/A train N/A N/A self dataset N/A args kwargs N/A N/A N/A N/A N/A self model fit N/A N/A N/A dataset format_sklearn args kwargs N/A predict N/A N/A self feature N/A args kwargs N/A N/A N/A N/A N/A self model predict feature args kwargs N/A score N/A N/A self testing_dataset N/A args kwargs N/A N/A N/A N/A N/A self model score N/A N/A N/A testing_dataset format_sklearn args kwargs N/A predict_real N/A N/A self feature N/A args kwargs N/A N/A N/A N/A N/A self model decision_function_shape ovr N/A N/A N/A N/A logger warn SVM model support only 'ovr' for predict_real. N/A dvalue N/A N/A N/A self model decision_function feature args kwargs N/A N/A N/A len N/A N/A np shape dvalue 1 N/A N/A N/A N/A N/A np vstack N/A N/A dvalue dvalue T N/A N/A dvalue N/A N/A