Skip to content

Analysing data from PiStar's smart chair and training classifiers using various machine learning algorithms.

Notifications You must be signed in to change notification settings

brahad316/smart-chair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Smart Chair

ML classifier and analysis

We used different ML algorithms to train a classifier model to classify a test subject's posture. Here is how different models performed.

Tree

Max number of splits: 100 Split criterion: Gini's diversity index Surrogate decision splits: off

Confusion matrix:

image

Results:

image

Support Vector Machine (SVM)

  • Linear SVM

Confusion matrix:

image

Results:

image

  • Gaussian SVM

Confusion matrix:

image

Results:

image

K Nearest Neighbours (KNN)

Number of nearest neighbours: 3 Distance metric: Euclidean

Confusion matrix:

image

Results:

image

Neural Networks

  • network 1:

number of layers: 3 first layer size: 100 second layer size: 25 third layer size: 10 activation: ReLU

Confusion matrix:

image

Results:

image

  • network 2:

number of layers: 3 first layer size: 50 second layer size: 25 third layer size: 10 activation: ReLU

Confusion matrix:

image

Results:

image

  • network 3:

number of layers: 3 first layer size: 20 second layer size: 15 third layer size: 10 activation: ReLU

Confusion matrix:

image

Results:

image

Note that all the confusion matrices are from validation.

For our use case it's best to have the model with least training time.

About

Analysing data from PiStar's smart chair and training classifiers using various machine learning algorithms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages