Making ML models: Functions or Classes
I was building a model and I wanted to get some feedback.. is it better to create a model as a function e.g def model_1
or as a class class Model1:
and is a method preferred to the other?
I was building a model and I wanted to get some feedback.. is it better to create a model as a function e.g def model_1
or as a class class Model1:
and is a method preferred to the other?