Try it with Google Colaboratory
Learn how to document a model with ValidMind on Google Colaboratory.
Before you begin
Google Colaboratory (Colab) is a free Jupyter Notebook environment that runs in the cloud. You can work with, run, and download our sample Jupyter Notebooks from there.
About our Jupyter Notebooks
- Notebooks from ValidMind are safe to run — If you get a warning that this notebook was not authored by Google, we welcome you to inspect the notebook source.
- Runtime errors — We recommend that you not use the Run all option. Run each cell individually to see what is happening in the notebook. If you do see errors, re-run the notebook cells.
Steps
Open the QuickStart notebook in Google Colaboratory:
The notebook will guide you through installing the ValidMind Library, initializing the Python environment, and finally connecting the library to the ValidMind Platform.
Click File > Save a copy in Drive to make a copy of the QuickStart notebook so that you can modify it.
Alternatively, you can download the notebook source and work with it in your own developer environment.
Follow the instructions to run the first two code cells in the notebook, which will set the stage by installing and initializing ValidMind.1
Under the cell at bottom of the Initialize the ValidMind Library section, confirm that you see a success message that looks something like this:
2024-10-08 22:06:42,610 - INFO(validmind.api_client): 🎉 Connected to ValidMind! 📊 Model: [Demo] Customer Churn Model (ID: clwqy70qd01my22ikc49paar9) 📁 Document Type: model_documentation
This message verifies that the library works as expected as is connected to the correct model within the platform.
You can now continue running the rest of the cells if you want to see how the demo notebook works or, to save some time, you can move on to the Explore sample model documentation to explore the platform.
What’s next
Continue with Explore sample model documentation to learn more about using the ValidMind Platform hands-on.