logistic_regression¶
- besca.tl.auto_annot.logistic_regression(train, y_train, njobs)[source]¶
multiclass crossvalidated logistic regression with balanced class weight. Requires ten nodes.
- 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.calibration.CalibratedClassifierCV