Skip to Content
Python Machine Learning by Example - Third Edition
book

Python Machine Learning by Example - Third Edition

by Yuxi (Hayden) Liu
October 2020
Beginner to intermediate
526 pages
12h 6m
English
Packt Publishing
Content preview from Python Machine Learning by Example - Third Edition

6

Scaling Up Prediction to Terabyte Click Logs

In the previous chapter, we developed an ad click-through predictor using a logistic regression classifier. We proved that the algorithm is highly scalable by training efficiently on up to 1 million click log samples. In this chapter, we will further boost the scalability of the ad click-through predictor by utilizing a powerful parallel computing (or, more specifically, distributed computing) tool called Apache Spark.

This chapter will demystify how Apache Spark is used to scale up learning on massive data, as opposed to limiting model learning to one single machine. We will also use PySpark, which is the Python API, to explore click log data, to develop classification solutions based on the entire ...

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

Python Machine Learning By Example - Second Edition

Python Machine Learning By Example - Second Edition

Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9781800209718Supplemental Content