All Projects → victorqribeiro → perceptron

victorqribeiro / perceptron

Licence: MIT license
The simplest Perceptron you'll ever see

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to perceptron

MachineLearning
Implementations of machine learning algorithm by Python 3
Stars: ✭ 16 (-64.44%)
Mutual labels:  machine-learning-algorithms, perceptron
Machine learning basics
Plain python implementations of basic machine learning algorithms
Stars: ✭ 3,557 (+7804.44%)
Mutual labels:  machine-learning-algorithms, perceptron
datascience-mashup
In this repo I will try to gather all of the projects related to data science with clean datasets and high accuracy models to solve real world problems.
Stars: ✭ 36 (-20%)
Mutual labels:  machine-learning-algorithms
Clustering-Python
Python Clustering Algorithms
Stars: ✭ 23 (-48.89%)
Mutual labels:  machine-learning-algorithms
Intention-Mining-
Intention Mining in Social Networking. It Mines Emotions and polarity for the given keyword . For the keyword it searchers the twitter for the comments and analyzes the results for various events such as Election results, Sports prediction Movie ratings, Breaking news events such as demonetisation and many more. Bayes , Maximum Entropy and Hidde…
Stars: ✭ 19 (-57.78%)
Mutual labels:  machine-learning-algorithms
spams-python
A rehost of the python version of SPArse Modeling Software (SPAMS)
Stars: ✭ 28 (-37.78%)
Mutual labels:  machine-learning-algorithms
BoostSRL
BoostSRL: "Boosting for Statistical Relational Learning." A gradient-boosting based approach for learning different types of SRL models.
Stars: ✭ 31 (-31.11%)
Mutual labels:  machine-learning-algorithms
EXPLORING SKLEARN
Exploring sklearn 🌟
Stars: ✭ 12 (-73.33%)
Mutual labels:  machine-learning-algorithms
Self-Driving-Car
Implemented a Convolutional Neural Network for end-to-end driving in a simulator using Tensorflow and Keras. The project involves training over 13,000 images in a unity3d simulator to steer the car successfully throughout the track
Stars: ✭ 29 (-35.56%)
Mutual labels:  machine-learning-algorithms
random-fourier-features
Implementation of random Fourier features for kernel method, like support vector machine and Gaussian process model
Stars: ✭ 50 (+11.11%)
Mutual labels:  machine-learning-algorithms
Subjective-Answer-Evaluation
Subjective answer evaluation using machine learning. Give your answers at this link ->
Stars: ✭ 22 (-51.11%)
Mutual labels:  machine-learning-algorithms
RapLyrics-Back
Model training, custom generative function and training for raplyrics.eu - A rap music lyrics generation project
Stars: ✭ 14 (-68.89%)
Mutual labels:  machine-learning-algorithms
machine-learning-notebooks
🤖 An authorial collection of fundamental python recipes on Machine Learning and Artificial Intelligence.
Stars: ✭ 63 (+40%)
Mutual labels:  machine-learning-algorithms
ML-For-Beginners
12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all
Stars: ✭ 40,023 (+88840%)
Mutual labels:  machine-learning-algorithms
SGDLibrary
MATLAB/Octave library for stochastic optimization algorithms: Version 1.0.20
Stars: ✭ 165 (+266.67%)
Mutual labels:  machine-learning-algorithms
ExCon
ExCon: Explanation-driven Supervised Contrastive Learning
Stars: ✭ 17 (-62.22%)
Mutual labels:  machine-learning-algorithms
catseye
Neural network library written in C and Javascript
Stars: ✭ 29 (-35.56%)
Mutual labels:  perceptron
Learn-Machine-Learning-in-3-month
No description or website provided.
Stars: ✭ 35 (-22.22%)
Mutual labels:  machine-learning-algorithms
ugtm
ugtm: a Python package for Generative Topographic Mapping
Stars: ✭ 34 (-24.44%)
Mutual labels:  machine-learning-algorithms
Handwritten-Digits-Classification-Using-KNN-Multiclass Perceptron-SVM
🏆 A Comparative Study on Handwritten Digits Recognition using Classifiers like K-Nearest Neighbours (K-NN), Multiclass Perceptron/Artificial Neural Network (ANN) and Support Vector Machine (SVM) discussing the pros and cons of each algorithm and providing the comparison results in terms of accuracy and efficiecy of each algorithm.
Stars: ✭ 42 (-6.67%)
Mutual labels:  machine-learning-algorithms

Perceptron

The simplest Perceptron you'll ever see.

How to use

Let's suppose you have the following data set:

Height (cm) Weight (kg) Class (0-1)
180 80 0
175 67 0
100 30 1
120 32 1

0 - adult
1 - child

You need to process the table to this format:

const x = [
	[180, 80],
	[175, 67],
	[100, 30],
	[120, 32]
];

const y = [0,0,1,1];

Then just create a new Perceptron passing the shape of the data (height and weight), the learning rate and the number of iterations. By default the learning rate is set to 0.01 and the number of iterations is set to 10.

const p = new Perceptron( x[0].length );

Call the fit function

p.fit(x,y);

And you're all set to make predictions

p.predict([178, 70])

Super simple.

Applications

Can a simple perceptron drive a car in a game?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].