Lesson 7: Understanding the Role of Bias, Parameters and Hyperparameters in Machine Learning A machine learning tutorial explains that traditional machine learning models saturate because they reach theoretical limits and cannot extract more information from additional data, while large neural networks with 20–25 hidden layers overcome this by learning complex patterns. The lesson also defines bias as a parameter that shifts the activation function, noting that extreme bias values can cause issues such as outputs near zero or large positive values. Understanding the Role of Bias, Parameters and Hyperparameters in Machine Learning Let’s discuss what is Traditional Machine Learning, Small Neural Network & Large Neural Network. Traditional Machine Learning: Traditional machine learning relies on hand-crafted features and algorithms to detect patterns in data. It requires large amounts of data to achieve high performance, and after a point of time its performance begins to saturate. Small Neural Network: Small neural networks typically contain 1–2hidden layers and are used to identify small patterns and relations in data. They require less data than traditional machine learning and can achieve high accuracy with smaller datasets. Large Neural Network: Large neural networks contain 20–25hidden layers, which enable them to detect complex patterns and relationships in large datasets. These networks require significant computational resources and training time but can achieve much higher performance than traditional machine learning or small neural networks. Q. In the Traditional Machine Learning, after a point of time the model starts to saturate — Why? Answer: The graph of data vs performanceis representative of the fact that models initially start performing better as more data is added to the training set. This is because the model is able to better generalize its parameters from the larger data set and thus the performance of the model increases. However, after a point of time the Traditional Machine Learning model starts to saturate, meaning that no matter how much data is added to the training set the performance of the model does not get any better. This is because the model has reached its theoretical limits and no more information can be gained from the additional data. Thus, after the model has reached its saturation point the performance of the model starts to degrade as more data is added. Saturated Model: A saturated model is a model that has been over-fitted to the data, meaning it contains too many parameters and is unable to accurately capture the underlying trends of the data. This can lead to a model that is too complex and not able to generalize to new data, resulting in poor predictions. This leads to extremely high-variancepredictors that are more sensitive to the noise than the true signal in the data, making them unreliable for predictions. Q. How Large Neural Network solve this saturation problem of Traditional Machine Learning models? Large Neural networks are able to overcome the saturation problem faced by traditional machine learning algorithms by adding more parameters and layers to the model. By doing so, the model is able to learn more complex patterns and thus can more accurately fit the data. This allows the model to continue to improve even after the traditional machine learning algorithm has reached its saturation point. Additionally, neural networks also allow for more efficient training of the model by utilizing techniques such as batch normalization and weight decay, which help to reduce overfitting and improve the generalization of the model. Bias in Machine Learning Bias: Bias is a parameter in a machine learning algorithm that allows the activation function to be shifted to the left or right. Bias is used to adjust the output values of the model and influences how easy it is for a node to fire. Positive values of bias tend to produce higher output values while negative values of bias tend to produce lower output values. Role of Bias: Bias allows the activation function to better fit the data. Bias value is used to shift the entire sigmoid curve. Bias does not interact with the actual input data. Bias determines how easy it is to get a node to fire. Large bias values lead to large positive outputs. Negative bias values lead to sigmoid outputs near to 0. Small bias values depend entirely on the values of weights and inputs. Q. What problem may arise if the bias is very big or very small? Answer: The equation y=mx+b is a linear model that describes how a dependent variable y is related to an independent variable x . The slope m of the line describes the relationship between x and y, while the intercept or bias b is the point where the line crosses the y-axis. Depending on the value of bias b , the model can give priority to either the features or the bias. If y=mx