Book Image

Machine Learning with R Quick Start Guide

By : Iván Pastor Sanz
Book Image

Machine Learning with R Quick Start Guide

By: Iván Pastor Sanz

Overview of this book

Machine Learning with R Quick Start Guide takes you on a data-driven journey that starts with the very basics of R and machine learning. It gradually builds upon core concepts so you can handle the varied complexities of data and understand each stage of the machine learning pipeline. From data collection to implementing Natural Language Processing (NLP), this book covers it all. You will implement key machine learning algorithms to understand how they are used to build smart models. You will cover tasks such as clustering, logistic regressions, random forests, support vector machines, and more. Furthermore, you will also look at more advanced aspects such as training neural networks and topic modeling. By the end of the book, you will be able to apply the concepts of machine learning, deal with data-related problems, and solve them using the powerful yet simple language that is R.
Table of Contents (9 chapters)

Deep learning in neural networks

For machine learning, we need systems that can process nonlinear and unrelated sets of data. This is very important so that we can make predictions for bankruptcy problems, since the relationship between the default and explanatory variables will rarely be linear. Therefore, using neural networks is the best possible solution.

Artificial neural networks (ANNs) have long since been used to solve bankruptcy problems. An ANN is a computer system that has a number of interconnected processors. These processors provide outputs by processing information and by responding dynamically to the inputs that are provided. A prominent and basic example of ANN is the multilayer perceptron (MLP). An MLP can be represented as follows:

Except for the input nodes, each node is a neuron that uses a nonlinear activation function, which was sent in.

As is evident from...