Coder Social home page Coder Social logo

facial-feature-recognition-nmf-'s Introduction

Non-Negative-Matrix-Factorization

Non-negative matrix factorization (NMF) is a technique to decompose a matrix of non-negative values into two smaller matrices, also with non-negative values. It can be used for dimensionality reduction, feature extraction, clustering, and other applications. This GitHub repository contains the implementation of NMF from scratch, using various optimization algorithms such as gradient descent, multiplicative update, and alternating least squares. The code is written in Python and uses NumPy for matrix operations. The repository also includes some examples of applying NMF to image and text data, as well as a comparison of the performance and accuracy of different algorithms. If you are interested in learning more about NMF and how to implement it, this repository is for you.

In this repository we look at a simple application of NMF to find out facial features and then reconstruct those face images using our updated Feature and Weight matrices.

Links

Dataset

The Olivetti faces dataset is a collection of 400 grayscale images of 40 different human faces. The images were taken between April 1992 and April 1994 at AT&T Laboratories Cambridge1. The dataset was used for face recognition research and is available from scikit-learn, a Python library for machine learning2.

The images have a resolution of 64x64 pixels and are normalized to have the same lighting, background, and pose. The faces show different expressions, such as smiling or not smiling, and some have glasses or no glasses. The dataset has a label for each image, indicating the identity of the person in the range of 0 to 392.

The Olivetti faces dataset is a classic benchmark for face recognition algorithms and can be used for unsupervised or semi-supervised learning tasks. Some examples of using the dataset are online learning of a dictionary of parts of faces3, pixel importances with a parallel forest of trees4, face completion5, and face clustering6.

facial-feature-recognition-nmf-'s People

Contributors

1shtandon 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.