9.3

1.3 Data🔗ℹ

Every fit reads a design matrix and a response, and the formula front end reads a table. This chapter is about where they come from: the example datasets that ship with the package, tables, Racket’s own lists and vectors, CSV files, math/matrix matrices and Polars dataframes. Each data format is a module under "glmnet/data/", which (require glmnet) does not load.

The example Data sources fits one dataset from each of them.

    1.3.1 Example datasets

    1.3.2 Tables

    1.3.3 Lists and vectors

    1.3.4 CSV files

    1.3.5 Matrices from math/matrix

    1.3.6 Polars dataframes