Flow
sklearn.linear_model._ridge.RidgeClassifierCV

sklearn.linear_model._ridge.RidgeClassifierCV

Visibility: public Uploaded 05-04-2023 by Takeaki Sakabe sklearn==1.2.2 numpy>=1.17.3 scipy>=1.3.2 joblib>=1.1.1 threadpoolctl>=2.0.0 0 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_1.2.2
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
Ridge classifier with built-in cross-validation. See glossary entry for :term:`cross-validation estimator`. By default, it performs Leave-One-Out Cross-Validation. Currently, only the n_features > n_samples case is handled efficiently.

Parameters

alphasArray of alpha values to try Regularization strength; must be a positive float. Regularization improves the conditioning of the problem and reduces the variance of the estimates. Larger values specify stronger regularization Alpha corresponds to ``1 / (2C)`` in other linear models such as :class:`~sklearn.linear_model.LogisticRegression` or :class:`~sklearn.svm.LinearSVC`default: [0.1, 1.0, 10.0]
class_weightWeights associated with classes in the form ``{class_label: weight}`` If not given, all classes are supposed to have weight one The "balanced" mode uses the values of y to automatically adjust weights inversely proportional to class frequencies in the input data as ``n_samples / (n_classes * np.bincount(y))``default: null
cvDetermines the cross-validation splitting strategy Possible inputs for cv are: - None, to use the efficient Leave-One-Out cross-validation - integer, to specify the number of folds - :term:`CV splitter`, - An iterable yielding (train, test) splits as arrays of indices Refer :ref:`User Guide ` for the various cross-validation strategies that can be used heredefault: null
fit_interceptWhether to calculate the intercept for this model. If set to false, no intercept will be used in calculations (i.e. data is expected to be centered)default: true
scoringA string (see model evaluation documentation) or a scorer callable object / function with signature ``scorer(estimator, X, y)``default: null
store_cv_valuesFlag indicating if the cross-validation values corresponding to each alpha should be stored in the ``cv_values_`` attribute (see below). This flag is only compatible with ``cv=None`` (i.e. using Leave-One-Out Cross-Validation).default: false

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table