concept performance in category R

appears as: performce, performce, performance, The performce
Machine Learning with R, the tidyverse, and mlr

This is an excerpt from Manning's book Machine Learning with R, the tidyverse, and mlr.

  • Dimension-reduction algorithms take unlabeled (because they are unsupervised learning methods) and high-dimensional data (data with many variables) and learn a way of representing it in a lower number of dimensions. Dimension-reduction algorithms may be used as an exploratory technique (because it’s very difficult for humans to visually interpret data in more than two or three dimensions at once) or as a preprocessing step in the machine learning pipeline (it can help mitigate problems such as collinearity and the curse of dimensionality, terms I’ll define in later chapters). Dimension-reduction algorithms can also be used to help us visually confirm the performance of classification and clustering algorithms (by allowing us to plot the data in two or three dimensions).
  • Figure 3.9. A summary of the predict() and performance() functions of mlr. predict() passes observations into a model and outputs the predicted values. performance() compares these predicted values to the cases’ true values and outputs one or more performance metrics summarizing the similarity between the two.
  • Build the model, but omit the Fare variable:
    titanicNoFare <- select(titanicClean, -Fare)
    
    titanicNoFareTask <- makeClassifTask(data = titanicNoFare,
                                         target = "Survived")
    
    logRegNoFare <- resample(logRegWrapper, titanicNoFareTask,
                             resampling = kFold,
                             measures = list(acc, fpr, fnr))
    
    logRegNoFare
    Omitting the Fare variable makes little difference to model performance, because it has no additional predictive value to the Pclass variable (look at the odds ratio and confidence interval for Fare in listing 4.13).
  • By the end of this chapter, I hope you’ll understand a general approach to clustering and what over- and underfitting look like for clustering tasks. I’ll show you how to apply k-means clustering to a dataset and ways of evaluating clustering performance.