catboost.save_model

catboost.save_model(model, 
                    model_path)

Purpose

Save the model to a file.

Note. Feature importance is not saved when using this function.

Arguments

ArgumentDescriptionDefault value
modelThe model to be saved.Required argument
model_path

The path to the resulting binary file with the model description.

Used for solving other machine learning problems (for instance, applying a model).

Required argument