Skip to main content
POST
/
api
/
models
/
factors
/
{model_id}
/
infer
Python
import os
from woodwide import WoodWide

client = WoodWide(
    api_key=os.environ.get("WOOD_WIDE_AI_API_KEY"),  # This is the default and can be omitted
)
response = client.api.models.factors.infer(
    model_id="model_id",
)
print(response.factors)
{
  "factors": [
    {
      "id": 123,
      "description": "<string>",
      "strength": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

model_id
string | null
required

Query Parameters

dataset_id
string | null
dataset_name
string | null
model_name
string | null

Body

application/x-www-form-urlencoded
coerce_schema
boolean
default:true

Response

Successful Response

Response for factors models. Contains human-interpretable factors that explain the data.

factors
Factor · object[]
required