Data
Prediction
Learn how to use JigsawStack’s Prediction API to forecast time series data
Overview
The Prediction API allows you to forecast time series data with minimal effort. Unlike traditional machine learning approaches that require model training and parameter tuning, our API automatically analyzes your data patterns and generates accurate predictions in seconds.
- No model training required
- Single API call for instant predictions
- Works with any time-based numerical data
- Automatically detects seasonality and trends
- Supports business forecasting, IoT analytics, and market analysis
- Ideal for resource planning and demand forecasting
API Endpoint
Quick Start
Javascript
Response
Data Requirements
For optimal prediction accuracy, follow these guidelines:
- Consistent intervals: Data points should follow a regular pattern (daily, hourly, etc.)
- Clean data: Remove outliers or abnormal values that could skew predictions
- Sufficient history: More historical data generally leads to better predictions
- Complete series: Avoid gaps in your time series when possible
Best Practices
- Start small and iterate: Begin with a small dataset to test your integration before scaling up
- Validate predictions: Compare API predictions with actual outcomes to calibrate expectations
- Combine with domain knowledge: Enhance predictions by incorporating business context and external factors
- Update regularly: Periodically refresh your models with new data to maintain accuracy
Limitations
- The prediction model works best with time series data that exhibits patterns or seasonality
- Extreme events or disruptions in patterns may reduce prediction accuracy
- Maximum forecast is limited to 500 steps ahead
Sample Dataset
A dataset must be an array of objects containing keys date
and value
.
For personalized assistance, contact our support team at support@jigsawstack.com.
Was this page helpful?