rbf_svm

besca.tl.auto_annot.rbf_svm(train, y_train)[source]

fits radial basis function kernel svm on training dataset

Parameters:
  • train (pd.DataFrame) – adata_train.X but scaled and as a dataframe

  • y_train (pd.DataFrame) – one dimensional dataframe containing class label

Returns:

trained svm classifier

Return type:

sklearn.model_selection.GridSearchCV