Reference Documentation¶
Auto-generated documentation will go here.
ml_verbs
¶
Interfaces, or 'verbs', for machine learning.
IInvertable
¶
Bases: Protocol[TInvertOut]
I am invertable.
Source code in src/ml_verbs/protocols/generic.py
30 31 32 33 34 35 36 |
|
invert() -> TInvertOut
abstractmethod
¶
Return the inverse of this object.
Source code in src/ml_verbs/protocols/generic.py
34 35 36 |
|
IPredict
¶
Bases: Protocol[TDataIn, TDataOut]
I predict something based on data.
Source code in src/ml_verbs/protocols/xy.py
10 11 12 13 14 15 16 |
|
predict(data: TDataIn) -> TDataOut
abstractmethod
¶
Predict an output based on the data.
Source code in src/ml_verbs/protocols/xy.py
14 15 16 |
|
IPredictCategorical
¶
Bases: IPredict[TDataIn, TDataOut]
, Protocol[TDataIn, TDataOut]
I predict categorical values based on data.
Source code in src/ml_verbs/protocols/xy.py
19 20 21 22 23 24 25 26 27 28 29 |
|
predict(data: TDataIn) -> TDataOut
¶
Predict a category based on the data.
Source code in src/ml_verbs/protocols/xy.py
27 28 29 |
|
predict_categorical(data: TDataIn) -> TDataOut
abstractmethod
¶
Predict a category based on the data.
Source code in src/ml_verbs/protocols/xy.py
23 24 25 |
|
IPredictContinuous
¶
Bases: IPredict[TDataIn, TDataOut]
, Protocol[TDataIn, TDataOut]
I predict continuous values based on data.
Source code in src/ml_verbs/protocols/xy.py
32 33 34 35 36 37 38 39 40 41 42 |
|
predict(data: TDataIn) -> TDataOut
¶
Predict a continuous value based on the data.
Source code in src/ml_verbs/protocols/xy.py
40 41 42 |
|
predict_continuous(data: TDataIn) -> TDataOut
abstractmethod
¶
Predict a continuous value based on the data.
Source code in src/ml_verbs/protocols/xy.py
36 37 38 |
|
ITrain
¶
Bases: Protocol[TDataIn, TTrainOut]
I train something based on data given to me.
Source code in src/ml_verbs/protocols/generic.py
21 22 23 24 25 26 27 |
|
train(data: TDataIn) -> TTrainOut
abstractmethod
¶
Train something based on the input data.
Source code in src/ml_verbs/protocols/generic.py
25 26 27 |
|
ITransform
¶
Bases: Protocol[TDataIn, TDataOut]
I transform data into some other data.
Source code in src/ml_verbs/protocols/generic.py
12 13 14 15 16 17 18 |
|
transform(data: TDataIn) -> TDataOut
abstractmethod
¶
Tranform input data into output data.
Source code in src/ml_verbs/protocols/generic.py
16 17 18 |
|