# Auto fitting Regression algorithm

**URL:** <https://community.deeplearning.ai/t/auto-fitting-regression-algorithm/241639>\
**Category:** AI Discussions\
**Created:** [December 13, 2022, 2:18am UTC](https://community.deeplearning.ai/t/auto-fitting-regression-algorithm/241639 "2022-12-13T02:18:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IGOR\_FERNANDES\_FIGUE](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/igor_fernandes_figue/32/34739_2.png) [@IGOR\_FERNANDES\_FIGUE](https://community.deeplearning.ai/u/IGOR_FERNANDES_FIGUE)\
**Post date:** [December 13, 2022, 2:18am UTC](https://community.deeplearning.ai/t/auto-fitting-regression-algorithm/241639/1 "2022-12-13T02:18:48Z")

</div>

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.  
Thanks!

---

<div class="post-metadata">

**Author:** ![balaji.ambresh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/balaji.ambresh/32/128697_2.png) [@balaji.ambresh](https://community.deeplearning.ai/u/balaji.ambresh)\
**Post date:** [December 13, 2022, 6:12am UTC](https://community.deeplearning.ai/t/auto-fitting-regression-algorithm/241639/2 "2022-12-13T06:12:40Z")

</div>

Have you heard of automl?
