Buy New
USD42.75USD42.75
USD 16.95 delivery Thursday, 2 July
Dispatches from: Amazon Sold by: Amazon
Used – Very Good
USD5.04USD5.04
USD 10.05 delivery 29 June - 6 July
Dispatches from: World of Books Ltd Sold by: World of Books Ltd
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Python Machine Learning: Machine Learning and Deep Learning with Python, scikit-learn, and TensorFlow, 2nd Edition
Purchase options and add-ons
Unlock modern machine learning and deep learning techniques with Python by using the latest cutting-edge open source Python libraries.
Key Features
- Second edition of the bestselling book on Machine Learning
- A practical approach to key frameworks in data science, machine learning, and deep learning
- Use the most powerful Python libraries to implement machine learning and deep learning
- Get to know the best practices to improve and optimize your machine learning systems and algorithms
Book Description
.
Publisher's Note: This edition from 2017 is outdated and is not compatible with TensorFlow 2 or any of the most recent updates to Python libraries. A new third edition, updated for 2020 and featuring TensorFlow 2 and the latest in scikit-learn, reinforcement learning, and GANs, has now been published.
Machine learning is eating the software world, and now deep learning is extending machine learning. Understand and work at the cutting edge of machine learning, neural networks, and deep learning with this second edition of Sebastian Raschka’s bestselling book, Python Machine Learning. Using Python's open source libraries, this book offers the practical knowledge and techniques you need to create and contribute to machine learning, deep learning, and modern data analysis.
Fully extended and modernized, Python Machine Learning Second Edition now includes the popular TensorFlow 1.x deep learning library. The scikit-learn code has also been fully updated to v0.18.1 to include improvements and additions to this versatile machine learning library.
Sebastian Raschka and Vahid Mirjalili’s unique insight and expertise introduce you to machine learning and deep learning algorithms from scratch, and show you how to apply them to practical industry challenges using realistic and interesting examples. By the end of the book, you’ll be ready to meet the new data analysis opportunities.
If you’ve read the first edition of this book, you’ll be delighted to find a balance of classical ideas and modern insights into machine learning. Every chapter has been critically updated, and there are new chapters on key technologies. You’ll be able to learn and work with TensorFlow 1.x more deeply than ever before, and get essential coverage of the Keras neural network library, along with updates to scikit-learn 0.18.1.
What You Will Learn
- Understand the key frameworks in data science, machine learning, and deep learning
- Harness the power of the latest Python open source libraries in machine learning
- Explore machine learning techniques using challenging real-world data
- Master deep neural network implementation using the TensorFlow 1.x library
- Learn the mechanics of classification algorithms to implement the best tool for the job
- Predict continuous target outcomes using regression analysis
- Uncover hidden patterns and structures in data with clustering
- Delve deeper into textual and social media data using sentiment analysis
Who this book is for
If you know some Python and you want to use machine learning and deep learning, pick up this book. Whether you want to start from scratch or extend your machine learning knowledge, this is an essential and unmissable resource. Written for developers and data scientists who want to create practical machine learning and deep learning code, this book is ideal for developers and data scientists who want to teach computers how to learn from data.
- ISBN-109781787125933
- ISBN-13978-1787125933
- EditionSecond
- PublisherPackt Publishing
- Publication date20 Sept. 2017
- LanguageEnglish
- Dimensions19.05 x 3.58 x 23.5 cm
- Print length622 pages
There is a newer edition of this item:
From the Publisher
What's the key takeaway from your book
That machine learning can be useful in almost every problem domain. I cover a lot of different subfields of machine learning in my book; by providing hands-on examples for each one of those topics, my hope is that people can find inspiration for applying these fundamental techniques to drive their research or industrial applications.
Also, using well-developed and maintained open source software makes machine learning very accessible to a broad audience of experienced programmers, as well as people who are new to programming. And by introducing the basic mathematics behind machine learning, we can appreciate machine learning being more than just black box algorithms, giving readers an intuition of the capabilities but also limitations of machine learning, and how to apply those algorithms wisely.
What’s new & updated in this second edition of Python Machine Learning
Oh, where should I start. As time and the software world moved on after the first edition was released in September 2015, we decided to replace the introduction to deep learning via Theano. Don’t worry - we didn't remove it - but it got a substantial overhaul and is now based on TensorFlow, which has become a major player in my research toolbox since its release by Google in November 2015.
Along with the new introduction to deep learning using TensorFlow, the biggest additions to this new edition are three brand new chapters focusing on deep learning applications. In a similar vein to the rest of the book, these new chapters not only provide readers with practical instructions and examples, but also introduce the fundamental mathematics behind those concepts, which are an essential building block for understanding how deep learning works.
What makes this book stand out from other machine learning titles
I certainly can't speak about all books on the market. However, since the first edition was released, I engaged in countless discussions with my readers, to help them with particular questions and to get their opinion on the parts they found unclear or topics they wish I had covered.
The connection between theory and praxis in particular was what readers found most helpful and somewhat lacking from other introductory texts (which, I heard, were either too theoretical or too practical). This constructive feedback has been invaluable for the second edition, helping me to focus on those parts that were still left unclear.
In a nutshell, the second edition of Python Machine Learning provides a healthy mix of theory and practical examples that most people found so helpful in the first edition, and the second edition adds on top of it with many refinements and additional topics based on the large corpus of invaluable reader feedback.
Product description
Review
"I bought the first version of this book, and now also the second. The new version is very comprehensive. If you are using Python - it's almost a reference. I also like the emphasis on neural networks (and TensorFlow) - which (in my view) is where the Python community is heading.
I am also planning to use this book in my teaching at Oxford University. The data pre-processing sections are also good. I found the sequence flow slightly unusual - but for an expert level audience, it's not a major issue."
--Ajit Jaokar, Data Science for IoT Course Creator and Lead Tutor at the University of Oxford / Principal Data ScientistAbout the Author
Product details
- ASIN : 1787125939
- Publisher : Packt Publishing
- Publication date : 20 Sept. 2017
- Edition : Second
- Language : English
- Print length : 622 pages
- ISBN-10 : 9781787125933
- ISBN-13 : 978-1787125933
- Item weight : 1.14 kg
- Dimensions : 19.05 x 3.58 x 23.5 cm
- Best Sellers Rank: 1,960,098 in Books (See Top 100 in Books)
- 2,773 in Computing & Internet Databases
- Customer reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Sebastian Raschka, PhD is an LLM Research Engineer with over a decade of experience in artificial intelligence. His work bridges academia and industry, including roles as senior engineering staff at an AI company and a statistics professor.
As an independent researcher and industry expert, Sebastian collaborates with companies on AI solutions and serves on the Open Source Advisory Board at University of Wisconsin–Madison.
Sebastian specializes in LLMs and the development of high-performance AI systems, with a deep focus on practical, code-driven implementations.
Customer reviews
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United Kingdom
- 5 out of 5 stars
an excellent reference
Reviewed in the United Kingdom on 12 October 2017I bought the first version of this book . and now also the second. The new version is very comprehensive. If you are using Python - its almost a reference. I also like the emphasis on Neural networks (and tensorflow) - which (in my view) is where the Python community is heading. I am also planning to use this book in my teaching @Oxford Uni. The data pre-processing are also good. I found the sequence flow slightly unusual - but for an expert level audience .. its not a major issue
9 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Useful material for those who know Python looking to get into ML
Reviewed in the United Kingdom on 12 August 2018Easy to read, well structured and very useful. The only caveat I would add is that this is for Python programmers who have a reasonable background in maths but are new to ML, not those in ML looking to pick up Python.
5 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Well Design, great book for beginner
Reviewed in the United Kingdom on 20 May 2018I am impressed about how this book was designed, its layout is very logic and can take you from the basic terms to complicated knowledge, action is louder than speaking, it also use Scikit-learn to teach newbies like me to practice those theories, I will recommend it.
P.S. The book focus on supervised and unsupervised machine learning methods, but not much about reinforcement learning.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Very good book
Reviewed in the United Kingdom on 21 August 2021I am using theis book to teach data science
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great book! Presenting the machine learning algorithms and some ...
Reviewed in the United Kingdom on 30 November 2018Great book! Presenting the machine learning algorithms and some of the elements of the linked theory, altogether with Python code is really useful.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 1 out of 5 stars
Do not buy and avoid Packt publications
Reviewed in the United Kingdom on 9 January 2020I purchased two Packt publications on AI and ML. Both are extremely poorly written, poorly researched and extremely difficult to follow. Language, terms, descriptions and content are difficult to follow at best, or archaic at worst. Nothing is explained and require additional research at almost every step. Screenshots sizes are inconsistent, do not add value and in many cases are blown up to an extent where screenshot fonts well exceeds the book print. This gives the impression images are added to maximize uptake of the book print real estate. In some cases, you have to work out that some instructions are included in screenshots, rather than within the actual text. I have come to the conclusion that Packt publications are no more than résumé fillers for their authors. The publication includes no references. I learned more from YouTube videos. Beware of catchy one liners such as 'A Comprehensive Guide to Building Intelligent Apps for Python Beginners and Developers'. This is nothing more than bait. The book is an insult to the word 'comprehensive', and the best use python beginners may make of this publication is to send it back immediately for a refund and look for an academic and referenced text - Item not as described.
4 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great reading for Udacity’s machine learning nanodegree
Reviewed in the United Kingdom on 8 January 2018I’m using this book alongside the machine learning nanodegree by Udacity and it’s brilliant in explaining the why behind key concepts of machine learning!
4 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 1 out of 5 stars
Badly written basic applied stats book
Reviewed in the United Kingdom on 5 October 2019Basic multivariate statistics methods wrapped up in fancy machine learning terminology, which all comes down to methods that were around for decades to say the least. This is one of the books for the SQL data base administrators turned "data scientists" who don't understand statistics or data but want to get some results that probably don't mean anything sensible. Badly written, filled with useless code (why printing code on paper???) with virtually no mathematical notation or explanation of statistical methodology used by various methods implemented in sevaral Python packages. If you need to learn hot to run linear or logistic regression without understanding what you are doing this is a book to buy, though I have seen better written ones.
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
peyman abdolkarimzadeh5 out of 5 starsIt is a great book
Reviewed in Australia on 17 October 2019It is a great book. Read it and enjoy the ideas.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
janobeber5 out of 5 starsBon équilibre mathématique / informatique
Reviewed in France on 15 October 2018Le livre trouve un bon équilibre entre l'application du machine learning en python et les raisonnements mathématiques derrière les algorithmes. Il est très complet et je le conseille pour ceux qui souhaitent explorer le sujet en profondeur. Le code est mis a disposition pour téléchargement ce qui permet de tester directement ce qui est expliqué.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
SK LogW5 out of 5 starsGood balance of theory and code. Excellent for people who already have intermediate stats/ML knowledge.
Reviewed in the United States on 12 March 2018This book is excellent for the following demographic:
People who already have a decent level of skill and experience in statistics who want to:
- 1) Elevate their understanding of ML techniques without absolutely breaking their skull on dense theory
- 2) Learn how to implement the algorithms in Python and gain moderate proficiency in sci-kit learn
I would say it's not a beginner's book, but more for intermediates. I am half-way through and find it a little challenging, but definitely attainable. This balance I consider to be putting me right in the sweet spot for learning. To judge whether you're a good candidate for this book, you can compare your experience and skill to me :
I started this book after earning a PhD in the social sciences, which basically gave me good coverage in inferential and applied statistics (T, F distributions, p-values, confidence intervals, linear regression, one-way and factorial ANOVA, PCA, etc.). I also took a machine learning graduate course at my university and a few online courses in introductory ML for R. All of this background gave me solid grounding in statistics. With all this I still find this book somewhat challenging, but definitely not too hard. I'd say without my background I would find this book hard to get through. There is linear algebra, concepts like minimizing cost functions, bias/variance tradeoff, learning from errors, etc. So, if you are just starting out or reading the previous sentence and don't know what I'm talking about, I would recommend learning more stats fundamentals before starting this.
After you gain some proficiency in stats, come learn this book and elevate your understanding of the algorithms, add nuance to them, integrate them into your mental conceptual structures more fully (e.g. you'll know more nuances of ML, e.g. which subsets of algorithms are preferred for controlling more of the bias, variance, how random forest is basically bagging with a twist, how adaboost's treatment of classification errors has kind of an element of perceptron implementation, and many more).
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Satyakrishnan5 out of 5 starsAn excellent beginner's book
Reviewed in India on 3 May 2022This is one of the best beginner's books out there. If anyone wants to start ML they have to go through this book, although the DL part of the book uses TF version 1 which is not used anymore. You will also learn a lot of numpy, pandas and matplotlib features
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
まみむめ5 out of 5 starsCourseraのMachineLearningコースと併用がおすすめ
Reviewed in Japan on 3 January 2020内容が近く、おすすめです。早く購入すればよかった。
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
