Package com.dataiku.scoring
Interface Model<T>
- All Known Subinterfaces:
ClassificationModel,RegressionModel
public interface Model<T>
-
Method Summary
Modifier and TypeMethodDescriptionPrepare anObservation.Builder, that is aware of the normalization and coercion necessary for this Model.Tentatively performs a prediction
-
Method Details
-
predict
Tentatively performs a prediction- Parameters:
o- theObservationto score- Returns:
- a
Tryfor the prediction result, with either the prediction or an error message detailing why the prediction could not be computed
-
observationBuilder
Observation.Builder observationBuilder()Prepare anObservation.Builder, that is aware of the normalization and coercion necessary for this Model.
-