Git Product home page Git Product logo

amlsassignment's Introduction

AMLSassignment

Applied Machine Learning Systems ELEC0132 Assignment

Maryam Habibollahi (SN: 15000241)

Assignment tasks

  • Detection and removal of noisy images
  • Training, validation and testing subsets division
  • Train ML models to perform
    • Binary
    1. Emotion recognition (smile/!smile)
    2. Age identification (young/old)
    3. Glasses detection (with/without)
    4. Human detection (real/avatar)
    • Multiclass
    1. Hair colour recognition (ginger, blond, brown, grey, black, bald)

Dataset folder

How to compile and use code

Required libraries

  • Classification models: Scikit-learn, Keras, dlib, and OpenCV.

  • Data processing, storage, and representation: NumPy, Pandas, Time, OS, and MatplotLib.

Python files

  • landmarks.py

Implements funtions on Haar Cascode, HOG, and Deep Learning-based face detectors for obtaining image landmarks from detected faces.

  • classification.py

Includes the required functions for SVM and MLP implementation, as well as cross-validation testing.

  • utils.py

Provides the utility functions for handling files and data used in landmarks.py and classification.py.

  • testing.py

Calls the detection and classification functions and stores the results to csv. This file includes one function for binary tasks 1-4 and two for multiclass task 5. The landmarks previously stored in out/ are used by default to save time. To re-run the face detector, uncomment function update_features()

  • models/lenet.py

Implements the LeNet architecture for the multiclass classification task

Folders in Python

  • code/out/

Includes all the results from the tests (see out/README.md) Face detector features are stored in Face_detection/ for convenience

  • code/models/

Contains face detection models and the LeNet architecture setup file

amlsassignment's People

Contributors

maryamhb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.