MLP Tabular Regression #
We use UCI Auto MPG because it is small, public, predictable, and entirely numeric: seven car features predict miles per gallon. That makes this a clean first supervised example without inventing data in Lean.
Prepare the CSV once:
python3 scripts/datasets/download_example_data.py --auto-mpg
lake exe torchlean mlp --cpu --steps 1
The downloader writes normalized columns x1..x7,y. If you want to try your own tabular regression
CSV, pass --csv PATH with the same columns.
Auto MPG has seven numeric predictors after dropping car_name.
Instances For
def
NN.Examples.Models.Supervised.Mlp.loadCsvLoader
{α : Type}
[API.Semantics.Scalar α]
[API.Runtime.Scalar α]
(path : System.FilePath)
(seed : ℕ)
: