rasa_nlu/classifiers/sklearn_intent_classifier.py
def persist(self, model_dir):
        # type: (Text) -> Optional[Dict[Text, Any]]
        """Persist this model into the passed directory."""

        classifier_file = os.path.join(model_dir, SKLEARN_MODEL_FILE_NAME)
        utils.pycloud_pickle(classifier_file, self)
        return {"classifier_file": SKLEARN_MODEL_FILE_NAME}
Persist this model into the passed directory.
Persist this model into the passed directory.
Persist this model into the passed directory .
def persist(self, model_dir):
        classifier_file = os.path.join(model_dir, SKLEARN_MODEL_FILE_NAME)
        utils.pycloud_pickle(classifier_file, self)
        return {"classifier_file": SKLEARN_MODEL_FILE_NAME}
def persist ( self , model_dir ) : classifier_file = os . path . join ( model_dir , SKLEARN_MODEL_FILE_NAME ) utils . pycloud_pickle ( classifier_file , self ) return { "classifier_file" : SKLEARN_MODEL_FILE_NAME }
Persist this model into the passed directory.
Persist this model into the passed directory .
# type: (Text) -> Optional[Dict[Text, Any]] """Persist this model into the passed directory."""
self
model_dir