Hey man, my loss function is always higher than my losses through a 100 epochs .What might be the problem...Im using an Insurance dataset and trying to predict the insurance costs based on BMI index of an individual.
Hi, If your loss function remains higher than expected over 100 epochs, it could be due to underfitting, where the model is too simple to capture the dataset's complexity. Consider increasing model complexity, adjusting hyperparameters like learning rate, or employing more sophisticated feature engineering to better capture the relationship between BMI and insurance costs. Additionally, ensure your loss function is appropriately chosen for regression tasks, such as Mean Squared Error (MSE). For more resources, refer to: learnopencv.com/tensorflow-keras-tutorial-linear-regression/ Hope this helps!
Hey man, my loss function is always higher than my losses through a 100 epochs .What might be the problem...Im using an Insurance dataset and trying to predict the insurance costs based on BMI index of an individual.
Hi,
If your loss function remains higher than expected over 100 epochs, it could be due to underfitting, where the model is too simple to capture the dataset's complexity. Consider increasing model complexity, adjusting hyperparameters like learning rate, or employing more sophisticated feature engineering to better capture the relationship between BMI and insurance costs.
Additionally, ensure your loss function is appropriately chosen for regression tasks, such as Mean Squared Error (MSE).
For more resources, refer to: learnopencv.com/tensorflow-keras-tutorial-linear-regression/
Hope this helps!
@@LearnOpenCV Thanks bro, this helped me a lot
HEy! nice tutorial but I get an error when running the train model cell
Hi. Can you please tell what is the error?