Giter Site home page Giter Site logo

bp-neural-network-matlab's Introduction

BP-Neural-Network-Matlab

Description

BP neural network in Matlab.

Tutorial

The program is used to generate and train a BP neural network with the primary application of Matlab. I choose Sigmoid as the activation function of the hidden layer, and Linear function as the activation function of the output layer.

Before running the program, you should add all the files into Matlab path. You'd better run the program in BPtrain.m unless you want to improve my code.

You can change the training set, number of neurons in hidden layer, learning rate, repeat times and check interval in BPtrain.m simply by changing the default values.

If your input size and output size are both 1, you can run film.m to generate a film showing the training process. An example can be seen in and gif180906.gif. Also, you can pause BPtrain.m at any time you want and use the code below to check your training result.

plot(x, y)

NOTE: if the code above does not work, continue BPtrain.m for a while and pause again. It is probably beacuse the script stops at an other workspace.

Enjoy your time with BPNN and Matlab! Suggestions and adjustments (as well as STARs) are welcomed.

Created 7/9/2018 by Bill in Beijing

bp-neural-network-matlab's People

Contributors

ybillchen 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.