Skip to content

Commit 35f4b7d

Browse files
committed
docs: update NEWS for PR #87 — gg_variable RF classification fix
1 parent ea216ad commit 35f4b7d

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

NEWS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@ ggRandomForests v2.8.0 (development) — continued
3131

3232
ggRandomForests v2.8.0 (development)
3333
====================================
34+
* **`gg_variable.randomForest` classification fix (#87).**
35+
- `gg_variable.randomForest()` for classification forests now stores
36+
per-class OOB vote fractions as `yhat.<classname>` columns (from
37+
`object$votes`), matching the `rfsrc` path. Previously a single
38+
`yhat` factor column (class labels from `object$predicted`) was
39+
stored, which prevented the multi-class pivot in `plot.gg_variable`
40+
from firing. Vote fractions are row-normalised to `[0, 1]` even
41+
when the forest was fit with `norm.votes = FALSE`.
42+
- `plot.gg_variable` binary classification: `smooth = TRUE` now
43+
correctly maps x/y aesthetics onto the smooth layer.
44+
- `plot.gg_variable` multi-class numeric path: `smooth = TRUE` now
45+
adds a smooth layer (was silently skipped).
46+
- Closes stale issues #81 (fixed in PR #83) and #82.
3447
* **varPro partial dependence: `gg_partial_varpro()` (#84).**
3548
- `gg_partial_varpro()` replaces `gg_partialpro()` as the primary entry
3649
point for varPro partial dependence plots. The new extractor accepts

0 commit comments

Comments
 (0)