AutoML

Zia AutoML enables you to train models and analyze a set of training data to predict the outcome of a subset of that data. You can build and train Binary Classification, Multi-Class Classification, and Regression Models, and obtain insightful evaluation reports.

You can learn more from the AutoML help page.

Refer to the API documentation for the request and response formats.

The predictData function is used to pass inputs for a model's columns and values to test it, by providing the model ID of the model. It returns the prediction of the values of a target column.

Ensure the following packages are imported:

Copiedimport org.json.simple.JSONObject;
import com.zc.component.ml.ZCAutomlPredictionData;
CopiedJSONObject obj = new JSONObject();
obj.put("column1", "value1");
obj.put("column2", "value2");
obj.put("column3", "value3");​
​​
​ZCAutomlPredictionData data = ZCML.getInstance().predictData({modelId}, obj);

//For Binary-class and Multi-class Classification models
JSONObject classificationResult = data.getClassificationResultData();

//For Regression models
Object regressionResult = data.getRegressionResultData();