Practical overview
When it fits
Use it when a Python classification workflow calls for an ensemble built from linear SEFR classifiers, or when you want to explore SEFRBoost’s linear splits and the repository’s notebook-based evaluation and tuning examples.
Who it is for
- Python practitioners building classification experiments with linear or boosted models.
- Researchers and learners comparing classifier behavior using F1 scores and cross-validation.
- Users exploring boosted models with linear splits or kernel-based feature workflows.
Documented uses
- Train a LinearBoost classifier on prepared data.
- Evaluate a classification model using F1 and cross-validation.
- Compare the LinearBoost and SEFRBoost classifier approaches.
- Search SEFRBoost hyperparameters with the documented Optuna example.
Requirements & limits
The repository identifies the project as MIT-licensed and lists Python 3.8 through 3.13.
- LinearBoost uses sequential SEFR classifiers with AdaBoost-style sample reweighting; gradient boosting is also documented.
- SEFRBoost is a distinct model that uses shallow trees with linear SEFR hyperplane splits.
- The LinearBoost demo covers F1 and cross-validation; the SEFRBoost tuning demo adds Optuna and scikit-learn.
- The README lists kernel options, class weighting, custom loss, subsampling, shrinkage and early stopping.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train and evaluate a LinearBoost classifier in the demo notebook
Follow the documented notebook workflow to prepare data, train LinearBoostClassifier and evaluate it.
Before you start
- Python 3.8–3.13
- The LinearBoost package and Jupyter notebook environment
Steps
Open notebooks/demo_linearboost_usage.ipynb.
Use the notebook to load and prepare data.
Train LinearBoostClassifier as shown.
Review its F1 score and cross-validation evaluation.
Expected outcome
A notebook-based classification workflow with F1 and cross-validation evaluation.
Guide limitations
- The README describes the notebook workflow but does not specify a dataset-independent evaluation result.
Tune SEFRBoostClassifier with the documented Optuna notebook
Use the repository’s example to search SEFRBoostClassifier hyperparameters and compare results against its default baseline.
Before you start
- Python 3.8–3.13
- LinearBoost, scikit-learn and Optuna
- The repository notebook notebooks/optuna_sefrboost_demo.ipynb
Steps
Open notebooks/optuna_sefrboost_demo.ipynb.
Review the default baseline on scikit-learn’s Breast Cancer Wisconsin data.
Follow the notebook’s Optuna search and five-fold stratified cross-validation workflow, which optimizes F1.
Expected outcome
An example hyperparameter-search workflow for SEFRBoostClassifier evaluated with five-fold stratified cross-validation and F1.
Guide limitations
- The documented example uses the named dataset and does not establish results for other datasets.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 29 November 2026
- Original website title
- LinearBoost/linearboost-classifier · Official homepage title · retained in its source language

