Actions20
- AI Scrape Actions
- Analyze Sentiment Actions
- Convert to SQL Actions
- Generate Embedding Actions
- HTML to Any Actions
- Image Generation Actions
- Make Prediction Actions
- NSFW Detection Actions
- Object Detection Actions
- Process Image Actions
- Profanity Detection Actions
- Search Web Actions
- Spam Detection Actions
- Speech to Text Actions
- Spell Check Actions
- Summary Actions
- Text to Speech Actions
- Translate Actions
- Translate Image Actions
- Web Suggestion Actions
Overview
The "Make Prediction" operation of the JigsawStack node allows users to generate future predictions based on a time series dataset. The input dataset consists of date and value pairs, representing historical data points. This operation is useful for forecasting trends, such as sales figures, stock prices, or any metric that changes over time.
Typical use cases include:
- Predicting future sales based on past daily sales data.
- Forecasting website traffic or user engagement metrics.
- Anticipating demand or inventory needs in supply chain management.
By providing a minimum of 5 and up to 1000 historical data points, users can request a specified number of future predictions (steps) to be generated by the underlying AI model.
Properties
Name | Meaning |
---|---|
Dataset | An array of objects each containing a date (string) and a value (number). Must have between 5 and 1000 data points. Example: [{"date": "2023-01-01", "value": 100}, {"date": "2023-01-02", "value": 120}] . |
Steps | Number of future predictions to generate. Must be between 1 and 500. |
Output
The node outputs JSON data containing the predicted values for the requested number of steps into the future. Each prediction corresponds to a future date with an associated predicted value.
If the node supports binary output, it is not indicated here; thus, the output is purely JSON-based prediction results.
Dependencies
- Requires an API key credential for authenticating requests to the JigsawStack API.
- The node sends requests to the base URL
https://api.jigsawstack.com/v1
. - Proper configuration of the API key credential within n8n is necessary for successful operation.
Troubleshooting
- Invalid Dataset Format: Ensure the dataset is a valid JSON array of objects with
date
andvalue
fields. Dates should be in a recognized string format. - Insufficient Data Points: The dataset must contain at least 5 data points. Providing fewer will likely cause errors.
- Exceeding Limits: The dataset cannot exceed 1000 data points, and the number of prediction steps cannot exceed 500.
- Authentication Errors: Verify that the API key credential is correctly set up and has the required permissions.
- API Request Failures: Network issues or incorrect API endpoint configurations may cause failures. Check connectivity and credentials.
Common error messages might indicate invalid input data, authentication failure, or exceeding allowed limits. Reviewing the input properties and credential setup usually resolves these issues.
Links and References
- JigsawStack API Documentation (hypothetical link for reference)
- n8n Documentation on Creating Custom Nodes