CRFECV#
- class tagarnina.crfe.CRFECV(estimator: BaseEstimator, *, min_features_to_select: int = 1, step: int | float = 1, cv: int | BaseCrossValidator | Iterable[tuple[NDArray, NDArray]] | None = None, constraints: Constraints | None = None, strategy: str = 'probing', solver_params: dict[str, Any] | None = None, scoring: str | Callable | None = None, importance_getter: str | Callable = 'auto', importance_params: dict[str, Any] | None = None, importance_offset: float = 0.001, verbose: int = 0)[source]#
Methods
__init__(estimator, *[, ...])fit(X, y, **fit_params)Fit the selector, choosing the number of features by cross-validation.
fit_transform(X[, y])Fit to data, then transform it.
get_feature_names_out([input_features])Mask feature names according to selected features.
get_metadata_routing()Get metadata routing of this object.
get_params([deep])Get parameters for this estimator.
get_support([indices])Get a mask, or integer index, of the features selected.
inverse_transform(X)Reverse the transformation operation.
set_output(*[, transform])Set output container.
set_params(**params)Set the parameters of this estimator.
transform(X)Reduce X to the selected features.
Attributes
solver_params_constraints