O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Where Does It Belong? Classification

In this chapter, we will cover the following recipes:

  • Generating error/classification confusion matrices
  • Principal Component Analysis
  • Generating receiver operating characteristic charts
  • Building, plotting, and evaluating with classification trees
  • Using random forest models for classification
  • Classifying using the support vector machine approach
  • Classifying using the Naive Bayes approach
  • Classifying using the KNN approach
  • Using neural networks for classification
  • Classifying using linear discriminant function analysis
  • Classifying using logistic regression
  • Text classification for sentiment analysis

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required