A repo where I do my learning stuffs here
-> These help in solving only the linearly separable problems such as OR, AND, NAND, NOR gates
-> For non-linearly separable problems such as XOR and XNOR they can't predict well.
-> The activator function here will be: if value > 0.5(for unipolar) return 1 else return 0
biasnew = biasold + learning_rate × error
weightsnew = weightold + learning_rate × error × inputs
error = t - predicted_value
predicted_value = Σ (weights × inputs) + bias
-> This will solve the non-linearity problem by introducing non-linearity through the hidden neurons.
-> Say for the two input XOR gate it will use two hidden neurons to create non-linearity which will aid in solving the problem.
-> This learning uses the activator function such as Sigmoid function. i.e. 1/(1+e-x)
hidden_layer_input = Σ(inputs × weights) + bias_input_hiddenhidden_layer_output = Sigmoid(hidden_layer_input)
final_layer_input = Σ(hidden_layer_output × weights) + bias_hidden_output
final_layer_output = Sigmoid(final_layer_input)
δk = (t - yk) × Sigmoid_derivative(yink)
δj = δyinj × Sigmoid_derivative(Zinj)
δyinj = Σ(δk× wjk) where δk = delta output error. Δwij = α × δj × xi
Δwjk = α × δk × zj
wnew = wold + Δw