Coder Social home page Coder Social logo

neural-networks's Introduction

Neural-Networks

Neural networks are not a new method, the first artificial neural network was devised in 1943, but advances in computational power and speed have made them a much more viable strategy for solving complex problems over the last 5-10 years. Originally devised by mathmaticians and neuroscientists to illustrate the fundamental principles of how brains might work they lost favor in the second half of the 20th century only to surge in popularity in the 20-teens as software engineers used them to resolve mathmatically intractable problems. The application of neural networks to learning problems has been ongoing for 20 years, often to predict student behvior or to parse unstructured data such as student writing samples and provide natural sounding feedback through AI avatars.

Packages

library(tidyverse)
library(neuralnet)

PLots of the models

Editor

First network model plot, with only 1 hidden layer

Editor

Second network model plot, with 2 hidden layers

Result

  • The prediction accuracy of the model is 94%. The true positive rate (sensitivity) is 93.18% ,indicating that 93.18% of the absent-minded students(not paying attention) was correctly predicted and the true negative rate is 94.64%, showing that 94.69% of the students who are concentrated were corrected predicted.

  • To sum up, the model successfully predicted whether the students were paying attention 94% of the time. 93.18% of the students who indeed paid attention during the online discussion were predicted to pay attention. 94.64% of students who were predicted not to pay attention during the online discussion, did not actually pay attention.

Comments:

This is a very simple example of a neural network. Real facial recognition is very complex though. Would a neural network be a good solution for predicting real facial movements? Why, why not?

  • A neural network would be a good solution for prediction real facial movements. Recognition+Prediction

  • First, instead of just using several features determined by us human, the computer can train itself and learn the critical features that are most useful for face recognition. The solution is to train a Deep Convolutional Neural Network. The computer will be trained to generate 128 measurements for each face. These procedure will incresase the accuracy of face recognition.

  • Second, instead of traditional prediction of making model relying on rather simple relationships, neural networks have the ability to learn and model non-linear and complex relationships, which is really important because in real-life, many of the relationships between inputs and outputs are non-linear as well as complex.

  • Third, unlike many other prediction techniques, neural networks do not impose any restrictions on the input variables (like how they should be distributed).

  • However, there is existing problem that the facial expression of human being varied based on cultural or physiological differences across different populations. Thus, it will be computationally exhausting to learn all the features and predict for all the situations.

  • Nevertheless, it is in all a good approach to predict facial movement using neural network, especially in the educational context, as the online learning is facing a dilemma of tracing and retaining students' attention.

neural-networks's People

Contributors

zz2641 avatar

Watchers

James Cloos avatar  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.