tw.endpoints.forecast
class tw.endpoints.forecast
Low-level HTTP client for the ``/forecast`` API section. Each method maps directly to one API endpoint.
Methods
forecast.build_model() | Submit a model-building job |
forecast.predict() | Submit a prediction job. |
forecast.rca() | Submit a root-cause analysis job. |
forecast.status() | Retrieve the current status of a job. |
forecast.results() | Retrieve forecast results for a finished prediction job. |
forecast.model() | Retrieve the trained model for a finished build-model job. |
forecast.rca_table() | Retrieve the root-cause analysis table for a finished RCA job. |
forecast.delete() | Delete a job and its associated resources. |
Example Usage
import tangent_works
tw = tangent_works.API(
server = "https://api.tangent.works/",
token = TANGENT_LICENSE_TOKEN
)
tw_endpoints_forecast = tw.endpoints.forecast