Advanced Machine Learning with R
eBook - ePub

Advanced Machine Learning with R

Tackle data analytics and machine learning challenges and build complex applications with R 3.5

  1. 664 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Advanced Machine Learning with R

Tackle data analytics and machine learning challenges and build complex applications with R 3.5

About this book

Master machine learning techniques with real-world projects that interface TensorFlow with R, H2O, MXNet, and other languages

Key Features

  • Gain expertise in machine learning, deep learning and other techniques
  • Build intelligent end-to-end projects for finance, social media, and a variety of domains
  • Implement multi-class classification, regression, and clustering

Book Description

R is one of the most popular languages when it comes to exploring the mathematical side of machine learning and easily performing computational statistics.

This Learning Path shows you how to leverage the R ecosystem to build efficient machine learning applications that carry out intelligent tasks within your organization. You'll tackle realistic projects such as building powerful machine learning models with ensembles to predict employee attrition. You'll explore different clustering techniques to segment customers using wholesale data and use TensorFlow and Keras-R for performing advanced computations. You'll also be introduced to reinforcement learning along with its various use cases and models. Additionally, it shows you how some of these black-box models can be diagnosed and understood.

By the end of this Learning Path, you'll be equipped with the skills you need to deploy machine learning techniques in your own projects.

This Learning Path includes content from the following Packt products:

  • R Machine Learning Projects by Dr. Sunil Kumar Chinnamgari
  • Mastering Machine Learning with R - Third Edition by Cory Lesmeister

What you will learn

  • Develop a joke recommendation engine to recommend jokes that match users' tastes
  • Build autoencoders for credit card fraud detection
  • Work with image recognition and convolutional neural networks
  • Make predictions for casino slot machine using reinforcement learning
  • Implement NLP techniques for sentiment analysis and customer segmentation
  • Produce simple and effective data visualizations for improved insights
  • Use NLP to extract insights for text
  • Implement tree-based classifiers including random forest and boosted tree

Who this book is for

If you are a data analyst, data scientist, or machine learning developer this is an ideal Learning Path for you. Each project will help you test your skills in implementing machine learning algorithms and techniques. A basic understanding of machine learning and working knowledge of R programming is necessary to get the most out of this Learning Path.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Image Recognition Using Deep Neural Networks

In 1966, Professor Seymour Papert at MIT conceptualized an ambitious summer project titled The Summer Vision Project. The task for the graduate student was to plug a camera into a computer and enable it to understand what it sees! I am sure it would have been super-difficult for the graduate student to have finished this project, as even today the task remains half complete.
A human being, when they look outside, is able to recognize the objects that they see. Without thinking, they are able to classify a cat as a cat, a dog as a dog, a plant as a plant, an animal as an animal—this is happening because the human brain draws knowledge from its extensive prelearned database. After all, as human beings, we have millions of years' worth of evolutionary context that enables us draw inferences from the thing that we see. Computer vision deals with replicating the human vision processes so as to pass them on to machines and automate them.
This chapter is all about learning the theory and implementation of computer vision through machine learning (ML). We will build a feedforward deep learning network and LeNet to enable handwritten digit recognition. We will also build a project that uses a pretrained Inception-BatchNorm network to identify objects in an image. We will cover the following topics as we progress in this chapter:
  • Understanding computer vision
  • Achieving computer vision with deep learning
  • Introduction to the MNIST dataset
  • Implementing a deep learning network for handwritten digit recognition
  • Implementing computer vision with pretrained models

Technical requirements

For the projects covered in this chapter, we'll make use of a very popular open dataset called MNIST. We'll use Apache MXNet, a modern open source deep learning software framework to train and deploy the required deep neural networks.

Understanding computer vision

In today's world, we have advanced cameras that are very successful at mimicking how a human eye captures light and color; but image-capturing in the right way is just stage one in the whole image-comprehension aspect. Post image-capturing, we will need to enable technology that interprets what has been captured and build context around it. This is what the human brain does when the eyes see something. Here comes the huge challenge: we all know that computers see images as huge piles of integer values that represent intensities across a spectrum of colors, and of course, computer have no context associated with the image itself. This is where ML comes into play. ML allows us to train a context for a dataset such that it enables computers to understand what objects certain sequences of numbers actually represent.
Computer vision is one of the emerging areas where ML is applied. It can be used for several purposes in various domains, including healthcare, agriculture, insurance, and the automotive industry. The following are some of its most popular applications:
  • Detecting diseases from medical images, such as CT scan/MRI scan images
  • Identifying crop diseases and soil quality to support a better crop yield
  • Identifying oil reserves from satellite images
  • Self-driving cars
  • Monitoring and managing skin condition for psoriasis patients
  • Classifying and distinguishing weeds from crops
  • Facial recognition
  • Extracting information from personal documents, such as passports and ID cards
  • Detecting terrain for drones and airplanes
  • Biometrics
  • Public surveillance
  • Organizing personal photos
  • Answering visual questions
This is just the tip of the iceberg. It's not an overstatement to say that there is no domain where we cannot find an application for computer vision. Therefore, computer vision is a key area for ML practitioners to focus on.
2323__perlego_...

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. About Packt
  4. Contributors
  5. Preface
  6. Preparing and Understanding Data
  7. Linear Regression
  8. Logistic Regression
  9. Advanced Feature Selection in Linear Models
  10. K-Nearest Neighbors and Support Vector Machines
  11. Tree-Based Classification
  12. Neural Networks and Deep Learning
  13. Creating Ensembles and Multiclass Methods
  14. Cluster Analysis
  15. Principal Component Analysis
  16. Association Analysis
  17. Time Series and Causality
  18. Text Mining
  19. Exploring the Machine Learning Landscape
  20. Predicting Employee Attrition Using Ensemble Models
  21. Implementing a Jokes Recommendation Engine
  22. Sentiment Analysis of Amazon Reviews with NLP
  23. Customer Segmentation Using Wholesale Data
  24. Image Recognition Using Deep Neural Networks
  25. Credit Card Fraud Detection Using Autoencoders
  26. Automatic Prose Generation with Recurrent Neural Networks
  27. Winning the Casino Slot Machines with Reinforcement Learning
  28. Creating a Package
  29. Other Books You May Enjoy

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Advanced Machine Learning with R by Cory Lesmeister, Dr. Sunil Kumar Chinnamgari in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over one million books available in our catalogue for you to explore.