General AutoDL Blocks (A_DL_ALL)

This function loads and uses pre-trained AutoDL models to perform actions such as model evaluation and value prediction.

After training auto models, you'd have to use them of course. Blocks in this category are the right tools for the job. They are compatible with all AutoDL models, thanks to our dynamic approach to handling them

Evaluating an Automated Deep Learning Model

{
    "project_id": 1,
    "parent_id": 8,
    "block_id": 9,
    "function_code": "A_DL_ALL_E",
    "args": {
        "hyp_params": {
            "batch_size": 32
        }
    }
}

Parameter Details

AutoDL Evaluating

POST

Request Body

NameTypeDescription

project_id*

int

The id of the current project

parent_id*

int

The id of the previous block

block_id*

int

The id of the current block

function_code*

String

Function code for the current block

args*

object

Block arguments

hyp_params*

object

hyper parameters for model evaluation

batch_size

int

Number of samples that are processed by the model during evaluation

{
    "status": "true",
    "message": {
        "id": 9,
        "project": 1,
        "block_id": 9,
        "parent_id": 8,
        "dataset_url": "",
        "x_value_url": "",
        "y_value_url": "",
        "x_train_url": "",
        "y_train_url": "",
        "x_test_url": "",
        "y_test_url": "",
        "output": {}
    }
}

Predicting with an Automated Deep Learning Model

{
    "project_id": 1,
    "parent_id": 8,
    "block_id": 9,
    "function_code": "A_DL_ALL_P",
    "args": {
        "test_data": ""
    }
}

Parameter Details

AutoDL Predict

POST https://autogon.ai/api/v1/engine/start

Request Body

NameTypeDescription

test_data*

String

Input data for prediction Defaults to x_test_url

project_id*

int

ID of the current project

block_id*

int

ID of the current block

parent_id*

int

ID of the previous block

function_code*

String

Function code for the current block

args*

object

Block arguments

add_dim

bool

Sets whether an extra dimension should be added to x data

{
    "status": "true",
    "message": {
        "id": 9,
        "project": 1,
        "block_id": 9,
        "parent_id": 8,
        "dataset_url": "",
        "x_value_url": "",
        "y_value_url": "",
        "x_train_url": "",
        "y_train_url": "",
        "x_test_url": "",
        "y_test_url": "",
        "output": {}
    }
}

// Some code

Last updated