Author: Xiaoya Li (3033286791), Shiyun Huang (3033203799)
- Clone this repository
- Create a
/data
folder and put all image.txt files in the folder - The
utils.R
in the/code
folder contains all functions we used to perform model fitting, including theCVgeneric
function that is required in 2d). - In the
/analysis
folder:
data_preparation.Rmd
anddata_preparation_v2.Rmd
contains code that preprocesses the image datamodels_analysis.Rmd
contains code that fits models(logistic, LDA, QDA) and further model diagnosticKNN_analysis.Rmd
contains code that fits KNN modelsQDA_diagonstic.Rmd
contains code that analysis the QDA model and adding new features by Using EM algorithm