Alphabeta Math
AlgorithmAlgorithm: Literature-sourcedProof: Not applicablePipeline-generatedjudge pass (gpt-6-luna)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Greedy axis-aligned CART growth on a finite sample

Definition

The inputs are observations (xi,yi)i=1n with n≥1 and xi∈Rp for an integer p≥1, a response mode (regression with yi∈R or classification with labels in a fixed finite ordered class set), a fixed classification impurity criterion when in classification mode, and a finite integer maximum depth dmax⁡≥0. The root has sample set {1,…,n} and depth 0. At a current leaf with nonempty sample set I and depth d<dmax⁡, perform the following procedure.

  1. For each coordinate j∈{1,…,p}, sort the distinct observed values in that coordinate as u1<⋯<ur. For each k=1,…,r−1, form the candidate threshold t=(uk+uk+1)/2 and its child sets IL={i∈I:xij≤t} and IR={i∈I:xij>t}. These are the finite candidates at the node; if no coordinate has at least two distinct values, the candidate set is empty.

  2. For each candidate, compute its child score. In regression the score is ∑i∈IL(yi−yˉIL)2+∑i∈IR(yi−yˉIR)2. In classification it is ∣IL∣QIL+∣IR∣QIR for the fixed chosen impurity criterion. Select the candidate with the smallest score; when scores tie, select the least pair (j,k) by comparing coordinate first and cut index second.

  3. Store the selected coordinate and threshold at the current node, create its left and right children, and apply this procedure to the left child and then the right child at depth d+1. If d=dmax⁡ or the candidate set is empty, leave the current node as a leaf.

The output is the finite tree whose leaves use the regression means or classification majority labels from the empirical decision-tree definition. No strictly positive loss reduction is required for a split below the depth cap, and the returned tree is not asserted to be globally optimal among all trees.

Depends on

Used by

Dependency tree · two levels

5 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources