Inference

The inference endpoint is used for making predictions using a pretrained model on data provided by the user.

Method
POST
Endpoint
/v1/aion/inference/
Request Parameters
data_file Mandatory The CSV file containing the data for prediction. This file should be uploaded by the user and is described as "Upload CSV file for prediction".
data_model Mandatory The pretrained model file. This file should be uploaded by the user and is described as "Upload pre trained model file for prediction".
Response Parameters
If the inference is successful, the API returns a JSON response containing the predictions.
  • predictions (array): An array of prediction results. Each prediction contains the original data columns and the predicted value.

In case of an error, the response will contain an error message and a status code indicating the nature of the issue.