Professor used ‘self.w = np.random.randn(1, X.shape) ‘ to initialize w in sigmoid neuron class defination while in perception class defination, he used ’ self.w = np.ones(X.shape)’ to initialize w.
Q1. what is the thought process behind this? from what I understand till now, we can initialize parameters in any way and the algorithm will take care of it.
Q2. any specific reason to initialize using normally distributed random numbers?
Thank you Team in advance.