Skip to content

ds2ai.MarketModel

class MarketModel(object)

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

predict()

Predicts using the current model with an input data

predict(data, return_type="info")
  • Parmeters:
    • 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