models/train_classifier.py
def save_model(model, model_filepath):
    """The save_model function save the model

    Args:
        model (model): the model to save
        model_filepath (filepath): filepath where to save the modeld

    Returns: None
            print out: Done saving model!

    """
    # # Save the model
    joblib.dump(model, f"{model_filepath}")

    print("Done saving model!")
The save_model function save the model

    Args:
        model (model): the model to save
        model_filepath (filepath): filepath where to save the modeld

    Returns: None
            print out: Done saving model!

    
The save_model function save the model
The save_model function save the model
def save_model(model, model_filepath):
    joblib.dump(model, f"{model_filepath}")
    print("Done saving model!")
def save_model ( model , model_filepath ) : joblib . dump ( model , f"{model_filepath}" ) print ( "Done saving model!" )
The save_model function save the model
The save_model function save the model
"""The save_model function save the model

    Args:
        model (model): the model to save
        model_filepath (filepath): filepath where to save the modeld

    Returns: None
            print out: Done saving model!

    """ # # Save the model
model
the model to save
the model to save
model_filepath
filepath where to save the modeld
filepath where to save the modeld