model
SupportsPredict
Bases: Protocol
Protocol describing an object that has a predict
method.
SciKitModel(estimator, *, output_names, name=None)
Bases: Model
A model that wraps a scikit-learn model.
Initialize the model.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
estimator
|
SupportsPredict
|
The scikit-learn estimator. |
required |
output_names
|
Iterable[str]
|
The names of the output columns. |
required |
name
|
str | None
|
The name of the model. |
None
|
Source code in src/flowcean/sklearn/model.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
|