DL Notes Personal1
Types of Neural Networks Perceptron : x1, x2 = input w1, w2 = weights b = bias z = sum of all these now, z will be given to activation function For example, step function, output will be 0 or 1 How to use it? You train the model and find the value of w1, w2 and b Perceptron is a line : It's a binary classifier, that divides data into 2 regions No, matter how many features we have, it will always divide the data into 2 parts Limitation : Perceptron will be used on linear data only Code : Prediction using perceptron How do we find the correct values for weights? Step 1 : we take the random values for each weight Step 2 : randomly take one data point, if the point is on correct region, do nothing, else, move the line Step 3 : repeat step 2 for 1000(n) times How do we know that point is on correct region? - we know that blue points should be in -ve region and green points should be in +ve regions - so, we just have to make line transformations accordingly How do we move to...