pramishp / neural_network_in_c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Artificial Neural Network in C

Fitting XOR function

A supervised neural network can be presented as a black box learn and predict as following:

Being supervised problem, it requires labelled data.

Our goal is to fit XOR function

This is done in 2 steps:

  1. Forward propagation

  2. Backward propagation

Initially, the error in the networks were high

  • Step 50, Error: 0.7563

  • After, 1000 iterations:
  • Step 1000, Error: 0.0432

  • Hence, the network was improving during each iteration by adjusting the weights calculated using loss function.

    Overall process can be summarized as:

    Team Members: Roll No:

    1. Pramish Poudel 076bct047
    2. Prakash Chaulagain 076bct045
    3. Bikal Devkota 076bct0
    4. Denish Shrestha 076bct0

    About


    Languages

    Language:C 98.5%Language:CMake 1.5%