ENGLISH

Hands-On Deep Learning with R: A practical guide to designing, building, and improving neural network models using R

Book information

Publisher
Packt Publishing
Year
2020
ISBN
1788996836, 9781788996839
Language
english
Format
PDF
Filesize
13 MB (14136512 bytes)
Pages
330\317
Time added
2020-06-06 14:09:18

Description

Explore and implement deep learning to solve various real-world problems using modern R libraries such as TensorFlow, MXNet, H2O, and Deepnet Key Features Understand deep learning algorithms and architectures using R and determine which algorithm is best suited for a specific problem Improve models using parameter tuning, feature engineering, and ensembling Apply advanced neural network models such as deep autoencoders and generative adversarial networks (GANs) across different domainsBook Description Deep learning enables efficient and accurate learning from a massive amount of data. This book will help you overcome a number of challenges using various deep learning algorithms and architectures with R programming. This book starts with a brief overview of machine learning and deep learning and how to build your first neural network. You'll understand the architecture of various deep learning algorithms and their applicable fields, learn how to build deep learning models, optimize hyperparameters, and evaluate model performance. Various deep learning applications in image processing, natural language processing (NLP), recommendation systems, and predictive analytics will also be covered. Later chapters will show you how to tackle recognition problems such as image recognition and signal detection, programmatically summarize documents, conduct topic modeling, and forecast stock market prices. Toward the end of the book, you will learn the common applications of GANs and how to build a face generation model using them. Finally, you'll get to grips with using reinforcement learning and deep reinforcement learning to solve various real-world problems. By the end of this deep learning book, you will be able to build and deploy your own deep learning applications using appropriate frameworks and algorithms. What you will learn Design a feedforward neural network to see how the activation function computes an output Create an image recognition model using convolutional neural networks (CNNs) Prepare data, decide hidden layers and neurons and train your model with the backpropagation algorithm Apply text cleaning techniques to remove uninformative text using NLP Build, train, and evaluate a GAN model for face generation Understand the concept and implementation of reinforcement learning in RWho this book is for This book is for data scientists, machine learning engineers, and deep learning developers who are familiar with machine learning and are looking to enhance their knowledge of deep learning using practical examples. Anyone interested in increasing the efficiency of their machine learning applications and exploring various options in R will also find this book useful. Basic knowledge of machine learning techniques and working knowledge of the R programming language is expected. Table of Contents Machine Learning Basics Setting Up R for Deep Learning Artificial Neural Networks Convolutional Neural Networks for Image Recognition Multilayer Perceptron Neural Networks for Signal Detection Neural Collaborative Filtering Using Embeddings Deep Learning for Natural Language Processing Long Short-Term Memory Networks for Stock Forecast Generative Adversarial Networks for Face Generation Reinforcement Learning for gaming Deep Q Learning for Maze Solving Cover Title Page Copyright and Credits Dedication About Packt Contributors Table of Contents Preface Section 1: Deep Learning Basics Chapter 1: Machine Learning Basics An overview of machine learning Preparing data for modeling Handling missing values Training a model on prepared data Train and test data Choosing an algorithm Evaluating model results Machine learning metrics Improving model results Reviewing different algorithms Summary Chapter 2: Setting Up R for Deep Learning Technical requirements Installing the packages Installing ReinforcementLearning Installing RBM Installing Keras Installing H2O Installing MXNet Preparing a sample dataset Exploring Keras Available functions A Keras example Exploring MXNet Available functions Getting started with MXNet Exploring H2O Available functions An H2O example Exploring ReinforcementLearning and RBM Reinforcement learning example An RBM example Comparing the deep learning libraries Summary Chapter 3: Artificial Neural Networks Technical requirements Contrasting deep learning with machine learning Comparing neural networks and the human brain Utilizing bias and activation functions within hidden layers Surveying activation functions Exploring the sigmoid function Investigating the hyperbolic tangent function Plotting the rectified linear units activation function Calculating the Leaky ReLU activation function Defining the swish activation function Predicting class likelihood with softmax Creating a feedforward network Writing a neural network with Base R Creating a model with Wisconsin cancer data Augmenting our neural network with backpropagation Summary Section 2: Deep Learning Applications Chapter 4: CNNs for Image Recognition Technical requirements Image recognition with shallow nets Image recognition with convolutional neural networks Optimizers Loss functions Evaluation metrics Enhancing the model with additional layers Choosing the most appropriate activation function Selecting optimal epochs using dropout and early stopping Summary Chapter 5: Multilayer Perceptron for Signal Detection Technical requirements Understanding multilayer perceptrons Preparing and preprocessing data Deciding on the hidden layers and neurons Training and evaluating the model Summary Chapter 6: Neural Collaborative Filtering Using Embeddings Technical requirements Introducing recommender systems Collaborative filtering with neural networks Exploring embeddings Preparing, preprocessing, and exploring data Performing exploratory data analysis Creating user and item embeddings Building and training a neural recommender system Evaluating results and tuning hyperparameters Hyperparameter tuning Adding dropout layers  Adjusting for user-item bias Summary Chapter 7: Deep Learning for Natural Language Processing Formatting data using tokenization Cleaning text to remove noise Applying word embeddings to increase usable data Clustering data into topic groups Summarizing documents using model results Creating an RBM Defining the Gibbs sampling rate Speeding up sampling with contrastive divergence Computing free energy for model evaluation Stacking RBMs to create a deep belief network Summary Chapter 8: Long Short-Term Memory Networks for Stock Forecasting Technical requirements Understanding common methods for stock market prediction Preparing and preprocessing data Configuring a data generator Training and evaluating the model Tuning hyperparameters to improve performance Summary Chapter 9: Generative Adversarial Networks for Faces Technical requirements An overview of GANs Defining the generator model Defining the discriminator model Preparing and preprocessing a dataset Loading the libraries and data files Resizing our images Merging arrays Training and evaluating the model Defining the GAN model Passing data to the GAN model Training the GAN model Generating random images Selecting real images Combining real and fake images Creating target labels Passing input to the discriminator model Updating the row selector Evaluating the model Summary Section 3: Reinforcement Learning Chapter 10: Reinforcement Learning for Gaming Technical requirements Understanding the concept of reinforcement learning Preparing and processing data Configuring the reinforcement agent Tuning hyperparameters Summary Chapter 11: Deep Q-Learning for Maze Solving Technical requirements Creating an environment for reinforcement learning Defining an agent to perform actions Building a deep Q-learning model  Running the experiment Improving performance with policy functions Summary Other Books You May Enjoy Index

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF