Here is the answer of how algorithms and models relate to each other, straight from the words of a data scientist.
I know it’s very confusing as often “machine learning algorithm” is used interchangeably with “machine learning model”. But
Machine learning algorithms are procedures that are implemented in code and are run on data.
Machine learning models are output by algorithms and are comprised of model data and a prediction algorithm.
So there you have it. What you need a bit more clarification. I know, me too. Stay tuned!