code: public void setModel(File model) {
          this.dirty = true;
          this.model = model;
  
          this.modelConfig.setProperty(MODEL_FILE, model.getAbsolutePath());
      }
docs: Sets the model file of the serialized classifier.
  
  @param model the model file