Saving and Loading Models

Save and load models for your Recsplain system.

Save

Use the save_model method to save the model to your computer.

Here is an example of how to call the save_model method.

import recsplain as rx

model_name = "your-model-name"

rx.save_model(model_name)

It returns the saved model in JSON format.

Load

Use the load_model method to load a model to your system.

Here is an example of how to call the load_model method.

import recsplain as rx

model_name = "your-model-name"

rx.load_model(model_name)