# Posts tagged patsy

## Out-Of-Sample Predictions

- 08 December 2022
- beginner

We want to fit a logistic regression model where there is a multiplicative interaction between two numerical features.

## Splines

- 04 June 2022
- beginner

Often, the model we want to fit is not a perfect line between some \(x\) and \(y\).
Instead, the parameters of the model are expected to vary over \(x\).
There are multiple ways to handle this situation, one of which is to fit a *spline*.
Spline fit is effectively a sum of multiple individual curves (piecewise polynomials), each fit to a different section of \(x\), that are tied together at their boundaries, often called *knots*.