OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Chefboost

Chefboost is a Python framework for training decision-tree models, including ID3, C4.5, CART, CHAID and regression trees, plus gradient boosting, random forests and AdaBoost. It supports categorical features and provides functions to fit models, generate decision rules and predict new instances.

Independent OpenViST project profile, based on linked sources.

Chefboost — Tabular data with numeric or nominal features and target values
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Chefboost when a Python workflow needs tree-based modelling on tabular data, especially when categorical features are present or generated decision rules are useful.

Who it is for

  • Python practitioners building decision-tree classification or regression workflows
  • Data scientists working with datasets that include categorical features
  • Developers who want to inspect generated tree rules or compare supported tree algorithms

Documented uses

  • Fit a decision-tree model to a pandas DataFrame with a selected algorithm.
  • Build regression trees or experiment with gradient boosting, random forests and AdaBoost.
  • Generate and inspect Python decision rules.
  • Predict outcomes for new instances using a trained or restored model.
Before you choose

Requirements & limits

The repository lists an MIT license. Its README documents installation from PyPI with pip.

  • The framework supports both standard decision trees and named ensemble methods, including gradient boosting, random forests and AdaBoost.
  • The README describes algorithm-specific criteria, including gain ratio for C4.5, Gini for CART and chi-square for CHAID.
  • Saved-model restoration requires the Python and pickle files to be stored under the specified outputs/rules location.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Train a decision tree from a pandas DataFrame

Fit a configured decision-tree model to a dataset and obtain the trained model.

Before you start

  • Python environment with Chefboost installed from PyPI
  • Dataset available as a pandas DataFrame
  • Target column identified

Steps

  1. Install Chefboost with the command below.

    Documented command
    pip install chefboost
  2. Import Chefboost and provide the dataset as a pandas DataFrame.

  3. Set a configuration such as {'algorithm': 'C4.5'}.

  4. Call chef.fit(df, config=config, target_label='Decision') with the appropriate target column.

Expected outcome

A trained decision-tree model; the documented workflow stores generated decision rules as Python if-statements.

Guide limitations

  • The example documents C4.5; other named standard algorithms include ID3, CART, CHAID and regression trees.
  • The README states that numeric and nominal features and target values are handled without preprocessing for tree building.
Source-based practical guide

Make a prediction with a trained model

Use an already fitted model to predict an outcome for a new instance.

Before you start

  • A trained Chefboost model
  • New instance values supplied in feature order

Steps

  1. Pass the trained model and new instance values to chef.predict.

  2. Read the returned prediction.

Expected outcome

A prediction for the supplied instance.

Guide limitations

  • The example uses one instance and does not specify validation or evaluation procedures.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
12 November 2026
Original website title
serengil/chefboost · Official homepage title · retained in its source language