selectModel

PredictResource.selectModel(request, sub_analysis_id, model_no, **kwargs)

Prior mandatory steps 1) Upload dataset 2) Create analysis 3) Create sub analysis 4) DataSharp 5)iLearn

Select model to run advisor.

Arguments

sub_analysis_id Give sub analysis id
model_no Give model number from model list

Possible errors

Error message
Invalid sub analysis id
Invalid model_no
Please run ilearn first

POST Request Example

curl -u username:password -X POST {url_prefix}/select_model/{sub_analysis_id}/{model_no}/

Response Example

{
    "error": false,
    "error_msg": "",
    "result": {
        "success": "Model selected successfully",
    }
}

Error Response Example

{
    "error": true,
    "error_msg": "Please run ilearn first",
    "result": {
    }
}