This project is an Create React App project specifically designed to demonstrate the power of a single Perceptron in Machine Learning.
- Clone this repo
https://github.com/mmajdanski/single-perceptron.git
- To run, go to project folder and run
$ npm install
or
$ yarn install
(if you are using yarn)
- Now start dev server by running -
$ npm start
or
$ yarn start
- If the browser does not automatically for any reason visit - http://localhost:3000/
For more create-react-app commands refer package.json
The code consists of two main files: /src/App.js
(for the Layout and firing off the ML algorithm) and /src/ml.js
(for the machine learning algorithms)
This example should be used for demonstration purposes only. Feel free to modify the code for the behavior you want.
Official Facebook Documentation on React
Located here.
File an issue here.