Book Image

Mastering Python for Data Science

By : Samir Madhavan
Book Image

Mastering Python for Data Science

By: Samir Madhavan

Overview of this book

Table of Contents (19 chapters)
Mastering Python for Data Science
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
7
Estimating the Likelihood of Events
Index

Summary


In this chapter, you learned the purpose of logistic regression. You learned how to build a logistic regression model using statsmodels and SciKit, and then how to evaluate the model and see whether it's a good model or not.

In the next chapter, you'll learn how to generate recommendations, such as the ones you see on http://www.amazon.com/, where you'll be recommended new items based on your purchase history. Similar items can also be shown to you based on the product that you are currently browsing.