GithubHelp home page GithubHelp logo

418coffee / verceptron Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.52 MB

A perceptron written in V

License: MIT License

V 97.91% Shell 2.09%
neural-network perceptron v vlang vlang-awesome verceptron

verceptron's Introduction

Verceptron โ€“ a perceptron written in V

Table of contents

Quickstart

  1. Clone the repository:
git clone https://github.com/418Coffee/verceptron.git
cd verceptron/
  1. You may edit same configuration variables in verceptron.v.
  2. Train and test the model by running:
v run .
  1. Or to visualise the model you may run (requires ffmpeg to be installed and added to PATH):
./visualise.sh

General Information

A perceptron is essentially the simplest neural "network", consisting of a single neuron. It was invented in 1943 by McCulloch and Pitts. The first implementation of a perceptron was built in 1958 by Rosenblatt. Rosenblatt created a perceptron that was designed to classify two sets of images from a 20x20 array of cadmium sulfide photocells. It was proven by Albert Novikoff that a perceptron always converges when trained with a linearly separated data set.

This program is similair to the perceptron built by Rosenblatt, it consists of a 20x20 input grid and is trained to determine between rectangles and circles.

Known Limitations

Single-layer perceptrons are only capable of learning linearly separable patterns. Furthermore, Marvin Minsky and Seymour Papert proved that a single layer perceptron was uncapable to learn an XOR function. The perceptron is guaranteed to converge on a solution when trained with a linearly separable training set, but there may be many solutions for the given training set, each with different quality. It is difficult to determine whether the converged on solution is the best or not.

References

Further Reading

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

verceptron's People

Contributors

418coffee 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.