Linear Discriminant Analysis (LDA) Lab
Learn to code LDA in this lab.
Goal
In this lab, we’ll again try to predict players’ skill level, that is, the SkillLevel
column, which takes integer values between 0
and 3
, with 0
being novice
and `3` being expert
. We’ll continue to use the caret package for this model.
Brief refresher
Linear Discriminant Analysis (LDA) is a method that uses vector space projection to find the best linear decision hyperplanes that separate the classes.
Preparation
The caret
package’s LDA is taken from the MASS
package.
Get hands-on with 1200+ tech skills courses.