CST383 Learning Log #6
This week in class focused on several important machine learning concepts, including linear regression, classification, train/test splits, model evaluation, and hyperparameter tuning. One of the biggest takeaways for me was understanding the difference between training a model and evaluating how well it generalizes to new data. Before this week, I tended to focus on how well a model fit the training data, but I now understand that test performance is a much better indicator of how useful a model will be in practice.
I also learned more about the role of hyperparameters and how they differ from model parameters. The discussion of GridSearchCV helped me understand how machine learning practitioners systematically search for better hyperparameter values rather than choosing them arbitrarily. I found it interesting that the best hyperparameters can vary significantly depending on the dataset being used.
One concept that I’m still working to fully understand is the tradeoff between model complexity and generalization. For example, with KNN classification, I understand that choosing a very small value of k can lead to overfitting, while choosing a very large value can lead to underfitting. However, I sometimes find it difficult to predict exactly how changes in hyperparameters will affect a model before seeing the results. I’d like to develop a stronger intuition for recognizing when a model is too simple or too complex.
Another idea that I found interesting was the use of evaluation metrics such as RMSE, MAE, and accuracy. I kind of understand how to calculate these metrics and what they measure, but I would like to learn more about when one metric is preferred over another in real-world applications.
This week really helped me see machine learning as more than just fitting equations to data. I’m beginning to understand the importance of model evaluation, hyperparameter selection, and testing models on unseen data. These concepts seem essential for building models that are both accurate and reliable.
Comments
Post a Comment