Why your machine learning model isn't learning anything ... Here are the 3 most common reasons.
First, you have an issue with your data loading.
This is a common issue; many things could go wrong at this stage. For instance, you could load the wrong labels, use inappropriate types for the data, ...
Secondly, you are not using the proper loss.
Let's say you deal with a classification problem. If you use a regression loss, like Mean Square Error, it will break your training.
Lastly, you are not using the proper activation function.
Suppose you have a regression problem with target values that can be negative.
If you use a sigmoid activation at the end of your model, you will only predict positive values.
Then your model can't make valid predictions no matter how much data you have.
Hopefully you liked this video 💚
🔥 Subscribe to Bitswired
👍🏽 Leave us a like/comment to support us
💬HASHTAGS:
#machinelearning #debug #bug #ai #pytorch #tensorflow #python #datascience #deeplearning #data #code #coding #programming #pythonprogramming #shorts #short