logistic_regression_elastic

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

multiclass crossvalidated logistic regression with balanced class weight. Requires ten nodes. Uses elastic regularisation. :param train: adata_train.X but scaled and as a dataframe :type train: pd.DataFrame :param y_train: one dimensional dataframe containing class label :type y_train: pd.DataFrame

Returns:

trained

Return type:

sklearn.calibration.CalibratedClassifierCV