Generate documentation for your model
You are now ready to modify the QuickStart notebook you used earlier and run it to generate model documentation and test result with the ValidMind Developer Framework. The resulting artifacts are then uploaded to your model documentation in the ValidMind Platform UI.
Before you begin
Steps
In the left sidebar, go to the Getting Started section of your previously registered model:1
The page that opens provides you with a code snippet to use with the ValidMind Developer Framework, including:
api_host
: The location of the ValidMind APIapi_key
: The account API keyapi_secret
: The account secret keyproject
: The project identifier
This code snippet can be copied and pasted directly into your developer source code to integrate the developer framework and to be able to upload to the ValidMind Platform UI.
Locate the code snippet and click Copy snippet to clipboard.
Reopen the QuickStart notebook you accessed earlier (in JupyterHub, for example).
In the QuickStart notebook, replace the
vm.init()
lines that look like the following with your own client integration information from the earlier step when you registered your new model:Run each cell in the notebook:
- Hover over each cell and click the icon; OR
- Press
Shift + Enter
on Windows orCmd + Enter
if you are on a Mac
The notebook will install the ValidMind library and then connect to the ValidMind Platform UI.
What’s next
You can now switch back to the platform UI to view the documentation that has been generated by the developer framework.
Ready to learn more about how you can use ValidMind? Check out Next Steps.