An .xlsm an .py file with different ML models that can be run using functions in excel using the xlwings python library.
Custom functions models:
to configurate excel so it can allow custom functions created in python, go to:
you can find the video tutorial wich i was based on (for linear regression model):
PD: i added more custom functions for the linear regression model explained in the video (r2, RSME, coefficients and intersect)