Skip to Content
Practical Predictive Analytics
book

Practical Predictive Analytics

by Ralph Winters
June 2017
Beginner to intermediate content levelBeginner to intermediate
576 pages
15h 22m
English
Packt Publishing
Content preview from Practical Predictive Analytics

Accuracy measures produced by onestep

The onestep.df object produced from the for loop contains all of the accuracy measure for all of the groups. Take a look at the first 6. You can see that the accuracy measure rmse, mae, and mape are captured for each of the categories:

head(onestep.df)>              cat        rmse           mae      mape      acf1> 1 18 to 24 YEARS    0.013772470 0.009869590 3.752381 1.0000552> 2 25 to 34 YEARS    0.004036661 0.003380938 1.217612 1.0150588> 3 35 to 44 YEARS    0.006441549 0.004790155 2.231886 0.9999469> 4 45 to 54 YEARS    0.004261185 0.003129072 1.734022 0.9999750> 5 55 to 64 YEARS    0.005160212 0.004988592 3.534093 0.7878765> 6 65 YEARS AND OVER 0.002487451 0.002096323 12.156875 0.9999937cbind(fit$x, fit$fitted, fit$residuals)> Time Series:> Start = ...
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

Data Superstream: Analytics Engineering

Data Superstream: Analytics Engineering

Alistair Croll, Anna Filippova, Emilie Schario, Lewis Davies, Jacob Frackson, Benn Stancil, Nick Acosta, Elizabeth Caley
R: Predictive Analysis

R: Predictive Analysis

Tony Fischetti, Eric Mayor, Rui Miguel Forte
Python: Advanced Predictive Analytics

Python: Advanced Predictive Analytics

Ashish Kumar, Joseph Babcock

Publisher Resources

ISBN: 9781785886188Supplemental Content