|
2 | 2 | title: "Quickstart — Model Development"
|
3 | 3 | date: last-modified
|
4 | 4 | page-layout: full
|
| 5 | +listing: |
| 6 | + - id: whats-next |
| 7 | + type: grid |
| 8 | + grid-columns: 2 |
| 9 | + max-description-length: 250 |
| 10 | + sort: false |
| 11 | + fields: [title, description] |
| 12 | + contents: |
| 13 | + - ../../training/developer-fundamentals/developer-fundamentals-register.qmd |
| 14 | + - ../../developer/validmind-library.qmd |
| 15 | +aliases: |
| 16 | + - try-with-jupyterhub.html |
| 17 | + - try-with-colab.html |
| 18 | + - try-in-your-own-environment.html |
| 19 | + - ../platform/explore-sample-model-documentation.html |
| 20 | + - ../platform/register-your-first-model.html |
| 21 | + - ../platform/generate-documentation-for-your-model.html |
5 | 22 | ---
|
6 | 23 |
|
7 |
| -Register your first model, use the {{< var validmind.developer >}} to document a model and run tests, and edit your generated model documentation using the {{< var validmind.platform >}}. |
| 24 | +Register your first model, use the {{< var validmind.developer >}} to run tests and document a model, then review your generated model documentation within the {{< var validmind.platform >}}. |
8 | 25 |
|
9 |
| -<!-- THIS IS THE OLD INFO AS A PLACEHOLDER, NEW INFO TO COME --> |
| 26 | +{{< include /get-started/common-assets/_before-you-begin.qmd >}} |
10 | 27 |
|
11 |
| -::: {.attn} |
| 28 | +## Register your first model |
12 | 29 |
|
13 |
| -## {{< fa star-of-life >}} Before you begin |
| 30 | +The first step to using {{< var vm.product >}} to develop models is to register them in your model inventory: |
14 | 31 |
|
15 |
| -To try out {{< var vm.product >}}, you need to be a registered user on the {{< var validmind.platform >}}. |
| 32 | +{{< include /get-started/common-assets/_register-your-first-model.qmd >}} |
16 | 33 |
|
17 |
| -::: {.callout} |
18 |
| -## Need an account for {{< var vm.product >}}? |
19 |
| -Signing up is FREE — {{< var link.register >}} |
| 34 | +::: {.column-margin} |
| 35 | +{width=90% fig-alt="A screenshot showing the registration modal with the options filled out for the model development quickstart" .screenshot} |
20 | 36 | :::
|
21 | 37 |
|
| 38 | +{{< include /get-started/common-assets/_get-your-code-snippet.qmd >}} |
| 39 | + |
| 40 | +::: {.column-margin} |
| 41 | +{width=90% fig-alt="A screenshot showing the Getting Started page with a sample code snippet" .screenshot} |
22 | 42 | :::
|
23 | 43 |
|
24 |
| -## Steps |
| 44 | +## Using the {{< var validmind.developer >}} |
| 45 | + |
| 46 | +Next, let's set up the {{< var validmind.developer >}} in your developer environment of choice so we can use it to run and log tests, which will help automate the documentation of your models. |
| 47 | + |
| 48 | +Our companion notebook, **Quickstart for model documentation,**[^3] will walk you through the steps of installing the {{< var vm.developer >}} in your environment, initializing the {{< var vm.developer >}} for use, and running a full suite of documentation tests that will log the results to the {{< var validmind.platform >}}. |
| 49 | + |
| 50 | +{{< include /get-started/common-assets/_access-quickstart-notebook.qmd >}} |
| 51 | + |
| 52 | +<!-- NOT LIVE ON JUPYTERHUB YET, HASN'T BEEN UPDATED --> |
| 53 | +1. Open [Quickstart for model documentation]({{< var url.jupyterhub >}}/hub/user-redirect/lab/tree/quickstart/quickstart_model_documentation.ipynb) and [run the quickstart notebook](#run-the-quickstart-notebook). |
| 54 | + |
| 55 | +{{< include /get-started/common-assets/_download-notebooks.qmd >}} |
| 56 | + |
| 57 | +1. After the cloning process is complete, open `notebooks/quickstart/quickstart_model_documentation.ipynb` in your developer environment and [run the quickstart notebook](#run-the-quickstart-notebook). |
| 58 | + |
| 59 | +{{< include /get-started/common-assets/_download-code-samples.qmd >}} |
| 60 | + |
| 61 | +1. Open `notebooks/quickstart/quickstart_model_documentation.ipynb` in your developer environment and [run the quickstart notebook](#run-the-quickstart-notebook). |
| 62 | + |
| 63 | +{{< include /get-started/common-assets/_run-quickstart-notebook.qmd >}} |
| 64 | + |
| 65 | +::: {.column-margin} |
| 66 | +**Example success message:** |
| 67 | + |
| 68 | +```bash |
| 69 | +2024-10-08 22:06:42,610 - INFO(validmind.api_client): 🎉 Connected to {{< var vm.product >}}! |
| 70 | +📊 Model: [ValidMind] Model development quickstart (ID: cmalgf3qi02ce199qm3rdkl46) |
| 71 | +📁 Document Type: model_documentation |
| 72 | +``` |
| 73 | +::: |
| 74 | + |
| 75 | +3. Continue running the rest of the notebook to automatically populate test results for your sample model to your documentation for that model in the {{< var vm.platform >}}. |
| 76 | + |
| 77 | +## Work with model documentation |
25 | 78 |
|
26 |
| -1. In a web browser, open [Quickstart for model documentation]({{< var url.jupyterhub >}}/hub/user-redirect/lab/tree/quickstart/quickstart_model_documentation.ipynb). |
| 79 | +After you successfully run the notebook, return to the {{< var validmind.platform >}}: |
27 | 80 |
|
28 |
| - This link takes you to {{< var vm.product >}}'s JupyterHub instance where you can log in with the Auth0 credentials for your {{< var vm.product >}} account to access the **QuickStart for model documentation** notebook: |
| 81 | +1. In the left sidebar, click **{{< fa cubes >}} Inventory**. |
29 | 82 |
|
30 |
| - {width=90% fig-alt="A screenshot showing the QuickStart notebook opened in JupyterHub" .screenshot} |
| 83 | +2. Locate or search for the model you registered for this quickstart and click on it to select it.[^4] |
31 | 84 |
|
32 |
| - The notebook will guide you through installing the {{< var validmind.developer >}}, initializing the Python environment, and finally connecting the {{< var vm.developer >}} to the {{< var validmind.platform >}}. |
| 85 | +3. In the left sidebar that appears for the model, click **{{< fa book-open >}} Documentation**. |
33 | 86 |
|
34 |
| -2. Follow the instructions to run the first two code cells in the notebook, which will set the stage by installing and initializing {{< var vm.product >}}:[^1] |
| 87 | + - Your model's documentation is broken down into sections, defined by your documentation templates.[^5] |
| 88 | + - Each section can be assigned a completion status,[^6] allowing you to track the progress of your documentation. |
35 | 89 |
|
36 |
| - - Hover over each cell and click the {{< fa circle-play >}} **icon**; OR |
37 |
| - - Press `Shift + Enter` on Windows or `Cmd + Enter` if you are on a Mac |
38 |
| - |
39 |
| - Under the cell at bottom of the **Initialize the ValidMind Library** section, confirm that you see a success message that looks something like this: |
40 |
| - |
41 |
| - ```bash |
42 |
| - 2024-10-08 22:06:42,610 - INFO(validmind.api_client): 🎉 Connected to {{< var vm.product >}}! |
43 |
| - 📊 Model: [Demo] Customer Churn Model (ID: clwqy70qd01my22ikc49paar9) |
44 |
| - 📁 Document Type: model_documentation |
45 |
| - ``` |
46 |
| - |
47 |
| - This message verifies that the {{< var vm.developer >}} works as expected as is connected to the correct model within the {{< var vm.platform >}}. |
| 90 | +4. Click on any section of the documentation to review the test results and drafts of test result summaries generated by the {{< var validmind.developer >}}. |
48 | 91 |
|
49 |
| -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](/get-started/platform/explore-sample-model-documentation.qmd) to explore the {{< var vm.platform >}}. |
| 92 | + In any subsection, expand the **{{< var vm.product >}} Insights™** panel to view the Documentation Guidelines[^7] that tell you more about what these sections mean and help you with the task of documenting the model as a developer. |
50 | 93 |
|
51 |
| -#### Watch the tutorial |
| 94 | +:::: {.flex .flex-wrap .justify-around} |
52 | 95 |
|
53 |
| -Need more help? Experience this guide in video format: |
| 96 | +::: {.w-40-ns .tc} |
54 | 97 |
|
55 |
| -{{< video https://www.youtube.com/embed/rIR8Mql7eGs?si=vnZA_zP4tAjFjI4r title='ValidMind QuickStart' >}} |
| 98 | +{width=90% fig-alt="A screenshot showing an example model details page with documentation outline" .screenshot group="documentation"} |
| 99 | + |
| 100 | +::: |
| 101 | + |
| 102 | +::: {.w-40-ns .tc} |
| 103 | + |
| 104 | +{width=90% fig-alt="A screenshot showing populated model documentation section with the ValidMind Insights™ panel open" .screenshot group="documentation"} |
| 105 | + |
| 106 | +::: |
| 107 | + |
| 108 | +:::: |
56 | 109 |
|
57 |
| -<!--- TO DO Screenshot ---> |
58 | 110 |
|
59 | 111 | ## What's next
|
60 | 112 |
|
61 |
| -Continue with [Explore sample model documentation](/get-started/platform/explore-sample-model-documentation.qmd) to learn more about using the {{< var validmind.platform >}} hands-on. |
| 113 | +Now that you've grasped the basics of using {{< var vm.product >}} for model development, continue on your journey with our end-to-end training course for developers and browse through our resource hub for the {{< var validmind.developer >}}: |
| 114 | + |
| 115 | +:::{#whats-next} |
| 116 | +::: |
62 | 117 |
|
63 | 118 |
|
64 | 119 | <!-- FOOTNOTES -->
|
65 | 120 |
|
66 |
| -[^1]: [Install and initialize the {{< var validmind.developer >}}](/developer/model-documentation/install-and-initialize-validmind-library.qmd) |
| 121 | +[^1]: [Register with {{< var vm.product >}}](/guide/configuration/register-with-validmind.qmd) |
| 122 | + |
| 123 | +[^2]: [Log in to {{< var vm.product >}}](/guide/configuration/log-in-to-validmind.qmd) |
| 124 | + |
| 125 | +[^3]: [Quickstart for model documentation](/notebooks/quickstart/quickstart_model_documentation.ipynb) |
| 126 | + |
| 127 | +[^4]: [Working with the model inventory](/guide/model-inventory/working-with-model-inventory.qmd#search-filter-and-sort-models) |
| 128 | + |
| 129 | +[^5]: [Working with documentation templates](/guide/templates/working-with-documentation-templates.qmd) |
| 130 | + |
| 131 | +[^6]: [Assign documentation section statuses](/guide/model-documentation/assign-documentation-section-statuses.qmd) |
| 132 | + |
| 133 | +[^7]: [View documentation guidelines](/guide/model-documentation/view-documentation-guidelines.qmd) |
0 commit comments