Auto fitting Regression algorithm

Hi folks. I Have a question in mind about auto fitting regression algorithm and would like to discuss with you. Supposing a data set compose of X_data with one feature and y_data with one feature as well, like:
X_data = [x1, x2, x3, …, xm]
y_data = [y1, y2, y3, …, ym]
So, over this data set I would like to implement an algorithm that fit they through regression models. How can I implement an algorithm that choose the best regression model (linear or polinomial) by itself? In other words, the algorithm must analyse the data and choose the best model without I tell to it if I want linear model or polinomial model regression.
I hope you guys can help me with this question.

Have you heard of automl?

1 Like