Skip to content

Predict

inference ยท models

Use a pretrained model to predict new data.

Usage


The following are the step's expected inputs and outputs and their specific types.

Step signature
predict(
    ds: dataset,
    model: model[data]
) -> (predicted: column)

where the object {"param": value} is optional in most cases and if present may contain any of the parameters described in the corresponding section below.

Example

Example call (in recipe editor)
predict(ds, model) -> (data.predicted)

Inputs


ds: dataset

Contains the target column and the rest of the columns you wish to use in the model.


model: file:model[data]

File containing the model used to make the prediction.

Outputs


predicted: column

Column containing the model predictions.

Back to top