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 Yggdrasil Decision Forests Models compatible with Colab and Tensorflow Serving.
Machine learning models trained with Simple ML for sheets are stored in the simple_ml_for_sheets directory in Google Drive. The models are Yggdrasil Decision Forests models. Yggdrasil Decision Forests is a production-quality ML library developed by Google for training, inference, evaluation and research on Decision Forests models. The models can be run in Python, C++, Go, TensorFlow or JavaScript / WebAssembly. See its comprehensive documentation for more details.
Use this task as follows:
Select the “Export a model” task.
Select a previously trained model.
Click on “Export”
After a few seconds, the code to use your model will show up in a new window, ready to be used.
Copy this code in a Colab.