Publications by Dr. Chelsey Hill
Hierarchical Cluster Analysis (HCA)
Preliminary We will use the DescTools and caret packages, which were previously installed. In addition, we use the ggplot2 and factoextra for plotting, as well as the cluster and fpc packages. install.packages(c("cluster", "factoextra", "fpc", "ggplot2")) Next, we load all of the necessary libraries for use in the session. li...
5890 sym R (6554 sym/32 pcs) 8 img
Cluster Validation
Preliminary We will use the DescTools and caret packages, which were previously installed. In addition, we use the ggplot2 and factoextra for plotting, as well as the cluster and fpc packages. Next, we load all of the necessary libraries for use in the session. library(caret) library(DescTools) library(ggplot2) library(cluster) library(factoe...
5748 sym R (2420 sym/22 pcs) 6 img
Principal Components Analysis (PCA)
Preliminary We will use the DescTools, caret and factoextra packages in the lesson that follows. First, we load the packages for use. library(caret) library(DescTools) library(factoextra) Principal Components Analysis Example 1 The USArrests data set, which is a built-in dataset, contains statistics, in arrests per 100,000 residents for assau...
5449 sym R (10014 sym/42 pcs) 9 img
Classification: Artificial Neural Networks
Preliminary We will use a new package, the NeuralNetTools package, to visualize our ANN. If you do not already have the NeuralNetTools package installed, you will first install it using the install.packages() function. install.packages("NeuralNetTools") In this lesson, we will also use the DescTools and caret packages. Next, we load the three pac...
8454 sym R (7832 sym/26 pcs) 3 img
Classification: Support Vector Machines
Preliminary We will not use any new packages, so we will not install any packages. In this lesson, we will use the DescTools, caret and e1071 packages. Next, we load these packages for use in the session. library(caret) library(DescTools) library(e1071) In the lesson that follows we will use the BostonHousing.csv file. The famous Boston Housing...
8830 sym R (12252 sym/40 pcs) 2 img
Classification: k-Nearest Neighbors
Preliminary We will use the DescTools, caret and class packages. If you do not already have the class package installed, you will first install it using the install.packages() function. install.packages("class") Next, we load all of the necessary libraries for use in the session. library(caret) library(DescTools) library(class) In the lesson th...
9365 sym R (9733 sym/48 pcs) 3 img
Classification: Naive Bayes
Preliminary We will use the DescTools, caret and e1071 packages. If you do not already have the e1071 package installed, you will first install it using the install.packages() function. install.packages("e1071") Next, we load all of the necessary libraries for use in the session. library(caret) library(DescTools) library(e1071) In this lesson, ...
8355 sym R (8918 sym/38 pcs) 3 img
Classification Analysis: Logistic Regression
Preliminary We will not use any new packages, so we will not install any packages. In this lesson, we will use the DescTools and caret packages. Next, we load these packages for use in the session. library(caret) library(DescTools) In the lesson that follows we will use the BostonHousing.csv file. The famous Boston Housing dataset contains data ...
8633 sym R (9312 sym/44 pcs) 2 img
Classification: Decision Trees
Preliminary We will use the DescTools, caret, rpart and rpart.plot packages. If you do not already have the rpart and rpart.plot packages installed, you will first install it using the install.packages() function. install.packages(c("rpart", "rpart.plot")) Next, we load all of the necessary libraries for use in the session. library(caret) librar...
12834 sym R (14289 sym/50 pcs) 5 img
Classification: Ensemble Methods
Preliminary We will use the DescTools, caret, randomForest and ipred packages. If you do not already have the randomForest and ipred packages installed, you will first install them using the install.packages() function. install.packages(c("randomForest", "ipred")) Next, we load all of the necessary libraries for use in the session. library(caret)...
13688 sym R (15462 sym/59 pcs) 5 img