Skip to content

including Softmax Regression, Neural Network (regularized), KNN, LDA

License

Notifications You must be signed in to change notification settings

JasonSheng-atp/ML-algorithm-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Package

numpy == 1.19.5
opencv-python == 3.2.0.8
Pillow == 6.2.0
pandas == 1.1.5

To run this file (This may need 1 min for one loop)

unzip yaleface_raw_images.rar to the path

Method 1

cd <path_to_the_P1>
python main.py
if you have python2 installed you may need to run:
python3 main.py

Method 2 to adjust parameters

cd <path_to_the_P1>
python main.py --loop 1 --k_knn 3 --lambd 0 --hidden_neurons 24 --test_size 4

Writer: Jason S

About

including Softmax Regression, Neural Network (regularized), KNN, LDA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published