Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Statistics for Data Science

You're reading from  Statistics for Data Science

Product type Book
Published in Nov 2017
Publisher Packt
ISBN-13 9781788290678
Pages 286 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (19) Chapters

Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Transitioning from Data Developer to Data Scientist Declaring the Objectives A Developer's Approach to Data Cleaning Data Mining and the Database Developer Statistical Analysis for the Database Developer Database Progression to Database Regression Regularization for Database Improvement Database Development and Assessment Databases and Neural Networks Boosting your Database Database Classification using Support Vector Machines Database Structures and Machine Learning

R and statistical assessment


So, let's get started with some statistical assessment work!

As we discussed in the previous section, instead of using all the data (the entire population of observations) to train a statistical model (and then test using some of that data), cross-validation divides the data into training and testing datasets.

The first step that a data scientist needs to take when he or she is interested in using cross-validation to assess the performance of a statistical model is to organize (or split) the data into two separate subsets.

There are actually several approaches of cross-validation:

  • Leave-one-out cross-validation (LOOCV)
  • Holdout
  • k-fold and repeated k-fold
  • Re-substitution (most agree that this method is the simplest method)

This cross-validation approaches all focus on how to split the data for the training, testing, and validation. Each has its own merit (pros and cons).

There are (as always) many approaches to programming a problem. The following is one such simple method...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}