by M. Kuhn and K. Johnson
In order to work with the data using Python based tools, we need a way to extract the data from the AppliedPredictiveModeling R package.
From within the repo:
mkdir data
cd computing-python
{path to R executable} < apm-export-data.r --vanilla
Thanks goes to Lei Gong for the great work put into the Python translations of many of the book's code examples (found here).
Although less comprehensive than Lei's work, in the ./computing-python notebooks, I've aimed to "minimally" reproduce the "Computing" sections from the book, using Python rather than R. Lei's notebooks have been an awesome resource helping me to identify approaches for doing that.