Skip to content

Commit

Permalink
Inclyde snippets test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro Gaglione committed Feb 15, 2024
1 parent 4bc03fc commit 221d028
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 1 addition & 3 deletions docs/tutorials/single.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ It is recommended to use MLflow's functionality in your training workflow, which
First, an environment must be created with the appropriate Python version and necessary packages/libraries (please see the [quickstart](../quickstart.html) page for guidance on setting one up).
We can then import the libraries necessary to train our model:
```python
from sklearn.model_selection import train_test_split
from sklearn.datasets import load_diabetes
from sklearn.ensemble import RandomForestRegressor
{% include ../_includes/includesnippet filename='../modelScripts/testfile.py' starttext='from sklearn.model_selection' endtext='import RandomForestRegressor' %}
```

We import MLflow and activate the _autolog_ feature:
Expand Down

0 comments on commit 221d028

Please sign in to comment.