Traffic Signal Problem

The aim of the experiment was to solve the traffic signal problem using the single layer perception method. The problem was solved by implementing two set of codes, out of which one was for the training where we calculate the weights and bias form the given inputs. Here the weights and bias variables were declared global so that they can be accessed by the second code. The second code was for the testing of the calculated weights and bias, these parameters were provided to the activation function(also called as transfer function) to calculate the output which indicated whether the person should stop or drive his or her vehicle according to the given input condition for signals.

Comments