Predict
AI-generatedSummary
Predict outcomes using a previously trained scikit‑learn pipeline
Inputs
- pipelineData (required) — JSON string containing the trained pipeline (base64‑encoded pickle)
- predictFeatureColumns (required) — Comma‑separated list of feature column names to use for prediction
- pythonPath — Path to the Python executable that has scikit‑learn installed (default: 'python3')
Output shape
a list of result objects, each containing prediction results (e.g., 'prediction' and optionally 'probabilities' or transformed fields)
Each item may include 'prediction' (the predicted value); for classification models it may also include 'probabilities'; transformed data is returned as 'transformed_1', 'transformed_2', etc.
Examples
Example 1: Classify iris species
pipelineData = '
Example 2: Transform data with a pipeline
pipelineData = '
Example 3: Predict continuous target
pipelineData = '