Export a model#

The Export a model task exports a model to be used outside of Google Sheets. Currently, models can only be exported as TensorFlow Saved Models compatible with Colab and Tensorflow Serving.

Note that your models are stored in the simple_ml_for_sheets directory in Google Drive, and that those models can be directly used with Yggdrasil Decision Forests. For example, the models can be run directly in C++, Go, or JavaScript (See YDF inference solutions for more details).

Use this task as follows:

  1. Select the “Export a model” task.

  2. Select a previously trained model.

  3. Click on “Export”

  4. After a few seconds, the code to use your model will show up in a new window, ready to be used.

  5. Copy this code in a Colab.