Helpers
siapy.features.helpers
¶
FeatureSelectorConfig
¶
Bases: BaseModel
model_config
class-attribute
instance-attribute
¶
model_config = ConfigDict(arbitrary_types_allowed=True, validate_assignment=True)
feature_selector_factory
¶
feature_selector_factory(problem_type: Literal['regression', 'classification'], *, k_features: int | str | tuple[int, ...] = (1, 20), cv: int = 3, forward: bool = True, floating: bool = True, verbose: int = 2, n_jobs: int = 1, pre_dispatch: int | str = '2*n_jobs', config: FeatureSelectorConfig | None = None) -> Pipeline
PARAMETER | DESCRIPTION |
---|---|
problem_type |
TYPE:
|
k_features |
|
cv |
TYPE:
|
forward |
TYPE:
|
floating |
TYPE:
|
verbose |
TYPE:
|
n_jobs |
TYPE:
|
pre_dispatch |
|
config |
TYPE:
|
Source code in siapy/features/helpers.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
|