I suppose for the model indeed you should do that?
But then maybe not for the actual predictions made by the model, as the MIT license says:
> The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Arguably e.g. a single function is not a substantial portion of a multi-file project—and, usually, even that function itself is not going to be a verbatim copy but adjusted to your use case regarding variable names etc.
But then maybe not for the actual predictions made by the model, as the MIT license says:
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Arguably e.g. a single function is not a substantial portion of a multi-file project—and, usually, even that function itself is not going to be a verbatim copy but adjusted to your use case regarding variable names etc.