NextStateRequest Model
Used to request state predictions:Parameters
module_id(str) - The module identifier for predictionsrange(int) - Range parameter for prediction algorithmrecall(int) - Recall parameter for prediction algorithmn(int) - Number of predictions to returnstatus(str, optional) - Filter sequences by statuscurrent_state(int, optional) - Current state ESS IDprevious_state(list, optional) - List of previous state IDsstore_response(bool) - Whether to store the responsestore_sequence(bool) - Whether to store as a sequence
Prediction Methods
predictions()
Get predictions with states mapped back to embedding inputs:predictions_raw()
Get predictions with raw aggregate values (numeric state vectors):Response Models
NextStateResponse
Returned bypredictions() with mapped states:
NextStateResponseRaw
Returned bypredictions_raw() with raw state vectors:
Complete Example
Use Cases
- Predictive maintenance - Predict equipment failure states
- Behavior modeling - Model user or system behavior patterns
- State transitions - Understand likely state transitions
- Anomaly detection - Identify unexpected state sequences