Authorizations
Bearer token for authentication, obtained after signing up and generating an API key.
Body
- Option 1
- Option 2
A JSON string defining the training configuration.
Supported Systems:
["preprocessing"]- Applies skrub preprocessing,["text"]- Adds text embeddings for text columns.
Default: ["preprocessing", "text"].
Supported Config Parameters:
n_estimators(int, 1-10) - Number of ensemble estimators,softmax_temperature(float) - Temperature for softmax scaling,average_before_softmax(bool) - Average before softmax,ignore_pretraining_limits(bool) - Ignore pretraining limits,random_state(int) - Random seed for reproducibility.
Option 1: CSV file containing both features (X_train) and labels (y_train). Use this when you have all data in a single file.
Option 2:: CSV file containing only feature columns (X_train). Must be used together with labels_file.
Option 2: CSV file containing only the target/label column (y_train). Must be used together with features_file.
Response
Model fitted successfully — returns a model ID for later prediction calls.