turicreate.linear_regression.LinearRegression.save

LinearRegression.save(location)

Save the model. The model is saved as a directory which can then be loaded using the load_model() method.

Parameters:
location : string

Target destination for the model. Can be a local path or remote URL.

Examples

>>> model.save('my_model_file')
>>> loaded_model = turicreate.load_model('my_model_file')