learningCurves

PreprocessResource.runLearningCurve(request, sub_analysis_id, **kwargs)

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

runLearningCurves is used to get the information if the data is sufficient or not. Also, the learning curves information for each sample. For more information, please read the dataSharp section.

Arguments

sub_analysis_id Give sub analysis id

Possible errors

Error message
Invalid sub analysis id

GET Request Example

curl -u username:password {url_prefix}/learning_curve/{sub_analysis_id}/

Response Example

{
    "error": false,
    "error_msg": "",
    "result": {
        "chart_data": [
            {
                "x": 10.0,
                "y1": 27.78,
                "y2": 49.19
            },
            {
                "x": 20.0,
                "y1": 28.93,
                "y2": 49.28
            },
            ...
        ],
        "learning_curve_recommendation": "Inconclusive"
    }
}