From the course: Executive Guide to Predictive Modeling Strategy at Scale
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Slow algorithms: More calculations
From the course: Executive Guide to Predictive Modeling Strategy at Scale
Slow algorithms: More calculations
- [Instructor] The second reason that some algorithms are much slower than others is some algorithms just perform more calculations. Let's take a look. This is an artificial neural network that's been built on the same data set. All we're trying to do is predict whether or not an expectant mom will have a low birth weight baby. Now, artificial neural networks get quite technical, but take a look. I just want you to attend to the very large number of lines. If we were using a statistically-based approach, we've only got three variables here, weight of the mom, uterine irritability, and hypertension. A statistical approach would only do four calculations, one per variable and what's called the constant, but the point is there would only be four. But look at all these lines, many, many more, so the neural net is doing many more calculations. That makes it more accurate, but it makes it slower. Over here, we've got six times…
Contents
-
-
-
-
-
-
(Locked)
Understanding the modeling process2m 28s
-
(Locked)
Slow algorithms: Brute force1m 59s
-
(Locked)
Slow algorithms: More calculations1m 30s
-
(Locked)
Slow algorithms: More models2m 24s
-
(Locked)
How to sample properly2m 36s
-
(Locked)
Modeling with missing data3m 37s
-
(Locked)
Looking ahead to deployment and scoring in production2m 26s
-
(Locked)
-