MLModelDataclass contains supplementary data needed to make predictions with the model. For example, when using a classification model, you will need a list of class labels which correspond to the model's output probabilities. The
MLModelDataclass encapsulates all of the information needed to both load a model, and make predictions with it.
MLImageFeaturewhen creating an input feature for prediction:
MLAudioFeaturewhen creating an input feature for prediction: