Skip to Content
Analytics for the Internet of Things (IoT)
book

Analytics for the Internet of Things (IoT)

by Andrew Minteer
July 2017
Beginner to intermediate
378 pages
10h 26m
English
Packt Publishing
Content preview from Analytics for the Internet of Things (IoT)

Cross-validation

A popular method of validation is called cross-validation. It involves randomly dividing up the training set into a number of equal subsets of data rows. A subset is referred to as a fold. A model is then trained on all but one of the subsets. The set that it was not trained on is held out as a validation set to check on the error rate for the trained model.

Another model is then trained on all but one of the subsets, but a different one this time. The fold that is held out is used to check on prediction error for the model trained on the other folds. This continues so that each fold is held out exactly once, and all the data is used in both training and validation. The resulting set of models will each run its own prediction ...

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

Big Data Analytics for Internet of Things

Big Data Analytics for Internet of Things

Tausifa Jan Saleem, Mohammad Ahsan Chishti
Hands-On Industrial Internet of Things

Hands-On Industrial Internet of Things

Giacomo Veneri, Antonio Capasso
Internet of Things

Internet of Things

Mayur Ramgir

Publisher Resources

ISBN: 9781787120730Supplemental Content