Book Image

Neural Network Projects with Python

By : James Loy
Book Image

Neural Network Projects with Python

By: James Loy

Overview of this book

Neural networks are at the core of recent AI advances, providing some of the best resolutions to many real-world problems, including image recognition, medical diagnosis, text analysis, and more. This book goes through some basic neural network and deep learning concepts, as well as some popular libraries in Python for implementing them. It contains practical demonstrations of neural networks in domains such as fare prediction, image classification, sentiment analysis, and more. In each case, the book provides a problem statement, the specific neural network architecture required to tackle that problem, the reasoning behind the algorithm used, and the associated Python code to implement the solution from scratch. In the process, you will gain hands-on experience with using popular Python libraries such as Keras to build and train your own neural networks from scratch. By the end of this book, you will have mastered the different neural network architectures and created cutting-edge AI projects in Python that will immediately strengthen your machine learning portfolio.
Table of Contents (10 chapters)

What this book covers

Chapter 1, Machine Learning and Neural Networks 101, covers the basics of machine learning and neural networks. The first chapter aims to solidify your understanding of machine learning and neural networks. To do that, we'll create our own neural network from scratch in Python, without any machine learning libraries.

Chapter 2, Predicting Diabetes with Multilayer Perceptrons, kick-starts our first neural network project. Using a basic neural network known as a multilayer perceptron, we'll build a classifier that can predict whether a patient is at risk of diabetes.

Chapter 3, Predicting Taxi Fares with Deep Feedforward Nets, makes use of a deep feedforward neural network in a regression problem. In particular, we'll use a neural network to predict taxi fares in New York City.

Chapter 4, Cats Versus Dogs – Image Classification Using CNNs, uses a convolutional neural network (CNN) for an image classification problem. We'll use the CNN to predict whether an image includes a cat or a dog.

Chapter 5, Removing Noise from Images Using Autoencoders, leverages on autoencoders for noise removal in images. The images come from office documents corrupted by coffee stains and other artifacts. We'll use autoencoders to remove these artifacts from the images, restoring them to their original state.

Chapter 6, Sentiment Analysis on Movie Reviews Using LSTM, uses a long short-term memory (LSTM) neural network to analyze and classify the sentiment of movie reviews posted online. We'll create an LSTM neural network that is able to discern the sentiment of written English sentences.

Chapter 7, Implementing a Face Recognition System with Neural Networks, uses a Siamese neural network to build a facial recognition system that can recognize our own faces, using the webcam in our laptop.

Chapter 8, What's Next?, summarizes everything that we have learned in this book. We'll peer ahead into the future and see what machine learning and AI will look like in the next few years.