AI Algorithms with Python Classic Algorithms from K-Nearest Neighbors to Reinforcement Learning
ISBN 978-1-4932-2916-1 500 pages, 2027
E-book formats: EPUB, PDF, online
ISBN 978-1-4932-2917-8 500 pages, 2027, Print edition paperback
E-book formats: EPUB, PDF, online
ISBN 978-1-4932-2918-5
- Implement classic machine learning and AI algorithms with Python from scratch
- Work with k-nearest neighbors, Naïve Bayes classifiers, linear regression, decision trees, and more
- Test the limits of each algorithm with hands-on exercises
In this book, you'll learn about:
-
Math and Data Science Foundations
Get an intro to the math you need—linear algebra, statistics, probability, and gradient descent—explained with code instead of proofs. Then learn the data science workflow: clean and explore data with pandas, engineer features, and evaluate models with metrics such as accuracy, precision, recall, and RMSE.
-
Algorithms from Scratch
Work through one algorithm at a time, from k-nearest neighbors and Naïve Bayes to support vector machines, neural networks, and Q-learning. Build each one in simple Python, apply it to real data in Jupyter Notebook, and then implement it professionally with scikit-learn.
-
Limitations and AI Ethics
Push each algorithm into situations it can’t handle—outliers, poor scaling, imbalanced classes, overfitting—to find out exactly why it fails. Understand the responsibility that comes with building AI models, and learn about bias, transparency, and the importance of keeping a human in the loop.
Highlights include
-
Mathematics for machine learning
-
Data science and evaluation metrics
-
k-nearest neighbors (kNN)
-
Naïve Bayes
-
Linear and logistic regression
-
Decision trees
-
k-means clustering
-
Support vector machines (SVMs)
-
Neural networks
-
Reinforcement learning
-
Pygame simulations
-
AI and ethics