Configure an mlmodel Detector or Classifier