code: public void setModelDescriptor(ModelDescriptor modelDescriptor) {
          this.modelDescriptor = modelDescriptor;
  
          setModel(new File(modelDescriptor.getModelFilePath()));
  
          this.modelConfig.setProperty(CLASSIFIER_FORMAT, modelDescriptor.getFormat().toString());
      }
docs: Sets the {@link com.feedzai.fos.api.ModelDescriptor} of the model.
  
  @param modelDescriptor The {@link com.feedzai.fos.api.ModelDescriptor} of the model.