Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
93025bc
New documentation quickstart file
validbeck May 13, 2025
878e3ab
Making a copy of old notebook to reference
validbeck May 13, 2025
3bd5d10
Save point
validbeck May 13, 2025
d1fc376
wip
validbeck May 13, 2025
e917246
Edits
validbeck May 13, 2025
98edc81
Moving notebook
validbeck May 14, 2025
252aa09
Quickstart dir & link patch
validbeck May 14, 2025
a9ae24c
Editing
validbeck May 14, 2025
838b486
Edit
validbeck May 14, 2025
3c244d6
Edits
validbeck May 14, 2025
191b90a
README
validbeck May 14, 2025
b815772
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
10be37d
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
6e0be1c
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
fe01c6a
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
e29d24d
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
38329f4
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
cc07056
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
f64fa2a
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
e36c0a9
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
2afccb6
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
4140a35
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
9734152
Update notebooks/quickstart/quickstart_model_documentation.ipynb
validbeck May 16, 2025
d4c3cd1
Proofreading
validbeck May 16, 2025
be1453c
Merge remote into local
validbeck May 16, 2025
a3b47dc
More proofreading...
validbeck May 16, 2025
36da3ce
2.8.24
validbeck May 16, 2025
1fb0f0e
Resolving merge conflicts
validbeck May 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ Our [Jupyter Notebook](https://jupyter.org/) code samples are designed to showca

Sample notebooks are organized into the following folders:

* `notebooks/code_samples` — Showcase end-to-end functionality for documenting models
* `notebooks/how_to` — Learn how to use specific ValidMind features, e.g. how to list all test suites
* `notebooks/quickstart` — Quick guides to get you started with ValidMind
* `notebooks/tutorials` — Get step-by-step instructions and learn about ValidMind concepts in depth
* `notebooks/how_to` — Learn how to use specific ValidMind features, for example how to list all test suites
* `notebooks/code_samples` — Showcase end-to-end functionality for documenting or validating models
* `notebooks/code_sharing` — Share your own notebooks or document code internally

## Getting started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
"source": [
"Just so we can run all of the tests in the template, let's initialize the train and raw dataset.\n",
"\n",
"(see the `quickstart_customer_churn_full_suite.ipynb` notebook and the ValidMind docs for more information on what we are doing here)"
"(Refer to [**Quickstart for model documentation**](../../quickstart/quickstart_model_documentation.ipynb) and the ValidMind docs for more information on what we are doing here)"
]
},
{
Expand Down
567 changes: 0 additions & 567 deletions notebooks/code_samples/quickstart_customer_churn_full_suite.ipynb

This file was deleted.

840 changes: 840 additions & 0 deletions notebooks/quickstart/quickstart_model_documentation.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion notebooks/templates/next-steps.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"## Next steps\n",
"\n",
"You can look at the output produced by the ValidMind Library right in the notebook where you ran the code, as you would expect. But there is a better way: use the ValidMind Platform to work with your model documentation."
"You can look at the output produced by the ValidMind Library right in the notebook where you ran the code, as you would expect. But there is a better way use the ValidMind Platform to work with your model documentation."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"In our below example, note that: \n",
"\n",
"- The target column, `Exited` has a value of `1` when a customer has churned and `0` otherwise.\n",
"- The ValidMind Library provides a wrapper to automatically load the dataset as a Pandas DataFrame object."
"- The ValidMind Library provides a wrapper to automatically load the dataset as a [Pandas DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html) object. A Pandas Dataframe is a two-dimensional tabular data structure that makes use of rows and columns."
]
},
{
Expand Down Expand Up @@ -887,7 +887,7 @@
"\n",
"### Assign predictions\n",
"\n",
"Once the model has been registered you can assign model predictions to the training and test datasets.\n",
"Once the model has been registered you can assign model predictions to the training and testing datasets.\n",
"\n",
"- The [`assign_predictions()` method](https://docs.validmind.ai/validmind/validmind/vm_models.html#assign_predictions) from the `Dataset` object can link existing predictions to any number of models.\n",
"- This method links the model's class prediction values and probabilities to our `vm_train_ds` and `vm_test_ds` datasets.\n",
Expand Down Expand Up @@ -959,7 +959,7 @@
"\n",
"- [x] Import a sample dataset\n",
"- [x] Identify which tests you might want to run with ValidMind\n",
"- [x] Initialize ValidMind datasets\n",
"- [x] Initialize ValidMind datasets and model objects\n",
"- [x] Run individual tests\n",
"- [x] Utilize the output from tests you've run\n",
"- [x] Log test results from sets of or individual tests as evidence to the ValidMind Platform\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"In our below example, note that:\n",
"\n",
"- The target column, `Exited` has a value of `1` when a customer has churned and `0` otherwise.\n",
"- The ValidMind Library provides a wrapper to automatically load the dataset as a Pandas [DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html) object."
"- The ValidMind Library provides a wrapper to automatically load the dataset as a [Pandas DataFrame](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html) object. A Pandas Dataframe is a two-dimensional tabular data structure that makes use of rows and columns."
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions scripts/run_e2e_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Note: This script is meant to be run from the root of the repo

Notebooks Tested:
- notebooks/code_samples/quickstart_customer_churn_full_suite.ipynb
- notebooks/quickstart/quickstart_model_documentation.ipynb
- notebooks/code_samples/time_series/quickstart_time_series_full_suite.ipynb
- notebooks/code_samples/regression/quickstart_regression_full_suite.ipynb
- notebooks/code_samples/custom_tests/external_test_providers.ipynb
Expand Down Expand Up @@ -39,7 +39,7 @@
) # Demo Account Dev Customer Churn Model

NOTEBOOKS_TO_RUN = [
"notebooks/code_samples/quickstart_customer_churn_full_suite.ipynb",
"notebooks/quickstart/quickstart_model_documentation.ipynb",
"notebooks/code_samples/time_series/quickstart_time_series_high_code.ipynb",
"notebooks/code_samples/regression/quickstart_regression_full_suite.ipynb",
"notebooks/how_to/run_unit_metrics.ipynb",
Expand Down Expand Up @@ -71,7 +71,7 @@
},
{
# [Demo] Customer Churn Model
"path": "notebooks/code_samples/quickstart_customer_churn_full_suite.ipynb",
"path": "notebooks/quickstart/quickstart_model_documentation.ipynb",
"model": "cm4lr52lw00a60jpbhmzh8cah",
},
{
Expand Down