lchanmann / gender_classification Goto Github PK
View Code? Open in Web Editor NEWApply Supervised Learning algorithms (i.e Naive Bayes, KNN and SVM) with boosting on PCA-ed face image dataset
Apply Supervised Learning algorithms (i.e Naive Bayes, KNN and SVM) with boosting on PCA-ed face image dataset
STEP 1 ------ Extract faces by running Face_detection_image_cropping.m on all the images in the folder. Resulting 250ร250 Images are saved in ./LFW_Cropping/Training/ Requires Image processing toolbox Requires ./LFW/ directory containing male images Requires ./LFW_dataset/Training/female directory containing female images - Creates ./LFW_Cropping/Training/male/ directory containing the extracted male faces - Creates ./LFW_Cropping/Training/female/ directory containing the extracted female faces STEP 2 ------ Preprocess each image by running Face_image_reading_and_preprocessing.m Requires Image processing toolbox Requires folder ./LFW_Cropping/Training/, which it assumes contains subdirectores male/ and female/ Preprocessing consists of 1. Conversion to Grayscale 2. Histogram equalization (normalization) 3. Scale to 80ร80 4. convert to vectors of 6400 columns 5. Each vector saved as row of matrix X 6. Labels are stored in linear vector Y Y[i] = 1 if X[i,:] corresponds to a male image Y[i] = 2 if X[i,:] corresponds to a female image 7. Creates ./LFW_faces.mat containing X and Y STEP 3 ------ run compute_PCA Requires ./LFW_faces.mat Creates ./LFW_Face Detection/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.