AI Wiki中文/EN

LightGBM: bins, leaf budgets and selective computation

LightGBM

Compute histogram splits and leaf-wise growth, then examine GOSS weighting and exactly exclusive feature codes.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

Spend the next split where it helps most

A sensor has eight settings, numbered 0 through 7. At those settings, a correction target is 0, 1, 0, 1, 5, 5, 9, 9. A tree first separates the four low settings from the four high ones. With one split left in the budget, should it tidy up the small oscillation on the left or separate 5 from 9 on the right?

This is the decision behind leaf-wise growth: compare the available improvements across current leaves. LightGBM combines that growth strategy with histogram-based split search. Its 2017 paper introduces two further ways to reduce work: Gradient-based One-Side Sampling (GOSS) and Exclusive Feature Bundling (EFB). Original paper; LightGBM 4.6.0 features.

Our program builds one exact, small regression tree from caller-supplied bins, compares two growth schedules, and audits separate GOSS and EFB examples. It does not train the LightGBM library or a complete boosted ensemble. The corrections and second-order objectives that surround a tree are covered in gradient boosting and XGBoost.

Bins, leaves and sampling change different decisions

A histogram stores sufficient statistics for permitted cuts

Take increasing thresholds t0,…,tB−2t_0,\ldots,t_{B-2}. Assign a value x to the first bin whose upper threshold is at least x, or the last bin if none is. Equality goes into the bin on the left. For each bin b, accumulate its count, target sum and squared-target sum. The unnormalized squared error for a nonempty collection of bins is:

Nb=∑i: bin⁡(xi)=b1,Sb=∑i: bin⁡(xi)=byi,Qb=∑i: bin⁡(xi)=byi2,R=Q−S2N.N_b=\sum_{i:\,\operatorname{bin}(x_i)=b}1,\quad S_b=\sum_{i:\,\operatorname{bin}(x_i)=b}y_i,\quad Q_b=\sum_{i:\,\operatorname{bin}(x_i)=b}y_i^2,\qquad R=Q-\frac{S^2}{N}.

The minimizing constant prediction is S/N: expand the squared errors around that mean to verify the formula. Prefix sums then score every permitted boundary without rescanning its individual samples. In this chapter the targets are fixed corrections, the loss is full SSE, and there is no leaf-weight regularizer. Consequently the improvement from a split is:

Δ=SL2NL+SR2NR−(SL+SR)2NL+NR.\Delta=\frac{S_L^2}{N_L}+\frac{S_R^2}{N_R}-\frac{(S_L+S_R)^2}{N_L+N_R}.

Both children must meet min_leaf, and we require positive improvement. Empty bins are allowed; empty children are not. Our formulas are exact for the bin-restricted problem. A good threshold inside one bin is unavailable. That is an approximation to the candidate set, even when the arithmetic and histogram sums are exact.

Histograms also add over disjoint sample sets. After splitting a node, construct the smaller child’s histogram and subtract it from the parent to obtain the other child. This identity applies componentwise to counts, sums and squared sums. It requires the same bin definitions for parent and children. LightGBM uses this subtraction idea to save histogram construction work. Fixed-version features, histogram subtraction.

Growth order spends a leaf budget

Each split raises the number of leaves by one. A best-first schedule selects the current leaf with the largest permitted reduction. The comparison schedule in our code expands the shallowest eligible leaf first, breaking ties by creation order. This is a specified breadth-first control with a hard leaf cap; a cap can stop it partway through a level.

The right child in the sensor example offers reduction 16, while the left child’s best reduction is 1/3. Best-first spends its last split on the right. This does not prove that greedy growth always finds the globally best tree with a fixed number of leaves: the next available gain can conceal a valuable later split. A depth limit still matters when a best-first tree keeps expanding one branch. Fixed-version growth description.

GOSS corrects a sampled sum, not every nonlinear score

Fix the current gradients before sampling. Keep a chosen set A of large absolute gradients, let U be the remaining R samples, and select exactly r of U uniformly without replacement, with 1≤r≤R. Each low-gradient sample has inclusion probability r/R. For any fixed region J, the weighted estimator is:

G^J=∑i∈A∩Jgi+Rr∑i∈B∩Jgi,E[G^J∣g,A,J]=∑i∈Jgi.\widehat G_J=\sum_{i\in A\cap J}g_i+\frac{R}{r}\sum_{i\in B\cap J}g_i,\qquad \mathbb E[\widehat G_J\mid g,A,J]=\sum_{i\in J}g_i.

