Skip to content

A short Perceptron classifier coded from scratch, trained on olfactory response data to different sets of stimuli.

Notifications You must be signed in to change notification settings

edorachlee/olfactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Author: Chang Hi Lee

Description: This code attempts to classify locust olfactory response to two types of odors, Hexanol(pink) and Benzaldehyde(blue). The Perceptron classifier(a.k.a "filter" in code) is trained on two sets of responses from pink and blue stimuli, respectively. Then, it predicts the response to a new set of pink and blue stimuli. The accuracy comparisons of each prediction are plotted.

Instructions: You will need MATLAB. Run "Perceptron.m" to see results. Place the accompanying "Data.mat" within the same directory, because the script will load in this data at runtime. Make sure to have the Curve Fitting and Signal Processing toolboxes installed.

Note: Performed as part of school work. Course number and instructor information have been omitted to prevent plagiarism.

About

A short Perceptron classifier coded from scratch, trained on olfactory response data to different sets of stimuli.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages