dmlc / dmlc/xgboost

Optimization for Iterative Evaluation for XGBoost

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

Description

Hello,

I'm running an XGBoost experiment where I'm building a tree, and evaluating it after every tree I add. However, I'm noticing that prediction takes longer as I add more trees, which makes sense, given that the tree's getting larger. Is there any way I can be calling prediction on the dataset without having to recompute the predictions of trees that I've already computed predictions for? e.g. if I have n trees in the forest already, and I've already predicted with those n trees, and cached those predictions, is there a function I can write that takes in those cached predictions and the new booster object to return the predictions of the forest of n+1 trees?

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reading XGBoost's prediction and iterative-evaluation APIs, then determine whether cached predictions can be incorporated into a new-tree evaluation. Done would require a clearly scoped, supported approach and tests or documentation showing its behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.