class monad.ui.config.OutputType
monad.ui.config.OutputTypeDefines the output format in which to save the predictions. The table below explains how different values affect prediction outputs.
| Task | OutputType.RAW_MODEL | OutputType.ENCODED | OutputType.DECODED | OutputType.SEMANTIC |
|---|---|---|---|---|
| Binary Classification | Raw model output | Raw model output | Recommended Sigmoid of the raw model output | Sigmoid of the raw model output |
| Multiclass Classification | Raw model output | Raw model output | Recommended Softmax of the raw outputs | Predicted class |
| Multi-label classification | Raw model output | Raw model output | Recommended Sigmoid of the raw outputs | Class names sorted by score |
| Regression | Raw model output | Transformed raw model output | Recommended Predicted value | Predicted value |
| Recommendations | Raw model output | Log softmax of raw model output | Internal BaseModel codes of entities | Recommended A ranked list of recommended feature values |
from monad.config.training_params import OutputType
OutputType.DECODED| Enum Members |
|---|
RAW_MODEL
Raw model output.
ENCODED
Encoded model output,
DECODED
Decoded model output
SEMANTIC
Semantic model output
