docs.validmind.ai/training
Click to start
“As a developer who is new to ValidMind, I want to learn how to generate model documentation, add my own tests, edit the content, and then submit my documentation for approval.”
First, let’s make sure you can log in to ValidMind.
Training is interactive — you explore ValidMind live. Try it!
→ , ↓ , SPACE , N — next slide ← , ↑ , P , H — previous slide ? — all keyboard shortcuts
To try out this course, you need to have been onboarded onto ValidMind Academy with the Developer role.
Log in to check your access:
Be sure to return to this page afterwards.
This introductory notebook includes sample code and how-to information, all in one place.
This is the ValidMind Platform.
From here, you can:
To start the documentation process, you register a
new model in the model inventory or select one that
has already been registered.
Explore ValidMind live on the next page.
From Model Inventory:
[Quickstart] Customer Churn Model
Did you find the code snippet?
You will copy and paste a similar
snippet into your own notebook
later to upload documentation.
On JupyterHub: Run the cells in 1. Initializing the ValidMind Library.
Now that you have generated documentation, edit it on ValidMind to add text or test-driven content blocks.
(Scroll down for the full instructions.)
Try it live on the next page.
Content blocks provide sections that are part of your model documentation — you can always add more, as required, and fill them with text or test results.
Select a model or find your model by applying a filter or searching for it.
In the left sidebar that appears for your model, click Documentation.
Navigate to the 2.3. Correlations and Interactions section.
Hover the cursor after the Pearson Correlation Matrix content block until a horizontal dashed line with a button appears that indicates you can insert a new block:
Click and then select Test-Driven Block:
HighPearsonCorrelation
.HighPearsonCorrelation:balanced_raw_dataset
as the test.A preview of the test gets shown:
Click Insert 1 Test Result to Document.
After you have completed these steps, the new content block becomes a part of your model documentation. You will now see two individual results for the high-correlation test in the 2.3. Correlations and Interactions section of the documentation.
To finalize the documentation, you can also edit the description of the test result to explain the changes made to the raw data and the reasons behind them. For example:
Have a question? Collaborate with other developers or with your validator right in the model documentation.
Try it live on the next page.
While working with content blocks in documentation, you can comment directly on specific portions of the text.
All users associated with a model, such as model developers and model validators, will see a notification that a comment has been posted in their Recent Activity feed, accessible via the Dashboard.
In any section of the model documentation, select the portion of text you want to comment on, then click the button that appears.
Enter your comment and click Comment.
You can view the comment by clicking the highlighted text. Comments will also appear in the right sidebar.
Click the highlighted text to view the comment thread.
Enter your comment and click Reply.
You can view the comment thread by clicking the highlighted text.
Click the highlighted text portion to view the thread, then click to resolve the thread.
To view the resolved comment thread, click the Comments archive button in the toolbar.
You can view a history of all archived comments in the Comment archive.
To reopen a comment thread, reply to the comment thread in the Comment archive or click the Reopen button that appears next to the highlighted text portion.
On JupyterHub: Run the cells in 3. Implementing custom tests.
On JupyterHub: Run the cells in 4. Finalize testing and documentation.
Track changes and updates made to model documentation over time.
(Scroll down for the full instructions.)
Try it live on the next page.
The Model Activity page shows a record of all activities, including actions performed by users in your organization and updates generated via the library such as:
To view model activity:
In the left sidebar, click Model Inventory.
Select a model or find your model by applying a filter or searching for it.
In the expanded sidebar that appears for your model, click Model Activity.
When you’re ready, verify the approval workflow, and then submit your model documentation for approval.
(Scroll down for the full instructions.)
Try it live on the next page.
Workflow states and transitions are configured by an administrator in advance, but you should verify that the expected people are included in the approval process.
Select a model or find your model by applying a filter or searching for it.
On the landing page of your model, locate the model status section:
While your lifecycle statuses and workflows are custom to your organization, some examples are:
To transition through the approval workflow, all required workflow steps must be completed. By default, a model must be in the
In Documentation state before you can submit it for validation.
Select a model or find your model by applying a filter or searching for it.
If an action is available to your role, you’ll see it listed under your model status on the model’s landing page.
While your lifecycle statuses and workflows are custom to your organization, some examples are:
There is more that ValidMind can do to help you create model documentation, from using your own template to code samples you can adapt for your own use case.
Or, find your next learning resource on ValidMind Academy.
ValidMind Academy | Home