Code Monkey home page Code Monkey logo

backpropagation's Introduction

Backpropagation

Backpropagation program using C#

Last 2 instructions:

--------------Instruire: 98
Se utilizeaza exemplul 1


δ5 = -0.0298615276428424

Determinam corectia
Delta w35 = -0.0018772072410127
Delta w45 = -0.00259208055658181
Delta Teta  5 = 0.00298615276428424

Prin calculul gradientului erorii se determina:
δ3 = 0.010892788230975
δ4 = -0.001879541855416

Calculam apoi corectiile ponderilor si obtinem:
Delta w13 = 0
Delta w23 = 0
Delta Teta 3 = -0.0010892788230975
Delta w14 = 0
Delta w24 = 0
Delta Teta 4 = 0.0001879541855416

Ajustam toate ponderile si nivelurile pragurilor din retea (biasurile):
w13 = 0.608353543465978
w14 = 0.870265059825897
w23 = 0.507687716489308
w24 = 0.970573683236741
w35 = -1.56440823158843
w45 = 0.546872524323644
Teta 2 = 0.588576403627556
Teta 3 = -0.042655277882563
Teta 4 = 0.932964811489868
----Eroare: 0.00101389634619537

Oc,3 = 0.62889163611443
Oc,4 = 0.868011941669101
Oc,5 = 0.191217859528008
Eroare neuron 5, e5 = -0.191217859528008

--------------Instruire: 99
Se utilizeaza exemplul 2

δ5 = -0.0295725283956396

Determinam corectia
Delta w35 = -0.00185979157667742
Delta w45 = -0.00256693077927637
Delta Teta  5 = 0.00295725283956396

Prin calculul gradientului erorii se determina:
δ3 = 0.010797298581675
δ4 = -0.00185282713260552

Calculam apoi corectiile ponderilor si obtinem:
Delta w13 = 0.0010797298581675
Delta w23 = 0
Delta Teta 3 = -0.0010797298581675
Delta w14 = -0.000185282713260552
Delta w24 = 0
Delta Teta 4 = 0.000185282713260552

Ajustam toate ponderile si nivelurile pragurilor din retea (biasurile):
w13 = 0.609433273324146
w14 = 0.870079777112637
w23 = 0.507687716489308
w24 = 0.970573683236741
w35 = -1.56626802316511
w45 = 0.544305593544368
Teta 2 = 0.587496673769388
Teta 3 = -0.0424699951693025
Teta 4 = 0.935922064329432
----Eroare: 0.000994549060756069

backpropagation's People

Contributors

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