← Back to Leaderboard
Cserengil

serengil/chefboost

A Python decision-tree library for categorical data and inspectable rules

AI FrameworkQuickstart ↓
Engineering Health (Methodology)
B · 50/100
Maintenance Activity
● Updated 6mo ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance6/35
Fork Adoption18/25
Release Cadence6/20
License Clarity20/20
CLI
Total Stars
★ 488
24h Growth
+0
7d Growth
+0
Forks
101

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

serengil/chefboost Star History (2020-01-15 - 2026-12-03) ALL-TIME STAR HISTORY (2020-01 – 2026-12) +441 in 2514d · avg +0/day 513 257 0 2020-01-15: ★ 472020-06-20: ★ 822020-11-21: ★ 1282021-04-24: ★ 1802021-09-25: ★ 2622022-02-26: ★ 2902022-07-30: ★ 3292022-12-31: ★ 3692023-06-03: ★ 3932023-11-04: ★ 4102024-04-06: ★ 4322024-09-07: ★ 4452025-02-08: ★ 4632025-07-12: ★ 4712025-12-13: ★ 4812026-05-16: ★ 4842026-12-03: ★ 488 ★ 488 2020-01 2023-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

ChefBoost is an in-process Python library for tabular decision trees, not an LLM inference runtime. The entry point is from chefboost import Chefboost as chef; chef.fit(df, config=..., target_label=...) takes a pandas DataFrame and selects the training algorithm through configuration. A standalone tree chooses splits using its algorithm's criterion and recursively builds child nodes. Parallel mode can build branches concurrently.

The distinguishing output is a tree expressed as Python conditional logic: the example defines a findDecision function, and tests/outputs/rules is shown as the rule output directory. This offers a direct path from a training table to inspectable branch logic. The dependency manifest lists pandas, NumPy, tqdm, and psutil. The visible extension surface is algorithm selection through configuration; no plugin API or serving protocol is evidenced.

Key Capabilities & Differentiators

The standalone algorithms expose materially different split criteria: ID3 uses entropy and information gain, C4.5 uses entropy and gain ratio, CART uses Gini, CHAID uses chi-square, and the regression tree uses standard deviation. Random forest, gradient boosting, and AdaBoost are also available, so the same configuration-driven interface covers single trees, bagging, and boosting.

Training accepts both numeric and nominal features and target values, so basic categorical inputs do not require a separate encoding step merely to enter the training API. That is not a guarantee about data quality or edge cases: missing values, unseen categories, and high-cardinality fields should be tested on the intended dataset rather than inferred from the sample rule's fallback branch. Generated conditionals are most useful for direct inspection on a small tree; ensemble output should not be assumed to be equally easy to audit.

Trade-offs & Limitations

The main reason to choose ChefBoost over a general-purpose workflow such as scikit-learn is a specific need for classical split criteria, direct nominal inputs, or inspectable Python rules. If the priority is interoperability with an existing estimator pipeline, or maximizing performance with a dedicated boosting implementation, evaluate those alternatives on the same data. The evidence establishes algorithm coverage, not relative accuracy, throughput, or memory efficiency.

Python rules make small trees easy to inspect, but file output adds responsibility for versioning, input schema compatibility, and validating generated code before execution. Parallel training can reduce build time, but worker overhead and contention can offset the benefit on small datasets or shared hosts; compare against serial training. MIT is permissive for commercial adoption, while redistribution still carries notice obligations.

Hardware & Deployment Guide

Install with pip install chefboost and run it inside a Python process; the evidenced path does not require an inference server, database, or CUDA stack. requirements.txt lists pandas>=0.22.0, numpy>=1.14.0, tqdm>=4.30.0, and psutil>=5.4.3. These are lower bounds rather than a tested compatibility matrix. Pin and validate the Python and dependency versions used by the training job.

Parallelism is on by default and allocates half the available cores unless configured otherwise. Use num_cores to match the job's CPU budget, guard the parallel training entry point with if __name__ == '__main__':, or set enableParallelism to False for a serial baseline. Check write permissions and isolate output locations before running concurrent fits. No latest GitHub release is identified, so release milestones or a packaging cadence cannot be established from the available evidence.

Split criteria: ID3 uses information gain, C4.5 gain ratio, CART Gini, and CHAID chi-square; the regression tree uses standard deviation.
Input contract: Chefboost.fit accepts pandas DataFrames with numeric and nominal fields and supports explicit target selection via target_label.
Rule artifacts: Fitted trees are emitted as Python conditionals, with tests/outputs/rules shown as the output location.
Ensemble options: Random forest, gradient boosting, and AdaBoost sit alongside standalone trees behind the same configuration-driven training interface.
Parallel training: Tree branches can be built in parallel; enableParallelism toggles the behavior and num_cores controls the core allocation.
Runtime dependencies: requirements.txt declares pandas, NumPy, tqdm, and psutil as minimum-version requirements.
Best For

Teaching and comparing classical split criteria, prototyping tabular models with categorical inputs, and reviewing the branch logic of small trees.

Skip If

You need LLM inference, a turnkey model-serving stack, or verified large-scale training performance and established pipeline interoperability.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
pip install chefboost

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
chefboost ★488—PythonMITA Python decision-tree library for categorical data and inspectable rules
LightGBM19k+35C++MITC++ gradient-boosted trees for tabular prediction and ranking
transformers169.6k+337PythonApache-2.0A PyTorch model-definition SDK for unified inference and training across modalit
pytorch105.9k+299Python—Python-first tensor SDK for GPU-accelerated training and inference

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/serengil/chefboost.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

serengil/chefboost Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about chefboost

How do I integrate ChefBoost and consume its output?

Import Chefboost from chefboost, pass a pandas DataFrame to fit, and select the algorithm in the config. Use target_label to name the target column explicitly. Training emits Python conditional rules; if those files become integration artifacts, manage them alongside the input schema and test them against representative records.

Does ChefBoost need a GPU, and how should I budget CPU and memory?

The listed stack is pandas, NumPy, tqdm, and psutil; no GPU or CUDA requirement is listed. Size for the DataFrame, tree or ensemble configuration, and worker count, and measure peak RAM on representative data. Parallel training defaults to half the available cores; set num_cores explicitly or disable parallelism in a constrained job.

Can I run ChefBoost internally or include it in a commercial product?

Yes. The MIT license permits commercial use, modification, and redistribution. Retain the required copyright and permission notices when distributing ChefBoost or substantial portions of it, and review dependency and dataset terms separately. Training runs locally as a Python library; there is no hosted-service requirement.

When would I choose ChefBoost over scikit-learn or a dedicated boosting library?

Choose ChefBoost if named split criteria such as C4.5 gain ratio or CHAID chi-square, direct nominal inputs, and readable Python rules are central to the job. Evaluate a scikit-learn workflow if estimator and pipeline interoperability matter more. For a boosting-first workload, compare against a dedicated implementation on the same data rather than assuming equivalent accuracy or training cost.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining serengil/chefboost? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature serengil/chefboost on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare