Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
noellekosarek committed Aug 29, 2024
1 parent 02c053b commit 8408108
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified Lectures/.DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions Lectures/Machine_Learning/20240821_ML_Lecture_Code.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ CARET includes built in data with which we can begin our foray into machine lear
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# READ IN SCAT DATA
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data(scat)
# Let's take a look at what our data look like
head(scat)
Expand Down Expand Up @@ -97,6 +99,7 @@ Now comes the fun part, we get to pick a model, and there are so many to choose

* Support Vector Machine - a support vector machine finds a hyperplane to best divide data defined by support vectors (ie. co-ordninates) in n-dimensional space. In other words, we move low dimensional data into a higher dimensional space by leveraging a kernal function and cross validation to find an optimal transformation. Then we find the best plane that divides our data into classifications.
- Advantage Alert: one of the major advantages of SVMs is that they can handle outliers

* Partial Least Squares Discriminant Analysis (PLS-DA) - PLS-DA is a dimensionality reduction method that incorporates labels in the analysis. PLS-DA uses labels to find the direction of maximum class separation, where principal component analysis (PCA) simply maximizes variance without label information.

* K-Nearest Neighbor (KNN) - KNN is a non-parametric supervised learning method that uses proximity to make predictions and classifications.
Expand Down

0 comments on commit 8408108

Please sign in to comment.