liveBook · Manning

Column block

As explained in Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A column block is a partition of dataset columns or features that enables parallel processing during model training.

A column block partitions dataset columns or features so one gradient-boosting model can process them in parallel. This reduces training time by distributing work across multiple CPU cores, even though boosting remains sequential between models. section 5.4.2

The practical distinction is:

  • Random forests can train multiple models simultaneously; XGBoost instead parallelizes the work inside each model. section 5.4.2
  • The Native API uses DMatrix, whose optimized format enables the column-block technique. section 5.4.2
  • The Scikit-learn API accepts pandas DataFrames or NumPy arrays and performs the conversion internally. section 5.4.2

How Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI covers it

How deep it goes
Defines the partitioning strategy and API-dependent data handling but does not detail the split-finding implementation.
Examples
Uses CPU utilization across multiple cores and contrasts XGBoost with simultaneously trained random-forest models.
What it assumes
Assumes familiarity with gradient boosting and distinguishes its sequential model-building process from random-forest training.
What you can do after
Operate XGBoost through its Scikit-learn API while understanding how feature partitioning improves training efficiency.
How it connects
Connects column blocks with gradient boosting, parallel processing, DMatrix, random forests, and the Scikit-learn and Native APIs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI. The section links point to the parts of the book it draws on.