Kernel SVM (ML_CN_4)
This functionality uses a kernel function to map the input data to a higher-dimensional space, where a linear decision boundary is created based on the support vectors.
Kernel SVM works by finding a line or a hyperplane that separates the data into different classes. However, in cases where the data is not linearly separable, a kernel function is used to transform the data into a higher-dimensional space where it becomes separable.
Kernel SVM is a powerful algorithm that can handle complex and nonlinear data. It is widely used in image recognition, natural language processing, and other fields where the data is not easily separable in a linear fashion.
Sample Request
Build a Kernel SVM model named, "ClassicModel"
Building a Kernel SVM model
Kernel SVM
POST
https://autogon.ai/api/v1/engine/start
Request Body
Name | Type | Description |
---|---|---|
project_id* | int | The |
block_id* | int | The |
function_code* | string | The function code for current block |
parent_id* | int | The |
args* | object | Block arguments |
model_name* | String | Name of the model to be used for prediction. |
kernel | String | Specifies the kernel type to be used in the algorithm (defaults to "rbf"). |
random_state | int | Controls the randomness of the estimator (defaults to 0). |
Sample Request
Make predictions with the pre-built model passing an optional test data.
Predicting with Kernel SVM
Kernel SVM Predict
POST
https://autogon.ai/api/v1/engine/start
Request Body
Name | Type | Description |
---|---|---|
model_name* | String | Name of previously trained model to be used for prediction |
test_data | String | Input data for prediction. Defaults to |
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 |
Sample Request
Evaluate model metrics
Kernel SVM Metrics
POST
https://autogon.ai/api/v1/engine/start
Request Body
Name | Type | Description |
---|---|---|
project_id* | int | ID of the current project |
parent_id* | int | ID of the previous block |
block_id* | int | ID of the current block |
function_code* | String | Function code for the current block |
model_name* | String | Name of the pre-trained model to be used for evaluation |
Last updated