Skip to content

Commit ab17ac0

Browse files
committed
docs: fix broken link, venv command, and add catalog.yml context in MLflow integration docs
Signed-off-by: AutoHmn13 <shmrck206@gmail.com>
1 parent d25c210 commit ab17ac0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/integrations-and-plugins/mlflow.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To set yourself up, create a new Kedro project:
2020
```
2121
$ kedro new --starter=spaceflights-pandas-viz --name spaceflights-mlflow
2222
$ cd spaceflights-mlflow
23-
$ python -m venv && source .venv/bin/activate
23+
$ python -m venv .venv && source .venv/bin/activate
2424
(.venv) $ pip install -r requirements.txt
2525
```
2626

@@ -128,7 +128,7 @@ and you would be able to preview it in the MLflow web UI:
128128
it's probably because you had already executed `kedro run` while the dataset was marked as `versioned: true`.
129129
The solution is to clean up the old `data/08_reporting/dummy_confusion_matrix.png` directory.
130130

131-
Check out {external+kedro-mlflow:doc}`the official kedro-mlflow documentation on versioning Kedro datasets <source/04_experimentation_tracking/03_version_datasets>`
131+
Check out [the official kedro-mlflow documentation on versioning Kedro datasets](https://kedro-mlflow.readthedocs.io/en/stable/source/03_experiment_tracking/01_experiment_tracking/03_version_datasets.html)
132132
for more information.
133133

134134
### Model registry in MLflow using `kedro-mlflow`
@@ -142,6 +142,8 @@ For example, if you have a dataset corresponding to a scikit-learn model,
142142
you can change it as follows:
143143

144144
```diff
145+
# conf/base/catalog.yml
146+
145147
regressor:
146148
- type: pickle.PickleDataset
147149
- filepath: data/06_models/regressor.pickle
@@ -158,6 +160,8 @@ If you also want to _register_ it
158160
you can add a `registered_model_name` parameter:
159161

160162
```yaml
163+
# conf/base/catalog.yml
164+
161165
regressor:
162166
type: kedro_mlflow.io.models.MlflowModelTrackingDataset
163167
flavor: mlflow.sklearn
@@ -173,6 +177,8 @@ To load a model from a specific run, you can specify the `run_id`.
173177
For that, you can make use of {ref}`runtime parameters <runtime-params>`:
174178

175179
```yaml
180+
# conf/base/catalog.yml
181+
176182
# Add the intermediate datasets to run the inference pipeline
177183
X_test:
178184
type: pandas.ParquetDataset

0 commit comments

Comments
 (0)