Skip to content

Commit

Permalink
more-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Warmerdam authored and Vincent Warmerdam committed Dec 13, 2023
1 parent 945a2e3 commit a2ba7ba
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docs/user-guide/meta-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,8 @@ The goal of the [GroupedPredictor][grouped-predictor-api] is to allow us to spli

The image below demonstrates what will happen.

<p align="center">
<img src="../_static/meta-models/grouped-df.png" />
</p>
![grouped](../_static/meta-models/grouped-df.png)


We train 5 models in total because the model will also train a fallback automatically (you can turn this off via `use_fallback=False`).

Expand All @@ -124,9 +123,7 @@ We could go a step further and train a [DummyRegressor][dummy-regressor-api] per

The code below works similar as the previous example but one difference is that the grouped model does not receive a dataframe but a numpy array.

<p align="center">
<img src="../_static/meta-models/grouped-np.png" />
</p>
![dummy](../_static/meta-models/grouped-np.png)

Note that we're also grouping over more than one column here.
The code that does this is listed below.
Expand Down

0 comments on commit a2ba7ba

Please sign in to comment.