Polynomial Regression Machine Learning Python Code

  Рет қаралды 15,851

The AI University

The AI University

Күн бұрын

Пікірлер: 40
@TheAIUniversity
@TheAIUniversity 5 жыл бұрын
Trivia question from the video: What will happen if we try to increase the value of degree to 3,4 and 5 ?
@kasifnasim7344
@kasifnasim7344 4 жыл бұрын
Increase in degree will lead to over-fitting the model. Resulting to low bias and high variance.
@venkatramnaidu7555
@venkatramnaidu7555 3 жыл бұрын
@@kasifnasim7344 what is the disadvantages of over fitting
@venkatramnaidu7555
@venkatramnaidu7555 3 жыл бұрын
over fitting means with 98% accuracy right how come it will be a problem
@iridescent9204
@iridescent9204 2 ай бұрын
​@@venkatramnaidu7555 I'm replying after 3 years but I think you have your answer already. It's accurate for the train data only. For unseen data, that is test data, it may not be that accurate. Hence, low bias (very good prediction for train data) and high variance (possibility of bad predictions on test data).
@John-vm2zi
@John-vm2zi 3 жыл бұрын
Finally a concise and clear explanation of polynomial regression implementation. Great job.
@ankushghosh7835
@ankushghosh7835 3 жыл бұрын
wow, nice video.........clearing every doubts related to implementation of polynomial regression.
@TheAIUniversity
@TheAIUniversity 3 жыл бұрын
Thanks!
@maskiinkaal908
@maskiinkaal908 3 жыл бұрын
@@TheAIUniversity thanks eng but where I could get the dataset and code of this tutorial for only test purpose
@saurabhbirari9581
@saurabhbirari9581 3 жыл бұрын
Explained the concept in such a great way. Hats off.
@namaste_canadaa
@namaste_canadaa 4 жыл бұрын
After a lot of search, i found your video the most helpful one !
@TheAIUniversity
@TheAIUniversity 4 жыл бұрын
Thanks Tarun. Glad you liked the content
@MrAnandml
@MrAnandml 4 жыл бұрын
One of the best channel for ML, DL and AI ...you deserve more subs. ..
@TheAIUniversity
@TheAIUniversity 4 жыл бұрын
Thanks Anand
@narayanareddychinnapureddy1266
@narayanareddychinnapureddy1266 4 жыл бұрын
How I missed AI university all these days???😥😥 just_amazing explanation and fabulous content #new_subscriber🙌
@enricofr7079
@enricofr7079 4 жыл бұрын
great video, for my friends who read this comment you guys came to the right place
@johnanih56
@johnanih56 4 жыл бұрын
Very informative. You did not evaluate the model by informing us if the model is prone to overfitting or underfitting. Or did you cover that in another video? That is very important. Thanks
@JyotiSharma-zg1zg
@JyotiSharma-zg1zg 4 жыл бұрын
Good job
@nirajsathe9220
@nirajsathe9220 3 жыл бұрын
As we increase the degree of polynomial the condition of overfitting will occur due to overfitting condition accuracy of test data decreases.......
@saurabhbhardwaj2576
@saurabhbhardwaj2576 2 жыл бұрын
Sir, i have 3 input parameters based on these i have a output. How to solve regression in my case.
@vishnushidling4870
@vishnushidling4870 4 жыл бұрын
Thank you sir
@robertdinan8480
@robertdinan8480 3 жыл бұрын
Great video, very well explained! I was hoping you would be able to help me with the following question. I would like to create an array from a number of predicted values i.e. inserting an array as the input variable where you predict the y-value from the x-value as 53. I am hoping that this can be declared as an array which will hold all of the predicted values. Is this possible?
@coreymroczkowski8737
@coreymroczkowski8737 4 жыл бұрын
When plotting the polynomial regression model, rather than just getting one blue line, I get many blue lines. Why is this?
@inteligenciamilgrau
@inteligenciamilgrau 3 жыл бұрын
Me too!!
@inteligenciamilgrau
@inteligenciamilgrau 3 жыл бұрын
Try to change the split line avoiding shuffle and stratify X_train, X_test, y_train, y_test = train_test_split(X,y,test_size=0.3,random_state=0,shuffle = False, stratify = None) Or, instead, try to predict with the X plt.plot(X,PolyReg.predict(polynom.fit_transform(X)), color='blue')
@omkumarjha2745
@omkumarjha2745 2 жыл бұрын
@@inteligenciamilgrau thanks bhai for solving my problem🙏
@akmathematicscomputinghub6535
@akmathematicscomputinghub6535 4 жыл бұрын
Can I know from this program what is the exact equation of that regression line ??? Or I will get graph only ???
@falanshsiddh6753
@falanshsiddh6753 4 жыл бұрын
How to know what degree to take in PolynomialRegression wrt to data? Why did you took degree 2?
@nniv1986
@nniv1986 4 жыл бұрын
Same question sir ,how we select degree? Is there any method to choose it
@NotImmortal
@NotImmortal 4 жыл бұрын
Is there a video with multiple features and multiple features are categorical?
@TheAIUniversity
@TheAIUniversity 4 жыл бұрын
Yes, there is. Pls check out this video: kzbin.info/www/bejne/qIeoi6qfoaZ-ibc
@anandmohan9642
@anandmohan9642 4 жыл бұрын
Hi, your video helps a lot. Can you help me with the polynomial regression model with multiple variables? Meaning instead of one independent variable we have two or more than two independent variables to find out one dependent variable.
@MegaPrem1989
@MegaPrem1989 4 жыл бұрын
How to identify the degree = 2 in PolynomialFeatures() just by seeing the data or predicting the data with LinearRegression model.?
@MegaPrem1989
@MegaPrem1989 4 жыл бұрын
i mean here how you decided to take the degree as 2 only. why not 3
@GrowthMindsetGlobal
@GrowthMindsetGlobal 4 жыл бұрын
Really good. where do i get code
@CuriousCommunityYT
@CuriousCommunityYT 4 жыл бұрын
Great
@kalyankrishna5902
@kalyankrishna5902 3 жыл бұрын
Polynomial regression is possible for multiple linear regression ......
@pabitrakumarghorai7623
@pabitrakumarghorai7623 4 жыл бұрын
where is data set
@TheAIUniversity
@TheAIUniversity 4 жыл бұрын
Here you go... github.com/nitinkaushik01/Data_Science_Bootcamp/tree/master/Regression_Algorithms/Polynomial_Regression
@tussevanamiguel5331
@tussevanamiguel5331 3 жыл бұрын
increasing the degree will lead to overfitting
Decision Tree Regression Introduction and Intuition
12:15
The AI University
Рет қаралды 12 М.
Linear Regression From Scratch in Python (Mathematical)
24:38
NeuralNine
Рет қаралды 179 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 17 МЛН
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 33 МЛН
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
Polynomial Regression in Python
20:18
NeuralNine
Рет қаралды 47 М.
Polynomial Regression in Python - sklearn
14:01
RegenerativeToday
Рет қаралды 11 М.
Multiple Linear Regression using python ( Regression Analysis )
16:23
Machine Learning With me
Рет қаралды 10 М.
Linear and Polynomial Regression in Python
15:22
APMonitor.com
Рет қаралды 200 М.
Polynomial regression
8:57
Mike X Cohen
Рет қаралды 90 М.
Multiple Linear Regression using python and sklearn
19:51
Krish Naik
Рет қаралды 151 М.
Build your first machine learning model in Python
30:57
Data Professor
Рет қаралды 358 М.
How to Perform Polynomial Regression in Python using Jupyer Notebook
14:18
Kindson The Tech Pro
Рет қаралды 23 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 17 МЛН