Model Parameters Pipeline

A Python package for applying sequential data transformations according to the Model Parameters specification developed by Big Life Lab.

Supported Transformations

  • Center – Subtract a specified value from a variable

  • Dummy – Create binary indicator variables for categorical values

  • Interaction – Multiply variables together to create interaction terms

  • Restricted Cubic Splines (RCS) – Create spline basis functions with specified knots

  • Logistic Regression – Apply logistic regression coefficients and the sigmoid function