The equality follows by taking the expectation of each inclusion indicator. In the paper’s Algorithm 2 count convention, a=|A|/n and b=r/n, so the multiplier is (1−a)/b. If a different description defines its sampling fraction relative to the remaining pool, its reciprocal is the multiplier instead. Always specify the denominator. Original paper, Algorithm 2 and section 3.

This is a statement about a fixed sum. Squaring that estimate adds its variance:

E[G^J2]=GJ2+Var⁡(G^J).\mathbb E[\widehat G_J^2]=G_J^2+\operatorname{Var}(\widehat G_J).

Nonlinear gain formulas, estimated denominators and choosing the largest estimated gain need separate analysis. They are not made unbiased simply by an unbiased gradient sum. Our audit enumerates every low-pool subset to expose this distinction; it is not a fast sampling implementation.

EFB needs an unambiguous code

Suppose feature j has integer nonzero bins 1,…,cⱼ and zero means inactive. Define its offset as the sum of earlier capacities. If at most one feature is active in a row, encode it as:

oj=∑k<jck,z={0,all features inactive,oj+vj,only feature j active.o_j=\sum_{k<j}c_k,\qquad z=\begin{cases}0,&\text{all features inactive},\\o_j+v_j,&\text{only feature }j\text{ active}.\end{cases}

The nonzero intervals are disjoint, so z determines both the feature and its original bin. All other features in the row are zero. Bin statistics can therefore be recovered without pretending the packed code is an ordinary ordered feature. A cut across packed code values need not represent a cut in one original feature. The paper separates bundle construction from reconstruction of original feature histograms, and discusses allowing conflicts as an approximation. Our packer accepts only exact exclusivity and rejects a conflicting row. Paper, section 4.

Expose the work saved and the cuts lost

Inputs use integers or Fraction, excluding booleans and floats. fit requires nonempty matched data and strictly increasing cuts; an empty cut list is a valid one-bin problem. max_leaves is at least one, min_leaf at least one, and max_depth is either absent or a nonnegative integer. The root may contain fewer than min_leaf samples; the restriction applies to proposed children. Tied positive cut gains retain the lower bin boundary. Tied leaf gains retain the smaller node ID.

The model stores its actual nodes, training predictions and split events. Each event records the expanded node, depth, bin boundary, SSE reduction and number of samples used to build the smaller histogram. histogram_row_updates counts root construction and those smaller-child accumulations. It does not count partitioning, candidate scans or all runtime operations. The helpers assume the internal histograms supplied by fit; predict expects an unmodified fitted model.

from bisect import bisect_left
from fractions import Fraction as F
from itertools import combinations
from math import comb


def number(x):
    if type(x) not in (int, F):
        raise ValueError('use integers or Fraction values')
    return F(x)


def vector(xs, empty=False):
    if type(xs) not in (list, tuple) or (not xs and not empty):
        raise ValueError('expected a nonempty list or tuple')
    return tuple(number(x) for x in xs)


def integer(x, low):
    if type(x) is not int or x < low:
        raise ValueError('invalid integer control')
    return x


def histogram(ids, bins, ys, size):
    counts, sums, squares = [0]*size, [F(0)]*size, [F(0)]*size
    for i in ids:
        b = bins[i]
        counts[b] += 1
        sums[b] += ys[i]
        squares[b] += ys[i]*ys[i]
    return tuple(zip(counts, sums, squares))


def difference(parent, child):
    return tuple(tuple(a-b for a, b in zip(p, c))
                 for p, c in zip(parent, child))


def best_split(hist, min_leaf):
    n = sum(row[0] for row in hist)
    total = sum((row[1] for row in hist), F(0))
    left_n, left_sum, best = 0, F(0), None
    for cut in range(len(hist)-1):
        left_n += hist[cut][0]
        left_sum += hist[cut][1]
        right_n = n-left_n
        if min(left_n, right_n) < min_leaf:
            continue
        gain = left_sum**2/left_n + (total-left_sum)**2/right_n - total**2/n
        if gain > 0 and (best is None or gain > best[0]):
            best = (gain, cut)
    return best


def fit(xs, ys, cuts, max_leaves=3, min_leaf=1, max_depth=None,
        policy='leaf'):
    xs, ys, cuts = vector(xs), vector(ys), vector(cuts, empty=True)
    if len(xs) != len(ys) or any(a >= b for a, b in zip(cuts, cuts[1:])):
        raise ValueError('matching data and strictly increasing cuts required')
    integer(max_leaves, 1)
    integer(min_leaf, 1)
    if max_depth is not None:
        integer(max_depth, 0)
    if policy not in ('leaf', 'breadth'):
        raise ValueError('policy must be leaf or breadth')
    bins = tuple(bisect_left(cuts, x) for x in xs)
    size = len(cuts)+1
    nodes, leaves, events = {}, {}, []
    hist_updates = len(xs)

    def add_node(node, ids, hist, depth):
        total = sum((r[1] for r in hist), F(0))
        mean = total/len(ids)
        candidate = None if max_depth is not None and depth >= max_depth else best_split(hist, min_leaf)
        nodes[node] = ('leaf', mean)
        leaves[node] = (ids, hist, depth, candidate)

    add_node(0, tuple(range(len(xs))), histogram(range(len(xs)), bins, ys, size), 0)
    while len(leaves) < max_leaves:
        eligible = [node for node, data in leaves.items() if data[3] is not None]
        if not eligible:
            break
        if policy == 'leaf':
            node = min(eligible, key=lambda j: (-leaves[j][3][0], j))
        else:
            node = min(eligible, key=lambda j: (leaves[j][2], j))
        ids, parent_hist, depth, (gain, cut) = leaves.pop(node)
        left = tuple(i for i in ids if bins[i] <= cut)
        right = tuple(i for i in ids if bins[i] > cut)
        small = left if len(left) <= len(right) else right
        small_hist = histogram(small, bins, ys, size)
        other_hist = difference(parent_hist, small_hist)
        left_hist, right_hist = (small_hist, other_hist) if small is left else (other_hist, small_hist)
        hist_updates += len(small)
        a, b = len(nodes), len(nodes)+1
        nodes[node] = ('split', cut, a, b)
        add_node(a, left, left_hist, depth+1)
        add_node(b, right, right_hist, depth+1)
        events.append((node, depth, cut, gain, len(small)))
    predictions = [F(0)]*len(xs)
    for node, (ids, _, _, _) in leaves.items():
        for i in ids:
            predictions[i] = nodes[node][1]
    return {'cuts': cuts, 'nodes': nodes, 'events': tuple(events),
            'predictions': tuple(predictions),
            'sse': sum(((p-y)**2 for p, y in zip(predictions, ys)), F(0)),
            'histogram_row_updates': hist_updates}


def predict(model, xs):
    values = vector(xs, empty=True)
    result = []
    for x in values:
        b, node = bisect_left(model['cuts'], x), 0
        while model['nodes'][node][0] == 'split':
            _, cut, left, right = model['nodes'][node]
            node = left if b <= cut else right
        result.append(model['nodes'][node][1])
    return tuple(result)


def goss_moments(gradients, keep, take):
    g = vector(gradients)
    integer(keep, 0)
    integer(take, 1)
    if keep >= len(g) or take > len(g)-keep:
        raise ValueError('need a nonempty low-gradient pool and valid take')
    order = sorted(range(len(g)), key=lambda i: (-abs(g[i]), i))
    high, low = order[:keep], order[keep:]
    factor = F(len(low), take)
    fixed = sum((g[i] for i in high), F(0))
    first, second = F(0), F(0)
    for chosen in combinations(low, take):
        estimate = fixed + factor*sum((g[i] for i in chosen), F(0))
        first += estimate
        second += estimate**2
    count = comb(len(low), take)
    return {'high': tuple(high), 'weight': factor, 'outcomes': count,
            'mean_sum': first/count, 'mean_squared_sum': second/count}


def pack_exclusive(rows, caps):
    if type(caps) not in (list, tuple) or not caps:
        raise ValueError('nonempty bin capacities required')
    caps = tuple(integer(c, 1) for c in caps)
    if type(rows) not in (list, tuple):
        raise ValueError('rows must be a list or tuple')
    offsets, total = [], 0
    for c in caps:
        offsets.append(total)
        total += c
    packed = []
    for row in rows:
        if type(row) not in (list, tuple) or len(row) != len(caps):
            raise ValueError('incorrect row width')
        active = []
        for j, (value, cap) in enumerate(zip(row, caps)):
            integer(value, 0)
            if value > cap:
                raise ValueError('bin value exceeds its capacity')
            if value:
                active.append(offsets[j]+value)
        if len(active) > 1:
            raise ValueError('exclusive bundle has a conflicting row')
        packed.append(active[0] if active else 0)
    return tuple(packed), tuple(offsets)


if __name__ == '__main__':
    xs, ys = list(range(8)), [0, 1, 0, 1, 5, 5, 9, 9]
    cuts = [F(2*i+1, 2) for i in range(7)]
    for policy in ('leaf', 'breadth'):
        model = fit(xs, ys, cuts, policy=policy)
        print(policy, 'split nodes', tuple(e[0] for e in model['events']),
              'SSE', model['sse'], 'histogram updates', model['histogram_row_updates'])
    coarse = fit([0, 1, 2, 3], [0, 0, 4, 4], [F(5, 2)], max_leaves=2)
    fine = fit([0, 1, 2, 3], [0, 0, 4, 4], [F(1, 2), F(3, 2), F(5, 2)], max_leaves=2)
    print('coarse / fine SSE:', coarse['sse'], fine['sse'])
    moments = goss_moments([6, 2, -1, 1], 1, 1)
    print('GOSS weight / mean / mean square:', moments['weight'], moments['mean_sum'], moments['mean_squared_sum'])
    print('exclusive codes:', pack_exclusive([(0, 0), (2, 0), (0, 1), (0, 2)], [2, 2])[0])

Actual output:

leaf split nodes (0, 2) SSE 1 histogram updates 14
breadth split nodes (0, 1) SSE 50/3 histogram updates 13
coarse / fine SSE: 32/3 0
GOSS weight / mean / mean square: 3 8 78
exclusive codes: (0, 2, 3, 4)

Both schedules split the root at 3.5. With three leaves, best-first leaves SSE 1; the breadth-first control leaves 50/3. The histogram row-update counts, 14 and 13, also show why a lower loss does not mean less work under every counter. The comparison holds the bin set, leaf cap and target fixed.

The four-point example has an ideal separating threshold 1.5. Supplying only 2.5 merges values 0, 1 and 2 into one bin, forcing SSE 32/3; the finer candidate set reaches zero. Once a boundary has been omitted, taking more exact sums inside that bin cannot recreate it.

For GOSS, gradients 6, 2, −1, 1 retain 6 and sample one of the other three. The possible weighted sums are 12, 3 and 9. Their mean is the true sum 8, but their mean square is 78 rather than 64. For EFB, capacities (2,2) give feature intervals 1–2 and 3–4. Codes (0,2,3,4) decode uniquely to the four input rows. A row (1,1) is rejected instead of silently overwriting one feature.

Cost of this implementation

Let n be the number of samples, B the number of bins and S the number of performed splits. Input binning costs O(n log(B+1)+B). Each split scans its samples for partitioning, constructs one smaller histogram, scans O(B) statistics, and searches up to S+1 cached leaf candidates. A valid worst-case total is O(n log(B+1)+B+S(n+B)+S²), including S=0. Working storage and the returned model together use O(n+(S+1)B+S) slots; leaf sample lists partition the data, while histograms remain allocated per current leaf. Predicting m points costs O(1+m(log(B+1)+d+1)) operations and O(1+m) slots, where d is the returned tree depth.

The GOSS audit takes O(n log(n+1)+C(R,r)(r+1)) operations and O(n+r) slots because it enumerates subsets. Packing n rows of p features takes O(p+np) operations and O(p+n) slots, including empty rows. These count exact arithmetic and comparisons, with expected constant-time dictionary access; rational bit growth adds costs. None is a training-speed claim about the compiled library.

The optimization choices are not interchangeable

Binning changes where a split can occur; best-first growth changes which leaf is expanded; GOSS samples rows using current gradients; EFB changes the representation of sparse features. Turning on one does not imply that the others are active, nor that they preserve every split decision.

For the fixed 4.6.0 release, data_sample_strategy defaults to bagging, not goss, while enable_bundle defaults to true. Bagging itself requires both a positive bagging frequency and a fraction below one to sample rows. These are versioned settings, not definitions of boosting. Official parameters; bundle setting.

Our tree omits missing-value routing, categorical split search, sample weights, multiple features, monotonic constraints and repeated boosting. Cuts are supplied, not learned by the library’s bin constructor. Learn such preprocessing from the training partition, and keep the resulting mapping fixed when evaluating held-out examples. Smaller bins can recover useful splits, but can also permit finer fitting to noise.

Large absolute gradient does not universally mean a clean, informative sample: outliers and label errors can also produce it. The sum identity above conditions on the current gradients and a fixed region; using the same random estimates to choose a region adds selection effects. Similarly, a low observed conflict rate is not a proof of exact EFB reversibility. A future row with two active features violates our packer’s contract even if no training row did.

Separate representation, scheduling and estimation

  1. Why can the coarse four-point histogram not split at 1.5? Answer: its only supplied cut is 2.5, so 0, 1 and 2 share a bin. Their internal ordering is absent from the allowed split set. Its best two-leaf SSE is 32/3; the finer set reaches zero.
  2. A root has two eligible children with gains 1/3 and 16, and only one further split is allowed. Which does each program policy choose? Answer: leaf chooses gain 16. breadth chooses the smaller-ID child at the shared depth, which is the left child with gain 1/3 in the example. Neither policy changes the cut scoring formula.
  3. GOSS retains gradient 6 and selects one of 2, −1, 1. Compute the sampling multiplier, mean estimated sum and variance. Answer: the multiplier is 3; estimates 12, 3, 9 average to 8. Their mean square is 78, so variance is 78−8²=14. Unbiased sums do not imply unbiased squared sums.
  4. With capacities (2,2), could a packer safely replace a row (1,1) with code 1+3=4? Answer: no. Code 4 already represents the valid row (0,2), so adding active codes destroys injectivity. Exact packing must reject the conflict or use a richer representation; silently accepting it would change the problem.

Reduce work without losing track of what changed

Ke and colleagues’ 2017 paper centers GOSS and EFB within a histogram-based boosting implementation. The fixed-version features guide explains histogram subtraction and best-first leaf growth; the parameters reference distinguishes available techniques from enabled settings. Those are three different kinds of evidence: an algorithmic proposal, an implementation design and a versioned interface.

A useful follow-up experiment holds the gradients fixed while varying only the bin boundaries, then holds the bins fixed while varying only the expansion order. Sampling can be examined afterward. This lets a changed split be traced to a specific approximation or scheduling decision, instead of attributing every difference to a library name. For control of model size and validation, return to CART and overfitting.

Make a prediction, then check

Weighted GOSS sums average to the true sum 8, but have positive variance. Must their squares average to 64?

Choose one answer

Learning objectives

  • Separate bin-restricted split search from the order in which leaves expand.
  • Explain and verify histogram subtraction and its shared-bin requirement.
  • Derive GOSS sum weighting and distinguish it from nonlinear gain unbiasedness; identify exact EFB conflicts.

Prerequisites & connections

Explore related knowledge →

References

  1. LightGBM: A Highly Efficient Gradient Boosting Decision Tree
    Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye and Tie-Yan Liu · 2017
  2. Features — LightGBM 4.6.0
    LightGBM contributors
  3. Parameters — LightGBM 4.6.0
    LightGBM contributors

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-05 · Codex technical check: primary-source locations, original runnable models, independent mathematical and computational references, bilingual review and second-agent cross-checks; not independent human peer review.

  • Seven tests passed. Raw sample partitions and pairwise dispersion independently verify events, training predictions and SSE in 36 tree fits, plus histogram_row_updates and training predict calls. Four additional depth/minimum-leaf fits compare events, training predictions and SSE. Three subtraction cases recover each bin directly. The main three-leaf example is also checked against all 21 three-interval partitions; this is not a general greedy optimality claim.
  • Twenty-four GOSS audits agree with the independent finite-population variance formula, including full sampling, ties, signs and zero gradients. Seven exactly exclusive rows round-trip and recover nine original bin statistics; a conflicting row is rejected and the naive code-sum collision is demonstrated. Input contracts, equality routing, constants, empty cuts/queries and preservation were checked.
  • Original bilingual text, identical complete Python and five actual stdout lines, five displays, six anchors and four answered exercises. Strict MDX/KaTeX and actual React HTML passed with six matching mathematical annotations. Humanizer reread; AI author checks only, review written pending independent review. No repository edits, full-site build or LightGBM installation.
  • Seven author tests passed. A distinct rank-one orthogonal-contrast certificate checks 38 complete tree reports, 30 actual split events, 86 permitted candidate contrasts, all node links/leaf values/cuts/training predictions/SSE/work counts and valid termination. Direct raw-threshold interval regions check 369 query values without query bin search. No histogram moments or pairwise-dispersion reference was used.
  • A generating-polynomial coefficient dynamic program checks all five fields of 21 GOSS reports, avoiding both explicit subset enumeration and the author’s finite-population variance formula. Literal feature-block codebooks check 17 EFB rows and offsets; six additional invalid-tail/type/conflict checks pass. Reread all mathematical conditions and complexity terms, including B>=1, nonempty n, retained leaf histograms, empty queries, exact exclusivity and bit-cost limitations.
  • Complete bilingual text, code and exercise answers reread. Code matches the independent example file; five actual output lines, five corresponding display formulas plus one inline mathematical annotation, six ordered anchors and four answers verified. Independent strict MDX/KaTeX/React HTML, actual MathML annotations and emphasis checks pass. Final five SHA values match after the metadata-only scope correction.
  • Promoted the full prose, equations, code and exercises. Tests read formal MDX only; removed temporary fallbacks/draft skips and updated review assertion to checked. Algorithm and independent references are unchanged; final record binds both locale hashes.
  • Publication navigation points published topics to complete articles and removes corresponding pending wording, retaining directory entries for unwritten targets. Principles, equations, programs and exercises are unchanged; final article SHA values rebound.

Source locations checked:

  • LightGBM: A Highly Efficient Gradient Boosting Decision Tree · Actually read the official nine-page 2017 paper: section 2.1 and Algorithm 1 (PDF pages 2–3), histogram building versus boundary scans; Algorithm 2 and sections 3.1–3.2 (pages 3–4), large absolute gradients, low-pool sampling, multiplier and nonlinear variance score; section 4/Algorithms 3–4 (pages 5–6), exact exclusivity, disjoint bin offsets, original histogram recovery and approximate conflicts. The text uses inconsistent denominators for b: Algorithm 2 specifies randN=b*n, whereas one section 3.2 sentence says b times the remaining pool. Our explicit fixed-count model follows Algorithm 2 and independently proves weight R/r. No theorem-bound transcription, universal speedup claim, original assets or library execution.
  • Features — LightGBM 4.6.0 · Actually opened /en/v4.6.0/Features.html, rendered 4.6.0. Lines 11–26: histogram construction, O(bins) scans, smaller-child construction and parent subtraction. Lines 34–42: greatest-loss-change leaf, possible overfitting and depth limit while retaining leaf-wise order. Did not repeat the guide’s time-sensitive comparison with another library’s default algorithm, or infer universal global optimality.
  • Parameters — LightGBM 4.6.0 · Actually opened /en/v4.6.0/Parameters.html, rendered 4.6.0. Lines 152–168: boosting versus data_sample_strategy, default bagging and its activation requirements; 475–484: top_rate and other_rate; 720–760: discrete-bin controls, enable_bundle=True and missing/zero distinctions. Defaults are explicitly tied to 4.6.0. No claim that our exact count sampler or packer reproduces all production options.
  • LightGBM: A Highly Efficient Gradient Boosting Decision Tree · Independently opened the official nine-page proceedings PDF, reading §2.1/Algorithm 1 (pages 2–3), Algorithm 2 and §3.1–3.2 (pages 3–4), and §4/Algorithms 3–4 (pages 5–6). Confirmed the paper’s inconsistent b denominators: Algorithm 2 uses b*n while §3.2 says b*remaining-pool. The article correctly fixes a count model and derives R/r, rather than silently inheriting the inconsistent convention. Also checked disjoint bin offsets, exact recovery and approximate conflict distinction. Text extraction only; no supplementary theorem or benchmark replication.
  • Features — LightGBM 4.6.0 · Independently opened fixed 4.6.0 HTML, lines 11–26 and 34–42: bin-restricted candidates, smaller-child histogram subtraction, greatest-loss-change leaf growth and depth limiting. The article avoids a general greedy global-optimum or universal speed claim.
  • Parameters — LightGBM 4.6.0 · Independently opened fixed 4.6.0 HTML, lines 152–168 (boosting, data_sample_strategy default and activation), 715–760 (binning, enable_bundle and zero/missing distinctions). Documentation version is explicit; no compiled library was installed or executed.

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.