dmlc / dmlc/xgboost

Can I view individual XGBRFRegressor tree predictions?

Open
#9,999 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

If I make an XGBRFRegressor model and fit it to train data, is there a way to view the tree predictors (number of trees = n_estimators) before they are bagged to output the regression prediction? It would be nice to have a histogram of predictions to analyze for each row of test data.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the XGBRFRegressor API and its fit workflow, then determine whether predictions from individual trees can be exposed for each test-data row. Done means the supported approach, or a clearly scoped API change, lets users inspect per-tree predictions and build the requested histogram.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.