Giter Site home page Giter Site logo

hy_matlab_nn's Introduction

HY_matlab_NN.

Hyungwon Yang
2016.02.02
EMCS lab

Machine learning toolbox based on matlab.

OS Compatibility.


  • Tested successfully (stable):

  • MAC OSX: El Capitan

  • Windows: 8

  • Not Tested (unstable):

  • Linux

Matlab R2015a ~ R2016a (This script was not tested on the other versions.)

PREREQUISITE

  1. Data preprocessing: Your data should be pre-processed before setting it on the DNN. Please refer to preprocessing instrcution described as below.
  • Your data should contain 2 variables and be saved as 'inputData' and 'targetData'. As the name implies, input data should be named 'inputData', and target or output data should be named 'targetData'.

  • Variable structure should be examples * features matrix. For examples, if your input data has 40 features and you have 1,000 of that kind of feature data. Data structure will be 1000 * 40 matrix.

  • For RBM stacking, your input data needs to be normalized scaled between 0 to 1. (Choose nomalize option 'on' if you didn't normalize your data) Normalizing target data is not requisite, since the RBM training is unsupervised.

  • In classification problem, target data should be cosisted of binary information: 0 or 1. For example, if your target data is MNIST and one of the target data is digit 6, then your target data will look like [0 0 0 0 0 1 0 0 0 0]. You can transform the target data format by 'spreadTarget' function.

USAGE

  • Run demo_ANN first in order to understand the ANN structures.
  1. Run pathOrganizer.
  2. Import training and testing data.
  3. Set the parameters.
  4. Build N structure. (run NetBuild)
  5. Run DNN.

CONTENTS

Deep Neural Network (DNN) for classification & curve-fitting problems.

  • DNN DNN model to solve classification and curve-fitting problems. For beginners, remain all the default parameters in order to test the given datasets and try to understand the layer structures and its results. The users are highly recommended to adjust the parameters in order to improve performance.

  • runDNN It contains a whole procedure of training & testing data by machine learning. Please follow the instrcution for better undestadning of its usage.

  • Netbuild This function builds a main structrue that contains training data and parameters.

CONTACTS

Hyungwon Yang / [email protected]

Hosung Nam / [email protected]

VERSION HISTORY

1.0. (2016.02.02)

  • 5 scripts were uploaded. Each script works independently. Therefore, users should select a specific script for training data. : ANN for classificiaton and curve-fitting, DBN for classification and curve-fitting, Netbuild function for building networks Sample training datasets

2.0. (2016.03.05)

  • 4 types of ANN and DBN are combined. By adjusting parameters, users can use ANN or DBN based on their deisre.

2.1. (2016.03.06)

  • Batch size problem fixed.
  • Plotting added: error change, confusion, roc. (it is displayed nicely when the monitor is 13 inches.)

2.2. (2016.03.08)

  • Remained batch problem has been perfectly solved.

2.3. (2016.03.11)

  • Error occured when the input numbers are odd(ex, 987) in the testing section. This bug was fixed.

2.4. (2016.03.19)

  • Wiehgt visualization during training process is now available. if plotOption is 'on' in the training session, weights will be visualized. (it may occure training delay)
  • Large MNIST dataset is added.
  • Dataset folder has been created. All datasets will be saved here.
  • demo_ANN script is added.

2.5. (2016.03.23)

  • Reorganize all the functions. Move functions into specific directories.
  • pathOrganizer is added.
  • Error rates from training and validation processes are visualized.
  • trainRatio parameter is added. Its ratio represents the number of datasets that will be used for training process. Rest of them will be allocated to validation process automatically. ex. trainRatio = 80 means 80% of datasets for training and 20% of them for validation.
  • epochTrain mode is added. If epochTrain is off then validation error will be compared with training error while training the data and it will stop the training process automatically when the error changes between validation and training is not significant any longer.

2.6. (2016.04.02)

  • Validation system changed.
  • CIFAR10 image datasets are added.

2.7. (2016.06.14)

  • All sample data is removed. Instead, functions need to be used in order to download and save sample data. New data downloading functions were added.
  • Demo script has been changed.
  • Folders restructured.
  • Windows compatibility test finished.
  • Bug fixed.

hy_matlab_nn's People

Contributors

hyung8758 avatar

Watchers

James Cloos avatar  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.