5.0 / 5
We will cover the following tasks in 22 minutes:
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.
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.
In this chapter we will predict on our Test set and then see how we did by using the table function.
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.