Using Saved Models for Predictions
How to use saved models for predictions: uploading new data, column mapping, manual prediction (entering values), model library, and downloading (pickle/ONNX/joblib).
Using Saved Models for Predictions
After training, you can use your saved model to predict on new data. This guide covers uploading data, column mapping, manual prediction, the model library, and exporting models.
Using Saved Models for Predictions
Once a model is trained and saved, you can:
- Upload new data and run batch predictions
- Enter values manually for single-row prediction
- Download the model for use in other systems
- Schedule retraining to keep the model up to date
Uploading New Data
Step 1: Go to Predict
- Open the ML or Models section in the sidebar.
- Find your saved model (by name or from the model library).
- Click Predict or Run Predictions.
Step 2: Upload Your File
- Upload a CSV or Excel file with the same (or compatible) columns as your training data.
- The file must have the feature columns the model expects.
- The target column is optional—if present, the platform can compute accuracy; if absent, it will only output predictions.
Step 3: Column Mapping
Column mapping aligns your uploaded columns with the columns the model was trained on.
| Your Column | Model Expects | Action |
|---|---|---|
| CustomerAge | Age | Map "CustomerAge" → "Age" |
| Rev | Revenue | Map "Rev" → "Revenue" |
| (no match) | Required feature | Add or rename column |
Step 4: Run Predictions
- Click Run or Predict.
- The platform generates predictions for each row.
- Results appear in a table or as a downloadable file.
Step 5: Download Results
- Download CSV – Predictions plus original columns
- Download JSON – Structured format for APIs
- View in grid – Review in the platform before exporting
Manual Prediction (Entering Values)
For quick checks or single predictions, you can enter values by hand instead of uploading a file.
How It Works
- Open Predict for your model.
- Choose Manual or Single Prediction.
- A form appears with one field per feature.
- Enter values and click Predict.
- The predicted class or number is shown.
Model Library
The model library stores all your saved models.
| Column | Description |
|---|---|
| Name | Model name you gave it |
| Algorithm | e.g., XGBoost, Random Forest |
| Target | What it predicts |
| Created | When it was saved |
| Metrics | Accuracy, F1, RMSE, etc. |
Actions
- Predict – Run predictions with this model
- Details – View metrics, feature importance, config
- Compare – Compare with other models
- Download – Export for deployment
- Delete – Remove from library
Downloading Models
You can export models in standard formats for use outside the platform.
Pickle (.pkl)
- Format: Python pickle
- Use with: Python scripts, Flask/FastAPI apps
- Contains: Full model object
pythonCopy0 pickle 1 open("model.pkl", "rb") 2 f: model = pickle.load(f) predictions = model.predict(Xnew)
Joblib (.joblib)
- Format: Scikit-learn–friendly serialization
- Use with: Python, especially scikit-learn models
- Often faster than pickle for large models
pythonCopy0 joblib model = joblib.load("model.joblib") predictions = model.predict(Xnew)
ONNX (.onnx)
- Format: Open Neural Network Exchange
- Use with: Multiple languages (Python, C#, Java, etc.) and runtimes
- Best for: Deployment across different systems
Quick Reference
| Task | Steps |
|---|---|
| Batch predictions | Predict → Upload file → Map columns → Run |
| Single prediction | Predict → Manual → Enter values → Run |
| Find a model | Model Library → Search or filter |
| Export for Python | Download → Pickle or Joblib |
| Export for deployment | Download → ONNX |
Related Articles
Machine Learning Overview: Workflow and Getting Started
A beginner-friendly recap of ML, classification vs regression vs clustering, the ML workflow (select, configure, train, evaluate, predict), and a 5-minute quick-start guide.
Model Explainability: LIME, SHAP, Feature Importance, and Metrics
What is model explainability, LIME and SHAP explained, feature importance charts, comparing models, and confusion matrix, ROC, and residual plots explained visually.
Was this helpful?