All Projects → StackOverflowMATLABchat → Neuralnetplayground

StackOverflowMATLABchat / Neuralnetplayground

Licence: mit
A MATLAB implementation of the TensorFlow Neural Networks Playground seen on http://playground.tensorflow.org/

Programming Languages

matlab
3953 projects

Projects that are alternatives of or similar to Neuralnetplayground

Php Ml
PHP-ML - Machine Learning library for PHP
Stars: ✭ 7,900 (+13066.67%)
Mutual labels:  classification, regression
Tensorflow cookbook
Code for Tensorflow Machine Learning Cookbook
Stars: ✭ 5,984 (+9873.33%)
Mutual labels:  classification, regression
Php Ml Examples
Examples use case of PHP-ML library.
Stars: ✭ 526 (+776.67%)
Mutual labels:  classification, regression
Mlr3
mlr3: Machine Learning in R - next generation
Stars: ✭ 463 (+671.67%)
Mutual labels:  classification, regression
Mlj.jl
A Julia machine learning framework
Stars: ✭ 982 (+1536.67%)
Mutual labels:  classification, regression
Tensorflow Book
Accompanying source code for Machine Learning with TensorFlow. Refer to the book for step-by-step explanations.
Stars: ✭ 4,448 (+7313.33%)
Mutual labels:  classification, regression
Smile
Statistical Machine Intelligence & Learning Engine
Stars: ✭ 5,412 (+8920%)
Mutual labels:  classification, regression
Go Deep
Artificial Neural Network
Stars: ✭ 303 (+405%)
Mutual labels:  classification, regression
The Deep Learning With Keras Workshop
An Interactive Approach to Understanding Deep Learning with Keras
Stars: ✭ 34 (-43.33%)
Mutual labels:  classification, regression
Tribuo
Tribuo - A Java machine learning library
Stars: ✭ 882 (+1370%)
Mutual labels:  classification, regression
Tensorflow Tutorial
Tensorflow tutorial from basic to hard, 莫烦Python 中文AI教学
Stars: ✭ 4,122 (+6770%)
Mutual labels:  classification, regression
Chemometricstools.jl
A collection of tools for chemometrics and machine learning written in Julia.
Stars: ✭ 39 (-35%)
Mutual labels:  classification, regression
Lazypredict
Lazy Predict help build a lot of basic models without much code and helps understand which models works better without any parameter tuning
Stars: ✭ 401 (+568.33%)
Mutual labels:  classification, regression
Cranium
🤖 A portable, header-only, artificial neural network library written in C99
Stars: ✭ 501 (+735%)
Mutual labels:  classification, regression
Tensorflow Resources
Curated Tensorflow code resources to help you get started with Deep Learning.
Stars: ✭ 330 (+450%)
Mutual labels:  classification, regression
Alphapy
Automated Machine Learning [AutoML] with Python, scikit-learn, Keras, XGBoost, LightGBM, and CatBoost
Stars: ✭ 564 (+840%)
Mutual labels:  classification, regression
R
All Algorithms implemented in R
Stars: ✭ 294 (+390%)
Mutual labels:  classification, regression
Pycaret
An open-source, low-code machine learning library in Python
Stars: ✭ 4,594 (+7556.67%)
Mutual labels:  regression, classification
Bayesian Neural Networks
Pytorch implementations of Bayes By Backprop, MC Dropout, SGLD, the Local Reparametrization Trick, KF-Laplace, SG-HMC and more
Stars: ✭ 900 (+1400%)
Mutual labels:  classification, regression
Yannl
Yet another neural network library
Stars: ✭ 37 (-38.33%)
Mutual labels:  classification, regression

NeuralNetPlayground

MATLAB FEX Minimum Version License

A MATLAB implementation of the TensorFlow Neural Networks Playground.

Description

Inspired by the TensorFlow Neural Networks Playground interface readily available online, this is a MATLAB implementation of the same Neural Network interface for using Artificial Neural Networks for regression and classification of highly non-linear data.

The interface uses the HG1 graphics system in order to be compatible with older versions of MATLAB. A secondary purpose of this project is to write a vectorized implementation of training Artificial Neural Networks with Stochastic Gradient Descent as a means of education and to demonstrate the power of MATLAB and matrices.

The goal for this framework is given randomly generated training and test data that fall into two classes that conform to certain shapes or specifications, and given the configuration of a neural network, the goal is to perform either regression or classification of this data and interactively show the results to the user, specifically a classification or regression map of the data, as well as numerical performance measures such as the training and test loss and their values plotted on a performance curve over each iteration. The architecture of the neural network is highly configurable so the results for each change in the architecture can be seen immediately.

There are two files that accompany this repo:

  • NeuralNetApp.m: The GUI that creates the interface as seen on TensorFlow Neural Networks Playground but is done completely with MATLAB GUI elements and widgets.
  • NeuralNet2.m: The class that performs the Neural Network training via Stochastic Gradient Descent. This is used by the NeuralNetApp.m app.

Compatible Versions

Debugged and tested for MATLAB R2009b or newer.

This code can only be run on versions from R2009b and onwards due to the syntax for discarding output variables from functions via (~). If you wish to use this code for older versions (without guaranteeing compatibility), you will need to replace all instances of discarding output variables with dummy variables but you'll be subject to a variety of mlint errors. This effort has not been done on our part as there is very little gain to go to even older versions and so if you desire to run this code on older versions, you will have to do so yourself.

Neural Network App

Ensure that both files NeuralNetApp.m and NeuralNet2.m are in the same directory. In the MATLAB Command Window, simply run the NeuralNetApp.m file within this directory. Assuming you are working in the directory of where you stored, type in the following and press ENTER:

>> NeuralNetApp

If you want to be explicit, you can use run and provide the path to where this file is located on your system:

>> run(fullfile('path', 'to', 'the', 'NeuralNetApp.m'));

If all goes well, you should be presented with a GUI. See here for the output from a sample run.

screenshot

Neural Network Class

The main engine before the training algorithm is seen in the NeuralNet2.m file. This is a custom class that was written and is well documented to allow a MATLAB user to use it for their purposes in future code that they write. You can type in help NeuralNet2 in the command window where this file is located on your system for a comprehensive overview on how to use this class.

Check out this page for some tips on training the neural network.

Resources

  • Docs: Documentation and description of the various parts of the app.
  • Demos: Examples and demos showing how to use the neural network class.
  • Chat: Stack Overflow MATLAB Chat Room
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].