Hi all, I’ve just finished Chapter 3 in the course and the associated work. To solidify some of the skills, I’m trying to replicate some of the dataset prep and model building work on the Titanic classification problem mentioned in the videos. I’ve written some code that uses the Tabular classes provided by FastAI, and although I’m seeing my loss function go down, my metric stays constant regardless of my epochs or learning rate. In fact, I can give it a massive learning rate, that increases the loss and the accuracy stays the same. I’ve tried checking other examples on the web, and it seems like others also have gotten the same result. Can somebody help me understand why?
You are encountering a common issue that can arise with classification tasks, especially in cases where your metric remains constant despite changes in the loss. Given that your accuracy metric is stuck and does not change. Ensure that your data preparation steps (such as dropping columns and encoding) are correctly implemented. Double-check that the target variable Survived is correctly included in your data processing pipeline and not inadvertently dropped or altered.