How serengil/chefboost works
ChefBoost is a Python decision-tree framework. Users pass a dataframe and configuration to fit; the library preprocesses features, trains a regular tree or ensemble, and exposes prediction, persistence, restoration and feature-importance operations. The graph includes documented capabilities whose source was not sampled, but their links are limited to documented or indexed relationships. Training internals and dynamic rule-module loading are shown where evidenced; unsampled evaluation and preprocessing details are not inferred beyond the excerpts.
Main entry points: Chefboost.py ChefBoost API · Training.py Tree induction · module.py Rule module loader · gbm.py Gradient boosting
Components 15
Public API
- ChefBoost API
chefboost/Chefboost.py
Tree Training
- Feature preprocessing
chefboost/training/Preprocess.py - Tree induction
chefboost/training/Training.py - Generated rules
chefboost/commons/functions.py
Ensembles
- Gradient boosting
chefboost/tuning/gbm.py - AdaBoost
chefboost/tuning/adaboost.py - Random forest
chefboost/tuning/randomforest.py
Prediction and Utilities
- Bulk prediction
chefboost/commons/functions.py - Rule module loader
chefboost/commons/module.py - Model evaluation
chefboost/commons/evaluate.py - Feature importance
chefboost/Chefboost.py - Save and restore
chefboost/Chefboost.py - Parallel workers
chefboost/commons/daemon.py - Logging
chefboost/commons/logger.py
Other components
- Python user
Connections 26
- Python user → ChefBoost API: calls fit
README.md - ChefBoost API → Feature preprocessing: preprocesses features
chefboost/Chefboost.py - ChefBoost API → Tree induction: builds trees
chefboost/Chefboost.py - Feature preprocessing → Tree induction: uses split search
chefboost/training/Preprocess.py - Tree induction → Generated rules: writes rules
chefboost/training/Training.py - ChefBoost API → Gradient boosting: dispatches boosting
chefboost/Chefboost.py - ChefBoost API → AdaBoost: dispatches boosting
chefboost/Chefboost.py - ChefBoost API → Random forest: dispatches forest
chefboost/Chefboost.py - Gradient boosting → Tree induction: trains component trees
chefboost/tuning/gbm.py - AdaBoost → Tree induction: trains weak trees
chefboost/tuning/adaboost.py - Random forest → Tree induction: trains sampled trees
chefboost/tuning/randomforest.py - Python user → ChefBoost API: calls predict
README.md - ChefBoost API → Bulk prediction: predicts instances
chefboost/Chefboost.py - Bulk prediction → ChefBoost API: calls prediction
chefboost/commons/functions.py - ChefBoost API → Rule module loader: loads rule modules
chefboost/commons/functions.py - Gradient boosting → Rule module loader: loads component trees
chefboost/tuning/gbm.py - AdaBoost → Rule module loader: loads weak rules
chefboost/tuning/adaboost.py - Random forest → Rule module loader: loads tree modules
chefboost/tuning/randomforest.py - ChefBoost API → Model evaluation: evaluates predictions
chefboost/Chefboost.py - Python user → ChefBoost API: requests importance
README.md - ChefBoost API → Feature importance: computes importance
chefboost/Chefboost.py - Python user → ChefBoost API: saves or restores
README.md - ChefBoost API → Rule module loader: restores tree
chefboost/commons/functions.py - Tree induction → Parallel workers: uses worker pool
chefboost/training/Training.py - ChefBoost API → Logging: logs operations
chefboost/Chefboost.py - Tree induction → Logging: logs training
chefboost/training/Training.py