Skip to content

Hamming Network implementation using pca implementation for reduction all from scratch

Notifications You must be signed in to change notification settings

Samahussien7/Hamming-Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Hamming-Network-Unsupervised

Steps in my code

  1. Implementation of PCA from scratch (contains implementation of covariance matrix and implementation of eigenvalues and eigenvectors using power iteration mwthod).
  2. Prprocessing the mnist dataset making it only zeros and ones to apply the hamming network later on it.
  3. Tring different number of components in PCA till gets best result.
  4. Cluster data using k-means (you can use any clustering technique).
  5. Apply Hamming on unseen data point with PCA and without PCA.

Note

implementing pca not part of hamming network algorithm but we used it to increase the accuarcy .