BreezeML

Regressors

Predicting a number (a price, a temperature, a score). BreezeML ships 24 regressors with the same compare() and one-liner API as classifiers.

Test any modelRun here

Pick a model, press Run, and it trains and cross-validates on the spot, in your browser.

on: diabetes

Results will appear here.

All 24 regressors

call as breezeml.regressors.<name>(df, target). * need the [boost] extra.

ModelCallGood for
Linear RegressionlinearThe classic straight-line baseline.
RidgeridgeLinear + L2 penalty; resists overfitting.
LassolassoLinear + L1; also selects features (zeros them out).
Elastic Netelastic_netBlend of Ridge and Lasso.
Random Forestrandom_forestRobust non-linear default.
Gradient Boostinggradient_boostingHigh accuracy by correcting residuals.
Hist Gradient Boostinghist_gradient_boostingFast boosting for bigger data.
Extra Treesextra_treesExtra-random forest, often faster.
AdaBoostadaboostBoosted stumps for smooth targets.
Decision Treedecision_treeOne readable tree of rules.
K-Nearest NeighborsknnAverages the closest examples.
SVRsvrSupport vector regression for non-linear curves.
MLP (neural net)mlpSmall neural network for complex shapes.
HuberhuberLinear but robust to outliers.
Bayesian Ridgebayesian_ridgeRidge with uncertainty built in.
SGDsgdScales to very large datasets.
PoissonpoissonFor counts (visits, calls, events).
QuantilequantilePredicts a percentile, not just the mean.
Theil-SentheilsenMedian-based, very robust to outliers.
RANSACransacFits the inliers, ignores gross outliers.
Kernel Ridgekernel_ridgeRidge with a kernel for non-linearity.
BaggingbaggingAverages many regressors to cut variance.
XGBoostextraxgboostGradient boosting powerhouse.
LightGBMextralightgbmFast, light boosting.

regressors.compare()

regressors.compare(df, target) -> leaderboard

Rank all regressors on the same folds, scored by R2, MAE and RMSE.

In plain English: The same fair race, but for predicting numbers, scored by how close the guesses land.

Exampleruns locally after pip install
import breezeml

df = breezeml.datasets.diabetes()
breezeml.regressors.compare(df, "target")

All sections