Giter Club home page Giter Club logo

neural-network's Introduction

Neural Network

AClassification Problem

1.SYSTEM: ATwo-Nested-Spirals Problem

Two-Nest-Spiralsproblem is a well-known classification benchmark problem. It contains twonested spirals, ‘o’ and ‘+’, as shown in figure. The task is to separate thetwo nested spirals.

用matlab实现BP算法,其中加入了L2正则化项,在隐藏层最后一层使用Dropout。输出进行独热编码(one-hot),使用softmax。在图上打印出模型进行判断的边界。

有4个文件。

1)TwoNestSpiralsUseGivenSet.m

2)ReLU.m

  1. ReLUGradient.m

  2. softmax.m

应该要把定义一个前向传播的函数。应该在训练和测试的时候都要用到。如果修改了训练中前向传播的代码,而忘记修改测试的代码,则会出错或者产生奇怪的结果。但是感觉matlab中传递权重和偏置给函数中很麻烦,貌似不能直接将所有权重和偏置放入一个集合,然后在函数中重新取出。

neural-network's People

Contributors

wyljpn avatar

Watchers

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