Skip to Main Content
Test-Driven Machine Learning
book

Test-Driven Machine Learning

by Justin Bozonier
November 2015
Intermediate to advanced content levelIntermediate to advanced
190 pages
4h 11m
English
Packt Publishing
Content preview from Test-Driven Machine Learning

Applying our classifier

Now we put the pedal to the metal. Can we classify gender by height, weight, and BMI? We will get our data from the Kaggle competition at https://www.kaggle.com/c/pf2012-diabetes/data.

We'll be using the SyncPatient and SyncTranscript data. You can look up the details regarding these datasets in the associated data dictionary. The examples that follow are placed in the data files, in a directory named data. The files have also been renamed from SyncPatient.csv and SyncTranscript.csv to training_SyncPatient.csv and training_SyncTranscript.csv respectively.

Our first step will be to create a harness that will let us explore our data to make sure that it seems reasonable. Before we do this, we should create a new method on our ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Machine Learning in Action

Machine Learning in Action

Peter Harrington

Publisher Resources

ISBN: 9781784399085Supplemental Content