Leanpub Header

Skip to main content

Hacker's Guide to Machine Learning with Python

Hands-on guide to solving real-world Machine Learning problems with Scikit-Learn, TensorFlow 2, and Keras

This book brings the fundamentals of Machine Learning to you, using tools and techniques used to solve real-world problems in Computer Vision, Natural Language Processing, and Time Series analysis. The skills taught in this book will lay the foundation for you to advance your journey to Machine Learning Mastery!

Minimum price

$19.99

$39.99

You pay

$39.99

Author earns

$31.99
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
1,684
Readers
272
Pages
About

About

About the Book

Deep Learning has revolutionized the Machine Learning field. Python tools like Scikit-Learn, Pandas, TensorFlow, and Keras allows you to develop state-of-the-art applications powered by Machine Learning.

This book is written for you, the Machine Learning practitioner. Every chapter describes a problem and a solution that you'll encounter in your Machine Learning Journey.

  • Get started with TensorFlow 2 and Keras
  • Deploy a complete Keras Deep Learning project to production with Flask
  • Learn about fundamental/classical Machine Learning algorithms
  • Hyperparameter tuning with Keras Tuner
  • Learn how to debug your model when it is underfitting or overfitting
  • Predict cryptocurrency prices using LSTMs
  • Detect anomalies in Time Series data
  • Detect objects in images
  • Recognize user intents from raw text data

Author

About the Author

Venelin Valkov

Hello there!

I'm excited to welcome you to the wonderful world of Machine Learning! My name is Venelin and I'm thrilled to be your guide on this journey.

With over 5 years of experience in Machine Learning and 10+ years in Software Development, I have worked on several exciting projects, ranging from sentiment analysis, price prediction, and document text extraction to training Object Detection algorithms. Currently, my focus is on Large Language Models such as ChatGPT, which has been a fascinating area of exploration for me.

I look forward to sharing my knowledge and experience with you and helping you discover the limitless possibilities that Machine Learning offers. Let's embark on this adventure together!

Contents

Table of Contents

TensorFlow 2 and Keras - Quick Start Guide

  1. Setup
  2. Tensors
  3. Simple Linear Regression Model
  4. Simple Neural Network Model
  5. Save/Restore Model
  6. Conclusion
  7. References

Build Your First Neural Network

  1. Setup
  2. Fashion data
  3. Data Preprocessing
  4. Create your first Neural Network
  5. Train your model
  6. Making predictions
  7. Conclusion

End to End Machine Learning Project

  1. Define objective/goal
  2. Load data
  3. Data exploration
  4. Prepare the data
  5. Build your model
  6. Save the model
  7. Build REST API
  8. Deploy to production
  9. Conclusion
  10. References

Fundamental Machine Learning Algorithms

  1. What Makes a Learning Algorithm?
  2. Our Data
  3. Linear Regression
  4. Logistic Regression
  5. k-Nearest Neighbors
  6. Naive Bayes
  7. Decision Trees
  8. Support Vector Machines (SVM)
  9. Conclusion
  10. References

Data Preprocessing

  1. Feature Scaling
  2. Handling Categorical Data
  3. Adding New Features
  4. Predicting Melbourne Housing Prices
  5. Conclusion
  6. References

Handling Imbalanced Datasets

  1. Data
  2. Baseline model
  3. Using the correct metrics
  4. Weighted model
  5. Resampling techniques
  6. Conclusion
  7. References

Fixing Underfitting and Overfitting Models

  1. Data
  2. Underfitting
  3. Overfitting
  4. Conclusion
  5. References

Hyperparameter Tuning

  1. What is a Hyperparameter?
  2. When to do Hyperparameter Tuning?
  3. Common strategies
  4. Finding Hyperparameters
  5. Conclusion
  6. References

Heart Disease Prediction

  1. Patient Data
  2. Data Preprocessing
  3. The Model
  4. Training
  5. Predicting Heart Disease
  6. Conclusion

Time Series Forecasting

  1. Time Series
  2. Recurrent Neural Networks
  3. Time Series Prediction with LSTMs
  4. Conclusion
  5. References

Cryptocurrency price prediction using LSTMs

  1. Data Overview
  2. Time Series
  3. Modeling
  4. Predicting Bitcoin price
  5. Conclusion

Demand Prediction for Multivariate Time Series with LSTMs

  1. Data
  2. Feature Engineering
  3. Exploration
  4. Preprocessing
  5. Predicting Demand
  6. Evaluation
  7. Conclusion
  8. References

Time Series Classification for Human Activity Recognition with LSTMs in Keras

  1. Human Activity Data
  2. Classifying Human Activity
  3. Evaluation
  4. Conclusion
  5. References

Time Series Anomaly Detection with LSTM Autoencoders using Keras in Python

  1. Anomaly Detection
  2. LSTM Autoencoders
  3. S&P 500 Index Data
  4. LSTM Autoencoder in Keras
  5. Finding Anomalies
  6. Conclusion
  7. References

Object Detection

  1. Object Detection
  2. RetinaNet
  3. Preparing the Dataset
  4. Detecting Vehicle Plates
  5. Conclusion
  6. References

Image Data Augmentation

  1. Tools for Image Augmentation
  2. Augmenting Scanned Documents
  3. Creating Augmented Dataset
  4. Conclusion
  5. References

Sentiment Analysis

  1. Universal Sentence Encoder
  2. Hotel Reviews Data
  3. Sentiment Analysis
  4. Conclusion
  5. References

Intent Recognition with BERT

  1. Data
  2. BERT
  3. Intent Recognition with BERT
  4. Conclusion
  5. References

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub