utkuozbulak / facial-expression-recognition

Predicting facial expressions with machine learning algorithms
47 stars 22 forks source link

Clean up and singular value decomposition #19

Closed utkuozbulak closed 7 years ago

utkuozbulak commented 7 years ago

Made a bit of clean up and formatting, and Singular Value Decomposition :smiling_imp: Breakdown:

Functions related to data are removed from data2img to format_data (csv2img) Removed main from data2img Added few more functions to data2img.py to save single image, zoom image etc. Added main, ( main main ) and structure is more similar to what we have in data mining. Added a function that returns the data in numpy matrix format which we can use in conv nets directly Added svd.py which has many functions related to Singular Value Decomposition, comments are there Added an example decomposition in the main at the bottom, its super cool :laughing: check it ! :heart_eyes: Everything runs on main now with a single file read ( except for Alex's files, I only updated mine and Lukas' )