Skip to content

This project involved an interrogation of the SVM and Naive-Bayes algorithms with a marine classification data problem posed by Professor Dr. Amber Stubler. Dr. Stubler’s research is concerned with the marine community ecology of kelp and coral reef ecosystems, honing in specifically on Caribbean coral reef recruitment under different sedimentat…

Notifications You must be signed in to change notification settings

seanemery1/ml-naive-bayes-SVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT INFORMATION

https://seanemery1.github.io/ml-naive-bayes-SVM-PDF/

SETUP INSTRUCTIONS

  1. open runScripts.m

  2. modify line 13 of runScripts.m - change 'directoryPath' to the project folder

  3. run runScripts.m

FUNCTIONS (Inputs/Outputs)

  1. imagePreProcessingRandomSampling.m
    in: images
    out: pixel location-label matrices for both randomly and evenly sampled data from each image

  2. tableGeneratorRandomSampling.m
    in: training images and location-label matrices
    out: resultsRandom.mat (training set matrix with pixel rows & feature/label columns)

  3. tableGeneratorEvenSampling.m
    in: training images and location-label matrices
    out: resultsRandom.mat (training set matrix with pixel rows & feature/label columns)

  4. runNaiveBayes.m
    in: training set matrix, test images, cross-validation bool
    out: prediction images, performance stats (confusion matrices for accuracy/misclassification rates, best performing & worst performing image)

  5. runSoftSVM.m
    in: training set matrix, test images, cross-validation bool, data standardization bool
    out: prediction images, performance stats (confusion matrices for accuracy/misclassification rates, best performing & worst performing image)

About

This project involved an interrogation of the SVM and Naive-Bayes algorithms with a marine classification data problem posed by Professor Dr. Amber Stubler. Dr. Stubler’s research is concerned with the marine community ecology of kelp and coral reef ecosystems, honing in specifically on Caribbean coral reef recruitment under different sedimentat…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages