Auto Select with SymetryML
Last updated
Last updated
The auto-select build on top of the functionality and allows to automate finding the best model for a given task (binary classification or regression model). This functionality will try various combinations of input attributes on various types of models and select the best one automatically. Auto Select perform the following:
Using a heuristic - see - it will try various combination of the input attributes to build a model
When using a regression Task, there is also another parameter that controls the grid search size. Please see the table for details
It uses a provided out-of-sample datasets to compute a score for the model. Example of scoring are AUC or RMSE.
It repeats step (1) and (2) to build many models - possibly thousands - and then select the best model.
Depending on how many attributes your project has it can take anywhere a few seconds to several hours. Be sure to understand the section as well as the .
Allows to invoke the auto select functionality by specifying an external data source id as the out of sample data to use for model assessment.
Parameter
Required / Optional
Description
modelid
Required
ID to assign to the new model.
task
Required
Task to perform binary_classification
or regression
or multiclass_classifier
.
Parameter
Required / Optional
Type
Description
rnd_seed
Optional
Integer
Set the seed of the randomizer
selector_type
Optional
String
autoselect_grid_type
Optional
String
autoselect_thread_pool_size
Optional
Integer
Default is 8.
sml_model_assessment_type
Optional
String
Defaults are
auc
for binary classifier
rmse
for regression
mf1_w
for multi-class classifier, that is multi class F1 weighted scoring.
Possible value are:
classifier tasks
auc
recall
precision
mcc
Matthews correlation coefficient
regression tasks
rmse
r2
rmslogp1e
Root mean square of the sum of the log of the error
multi-class classifier tasks:
mf1_w
mkappa
, multi-class Kappa
|HTTP Status Code |HTTP Status Message |Description |202 | OK | Job accepted. |400 | BAD REQUEST | Unknown SymetryML project. {"statusCode":"BAD_REQUEST","statusString":" + Cannot Find SYMETRYML id[r2] for Customer id [c1]","values":{}}
This example uses:
regression task: ?task=regression
specify the heuristic: "selector_type":"selector_type_fw_bw"
specify the grid search: "autoselect_grid_type":"autoselect_grid_type_small"
Parameter
Required / Optional
Description
modelid
Required
ID to assign to the new model.
task
Required
Task to perform binary_classification
or regression
or multiclass_classifier
HTTP Status Code
HTTP Status Message
Description
202
OK
Job accepted.
400
BAD REQUEST
Unknown SymetryML project. {"statusCode":"BAD_REQUEST","statusString":" + Cannot Find SYMETRYML id[r2] for Customer id [c1]","values":{}}
This example uses:
regression task: ?task=regression
specify the heuristic: "selector_type":"selector_type_fw_bw"
specify the grid search: "autoselect_grid_type":"autoselect_grid_type_small"
Default is selector_type_fw_bw. Please see and sections for details.
Default is autoselect_grid_type_tiny. Please see for details.
Allows to invoke the auto select model functionality by using a passed in the request body.
Same as API. Please consult the for details.