# Machine Learning in R: Random Forests/FFTrees

Fast and Frugal Trees. Yep. This is a great package. If you need some quick down and dirty attributes to make a decision this is will help you. We will be going over whether or not a mushroom is poisonous. I will help you set up the problem, by building a Training and Test set. We will build the model and I will show you how to test it and see how the model performed. This tutorial is a good intro to machine/supervised learning.

Duration (mins)

Learners

#### 5.0 / 5

Rating

We will cover the following tasks in 22 minutes:

### Introduction

We will go over Rhyme Interface and Introduction. Come on in.

### How many are Poisonous

It’s always a good idea to do some EA or Exploratory Analysis before you begin building a model. We will do that today on our response variable.

### Training And Test Split

I will show you how to break up a data.frame into training and test sets. Being able to do this quickly will help you in your future modelling.

### Training the Model

Time to train the model. This is a mathematical feat by the way. We just have been born in the right century as our computers do most of the hard work. But don’t dismiss it, it’s cool.

### Confusion Matrix

We will go over the built in plot and confusion matrix in this section. There is also another cool plot that allows us to see how the different trees correspond to accuracy.

### Predict

In this chapter we will predict on our Test set and then see how we did by using the table function.

## Watch Preview

Preview the instructions that you will follow along in a hands on session in your browser.

## About the Host (Chris Shockley)

I am a R enthusiast, hiker, and amateur astronomer. My favorite hike is located in Mt. Rainier National Park, my favorite Deep Sky Object is Alberio, and my favorite R package is dplyr (since I use it everyday). I am single too. Maybe because I spend too much time playing? I have a dog named Coog (Lllasa Apso), who would rather be outside than inside, which means I have to take him on a lot of walks. I work as a Data Analyst/Financial Analyst for a Metals Co. located in Seattle, WA. I have been in my current position for 4 years. My hope is that I can help you, even if its with my enthusiasm. Yes you can learn R and the Rhyme Interface will help you. But. You also must take what you learn and practice, practice, practice. So... Let's get after it. See you soon.

##### How is this different from YouTube, PluralSight, Udemy, etc.?
In Rhyme, all sessions are completely hands on. You don't just passively watch someone else. You use the software directly while following the host's (Chris Shockley) instructions. Using the software is the only way to achieve mastery. With the "Live Guide" option, you can ask for help and get immediate response.
##### Can I buy Rhyme sessions for my company or learning institution?
Absolutely. We offer Rhyme for workgroups as well larger departments and companies. Universities, academies, and bootcamps can also buy Rhyme for their settings. You can select sessions and trainings that are mission critical for you and, as well, author your own that reflect your own needs and tech environments. Please email us at help@rhyme.com
##### I have a different question
Please email us at help@rhyme.com and we'll respond to you within one business day.

44 minutes
36 minutes
36 minutes
21 minutes
41 minutes
26 minutes
34 minutes
32 minutes