class MarketModel(object)

This namespace represents a trained model in AI Market and can be used for making predictions directly with an input data.


Predicts using the current model with an input data.

predict(data, return_type="info")


  • data (dict, string, file) : Target for prediction, can take multiple formats.

  • return_type: (str) : "info" for information about the current operations with related fields, "xai" whether to get an image that marks the helpful regions in the prediction process.

Return type

  • None

Last updated