duckboost

Guides

Learn duckboost by working through a model, from the first training table to a scoring query you can share.

Start here

Fit your first penguin model.

How much does a penguin weigh? Load the Palmer penguins CSV into DuckDB, fit a regression model, and put each prediction beside the bird’s measured mass.

Start the walkthrough

Inside the example

Target
Body mass in grams
Features
Bill length, bill depth, flipper length and sex
Fit check
Root mean squared error on the training rows

Prepare and fit

Start with data you can inspect. Split the rows before learning any preprocessing values, then fit and inspect your trees.

Score and export

Once you have a fitted model, check what it predicts on unseen rows and take its scoring logic into another DuckDB session.

Choose a workflow

Match the trainer to your data, check the cost of the fit, and see how duckboost works alongside another extension.