[Hindi] Linear Regression Code In Python Sklearn! - Machine Learning Tutorials In Hindi

  Рет қаралды 288,085

CodeWithHarry

CodeWithHarry

5 жыл бұрын

This video is a part of my Machine Learning Using Python Playlist - • Machine Learning Tutor...
►Click here to subscribe - / @codewithharry
Best Hindi Videos For Learning Programming:
►Learn Python In One Video - • Learn Python In Hindi ...
►Learn JavaScript in One Video - • JavaScript Tutorial
►Learn PHP In One Video - • Learn Php In One Video...
►Machine Learning Using Python - • Machine Learning Tutor...
►Creating & Hosting A Website (Tech Blog) Using Python - • [Hindi] Web Developmen...
►Advanced Python Tutorials - • Intermediate/Advanced ...
►Object Oriented Programming In Python - • Object Oriented Progra...
►Python Data Science and Big Data Tutorials - • Python Data Science an...
Follow Me On Social Media
►Website (created using Flask) - www.codewithharry.com
►Facebook - / codewithharry
►Instagram - / codewithharry
►Personal Facebook A/c - / geekyharis
Twitter - / haris_is_here

Пікірлер: 636
@CodeWithHarry
@CodeWithHarry 5 жыл бұрын
#Code import matplotlib.pyplot as plt import numpy as np from sklearn import datasets, linear_model from sklearn.metrics import mean_squared_error diabetes = datasets.load_diabetes() diabetes_X = diabetes.data diabetes_X_train = diabetes_X[:-30] diabetes_X_test = diabetes_X[-30:] diabetes_y_train = diabetes.target[:-30] diabetes_y_test = diabetes.target[-30:] model = linear_model.LinearRegression() model.fit(diabetes_X_train, diabetes_y_train) diabetes_y_predicted = model.predict(diabetes_X_test) print("Mean squared error is: ", mean_squared_error(diabetes_y_test, diabetes_y_predicted)) print("Weights: ", model.coef_) print("Intercept: ", model.intercept_) # plt.scatter(diabetes_X_test, diabetes_y_test) # plt.plot(diabetes_X_test, diabetes_y_predicted) # # plt.show() # Mean squared error is: 3035.0601152912695 # Weights: [941.43097333] # Intercept: 153.39713623331698
@rafayjangsher762
@rafayjangsher762 5 жыл бұрын
I have a little confusion that why we are slicing? Is it the same concept of sample and population in statistics?
@nomadindiagaming11
@nomadindiagaming11 5 жыл бұрын
Sir ye series complete ho gyi kya?
@manishsharma2211
@manishsharma2211 4 жыл бұрын
@@rafayjangsher762 that is nothing bus splitting into train and test datasets
@taha2279
@taha2279 4 жыл бұрын
sir can u please telll me that y your mean square error is so high bcz it means that it is very poor model
@visheshraval6119
@visheshraval6119 4 жыл бұрын
@@taha2279 no , in video sir wrote model.fit(diabetes_X_train, diabetes_X_train) by mistake , it should be model.fit(diabetes_X_train, diabetes_y_train) see in second parameter "Y" should there
@MohitK96
@MohitK96 5 жыл бұрын
This level of teaching at free of cost is great....
@aadarshkumarshah8795
@aadarshkumarshah8795 3 жыл бұрын
youtube is giving him the salary , thank youtube for the free content
@searchapostateprophetabdul2398
@searchapostateprophetabdul2398 3 жыл бұрын
@@aadarshkumarshah8795 other people are charging thousands for a tatti course
@anubhavkrishna4186
@anubhavkrishna4186 3 жыл бұрын
@@aadarshkumarshah8795 youtube doesn't give salary
@suvamdey5711
@suvamdey5711 3 жыл бұрын
@@anubhavkrishna4186 Not salary. We can say it's his earning.
@ashdlll7892
@ashdlll7892 3 жыл бұрын
Sahi bola bhai
@AnilKumars_001
@AnilKumars_001 2 ай бұрын
From 965 subscribers now having 60 Lac after just 5 years.. what a great Journey Harry Bhai
@BerozgaarIAS
@BerozgaarIAS 3 жыл бұрын
I observed that there were only 965 subscribers when you were recording this video... and the number has crosses 7L in just 2 years... this shows your talent your hard work and and your determination towards your work. thanks a lot sir, for helping us grow... :)
@HarshVardhan-bx4pv
@HarshVardhan-bx4pv 3 жыл бұрын
Bro Harry is Great 👍
@sahilpunia2122
@sahilpunia2122 3 жыл бұрын
and today it crossed 10L
@parthchauhan3049
@parthchauhan3049 3 жыл бұрын
Today it crossed 12.3 Lakhs🎉🎉
@samratgupta7014
@samratgupta7014 3 жыл бұрын
Today it crossed 13.6 Lakhs
@ujjawalsaini780
@ujjawalsaini780 3 жыл бұрын
Today it crossed 14.2 lakh
@abhisheksharma8374
@abhisheksharma8374 5 жыл бұрын
One of the best hands-on tutorial on youtube! Thanks a lot!
@AKASHSHARMA-wy7mg
@AKASHSHARMA-wy7mg 3 жыл бұрын
he had 965 subs in this video and today he had reached 1M subs with all time quality content.
@1Happy_Singh
@1Happy_Singh Жыл бұрын
Now 3.99 ☺️
@KairavLive
@KairavLive Жыл бұрын
Today 4.04
@rahuljindal8988
@rahuljindal8988 4 ай бұрын
Now 5.99
@ArpitDharmshaktu
@ArpitDharmshaktu Ай бұрын
Now 6.21
@ch.ammar.1
@ch.ammar.1 Ай бұрын
@@ArpitDharmshaktu 6.22 😅
@ashishmalhotra2230
@ashishmalhotra2230 Жыл бұрын
How can you not love this guy? Super skills and great teaching technique.
@suyashshrivastava8244
@suyashshrivastava8244 2 жыл бұрын
bhaiya .. You are the best ... Unlike others You are helping the Youth of India.... Educating lots of students like us... You are making soo much good use of your education . Your knowledge is being inherited by soo many students. ThankYou Soo much, teachers like you are really needed .
@tudos9209
@tudos9209 3 жыл бұрын
this series and your teaching style and explanations are superb. You will be remembered for generations...
@pranavanand2399
@pranavanand2399 4 жыл бұрын
first of all thank you, sir, for explaining such an easy explanation, I tried many online platforms but found this very useful. kindly sir complete the series by at least covering most of ml algorithm along with code plz
@shiwaneepandey531
@shiwaneepandey531 5 жыл бұрын
you taught me sir very well before seeing your video really regression was so tough and horrible for me thanks a lot sir 👍
@rohanazad6745
@rohanazad6745 2 жыл бұрын
You are the best tutor I have come across on KZbin. Thank you for being this good.
@shreeramashivasaibharadwaj5708
@shreeramashivasaibharadwaj5708 4 жыл бұрын
"insaan se galtia toh hoti h😂😂😂😂😂" GREAT JOB bhai
@priyankabanerjee4427
@priyankabanerjee4427 5 жыл бұрын
doing a great job man,having videos like this at free of cost ...your hard work is appreciable.Thank you :D
@lakshyakhandelwal1091
@lakshyakhandelwal1091 3 жыл бұрын
Yes I too like it😁
@user-sy7wr2gu6j
@user-sy7wr2gu6j 19 күн бұрын
Mere liye ye bhoot motivation vala part rahega ki appke video main 965 subscribe hain aur abbhi dekh raha hun ki 6 million se zyada subscribes hain.❤❤❤❤🎉❤
@roopagaur8834
@roopagaur8834 5 жыл бұрын
Superb teaching...!!! So nicely you explained everything... !!! Thanks
@entrtnmnthub5357
@entrtnmnthub5357 3 жыл бұрын
sir, your teaching level is really awesome! and it's really great to learn from a teacher like you!
@likithaareti9666
@likithaareti9666 Жыл бұрын
great explaination !! Thank you very much, looking for more videos on Machine learning, I am doing my masters In US and I have taken machine learning class, your playlist is amazing, i have gone through one hour of python, data science videos and now watching machine learning playlist
@user-sy7wr2gu6j
@user-sy7wr2gu6j 19 күн бұрын
Mere liye ye bhoot motivation vala part rahega ki appke video main 965 subscribe hain aur abbhi dekh raha hun ki 6 million se zyada subscribes hain.❤
@anime_on_data7594
@anime_on_data7594 4 жыл бұрын
Sir i enjoyed a lot its my first project in ml i am very happy. Sir now you re the only one hope to reach my ambition
@somnath2025
@somnath2025 5 жыл бұрын
Bahut hi badiya tarika tha linear regression with multiple features explain karneka plus the code part , honestly you have taken way the fear of machine learning , I found this video equally motivated to learn machine learning. Thanks mere Bhai !
@findingyou6905
@findingyou6905 5 жыл бұрын
awesome yaar you are very energetic keep it up and one thing in this video that during code don't show yourself 10:17 because we can lose concentrate but when you want to talk then show yourself during code with distrube us don't mind it is a point i see that
@pilanemanoj
@pilanemanoj 5 жыл бұрын
Good explanation of each n every point... Thanks Harry....Would you please explain which algorithm should we use in different scenarios
@Vishal-nc8ju
@Vishal-nc8ju 5 жыл бұрын
ONLY THING I can say is amazing u made it very easy for us
@maheshmk1503
@maheshmk1503 5 жыл бұрын
Superb superb sir ..ty so much ...and plz sir m.l ki series jldi jldi kriye upload
@rakeshsagar9510
@rakeshsagar9510 10 ай бұрын
His humility and knowledge is astounding. Please keep it up.
@vivekrawat1758
@vivekrawat1758 4 жыл бұрын
This is very nice, simple to understand... Great Work.. keep posting such videos.
@badarraja8107
@badarraja8107 4 жыл бұрын
harry bahi. u r very impressive person. ur way to teach us is very good. we r lucky to have sir like u.
@manojsinghpal8058
@manojsinghpal8058 5 жыл бұрын
bhai your are awesome , sach mai, your explanation is very clear
@rituranikeshri5999
@rituranikeshri5999 5 жыл бұрын
sir please continue with such videos...its really benificial
@darksoul.0x7
@darksoul.0x7 5 жыл бұрын
Best video on the KZbin Kya baat hai.
@neeturiwar8706
@neeturiwar8706 5 жыл бұрын
Bdiya bhai.. A rha h smjh... Thnx
@yagniksinhjadav3321
@yagniksinhjadav3321 2 жыл бұрын
what a quote Harry bhaiii!!! "Code never lies, comments some times do..."
@srishtijain1092
@srishtijain1092 5 жыл бұрын
Amazing videos! Great efforts!
@rajgaming6733
@rajgaming6733 8 ай бұрын
Are hmne aapke 15-15 hours wali videos itne mze lete hue Or enjoy krte dekhi hai aur yeh toh bss 26 minute ki hai kya harry bhai aap bhi😂❤
@Vaibhav20x09
@Vaibhav20x09 3 жыл бұрын
Harry bhaia , I think that for the first 30 elements, we should type [ : 30] while [ : -30 ] will take elements from starting and will end at the last 30th element
@niteshprajapat7918
@niteshprajapat7918 3 жыл бұрын
exactly , I was too confused. why -ve sign was used
@jayati6693
@jayati6693 2 жыл бұрын
same, I checked that again and again, last 30 elements should be diabetes_X[-30 : ] and as you said first 30 is [:30]
@rajkumardongre3085
@rajkumardongre3085 Жыл бұрын
Actually Harry bahi is talking last 30 elements for test and rest is for training therefore : test = diabetes[ : -30] i.e test is a set from 1st element to last 30 elements. train = diabetes[-30 : ] i.e train is a set of last 30 elements I hope now you have a clear idea
@prashinparikh2199
@prashinparikh2199 Жыл бұрын
@@rajkumardongre3085 I am not able to plot scatter plot why? Its giving me value error
@rajkumardongre3085
@rajkumardongre3085 Жыл бұрын
@@prashinparikh2199 Make sure the length of diabetes_X_test and diabetes_y_test are same(i.e 30). you can use len(diabetes_X_test) to find the length of diabetes_X_test. I hope this might help you
@mohsinmalik7240
@mohsinmalik7240 5 жыл бұрын
harry bhai you are amazing ! very easily u explained it. thanku
@fgffgf9844
@fgffgf9844 5 жыл бұрын
very much impressed ,ur video is the best and simplified way to learn scikit
@shiveshbharti5442
@shiveshbharti5442 3 жыл бұрын
Thank you so much harry sir, you really teach very Nicely and love your videos and i have learned a lot
@mazharbukhari786
@mazharbukhari786 3 жыл бұрын
It is the responsibility of the academic of the viewers to like, share and subscribe to the channel as the teacher is delivering the lecture and we are going to perform our responsibility as a virtue.
@nusratrani4590
@nusratrani4590 3 жыл бұрын
Thanks for sharing all good work. My question is that How can I add confidence intervals in codes and plots as well. I think in that case I’ll have three predicted cases.
@RajivYadav-gb6nb
@RajivYadav-gb6nb 3 жыл бұрын
amazing explanation and implementation......thnx a lot ....u r doing a gr8 job
@teen_python_go9947
@teen_python_go9947 3 жыл бұрын
25:32 bhaiya ekdum santusht hain!! thanku very much!!
@puneettiwari2251
@puneettiwari2251 3 жыл бұрын
Simply wowww... great explaination 👍👍 and thanks a lot for the code.
@androidgamez3639
@androidgamez3639 3 жыл бұрын
yeah...harry vai..i completed this playlist in a single day....much intetresting
@rajeevverma4238
@rajeevverma4238 4 жыл бұрын
your lectures are brilliant sir .
@yusrazulfiqar7094
@yusrazulfiqar7094 3 жыл бұрын
hayeeeee u solved my problem mene machine learning ki ek class b ni li the and assignment mil gai thank u so much bro
@sanketamesar4753
@sanketamesar4753 3 жыл бұрын
bohot badiya harry bhai. more videos.
@sksoni4212
@sksoni4212 5 жыл бұрын
Great going and very systematic ...
@vimleshkumar6810
@vimleshkumar6810 5 жыл бұрын
bro your way of explanation is very well
@kunalgulati3358
@kunalgulati3358 2 жыл бұрын
Khatarnaak video Harry bhai
@thecodingdice3107
@thecodingdice3107 3 жыл бұрын
thanks harry bhai we will support you in this journey from odisha
@nirajshah3412
@nirajshah3412 2 жыл бұрын
Thank you so much Harry..... It really feels like bada Bhai, hume training de rahe hai☺.... God Bless you and your family Harry Bhai ☺
@Satishkumar-kq4mh
@Satishkumar-kq4mh 5 жыл бұрын
Very nice sir. Most important video.. Thanku sir
@pkrockon200
@pkrockon200 4 жыл бұрын
Guys this is Super IITian.... Big fan of yours teaching....Keep it up...
@sangamesh2727
@sangamesh2727 4 жыл бұрын
Empathy word ko samjhte ho bhai tum......sahi mae bahut ache video hain.
@shahjehan482
@shahjehan482 5 жыл бұрын
Wow bro very nice keep it up i shared too much with my friends
@shahnazmazumder3978
@shahnazmazumder3978 4 жыл бұрын
I like the way you say ”next time” in the end. From last few videos I also say ”next time” along with you..😆😂
@bastongamer
@bastongamer 2 ай бұрын
I saw it was just 965 subs and now its 6M. it shows the quality of content
@MrKB_SSJ2
@MrKB_SSJ2 2 жыл бұрын
Amazing. An immense thanks to you...
@akshatjain2934
@akshatjain2934 3 жыл бұрын
Thanks sir. You are really a great and intelligent person.
@anirudhsareen5246
@anirudhsareen5246 8 ай бұрын
from 965 subscriber only to now almost 5 million subs, this is what real dedication looks like
@nishabhadauriya6319
@nishabhadauriya6319 Жыл бұрын
Wonderful explanation 💯 and then very well explained coding part...Thanks
@addyUnrefined
@addyUnrefined 2 жыл бұрын
Loved your teaching skill
@poonampotus4130
@poonampotus4130 4 жыл бұрын
very very nice ....uh made d complex things very simple...thanks
@aayushpatel2904
@aayushpatel2904 2 жыл бұрын
I don't know how to thank you bhaiya....... lots of love to your channel
@yashikatomar6961
@yashikatomar6961 Жыл бұрын
bhaiya you are the greatest.Thank you so much for this series.
@poxato
@poxato 4 жыл бұрын
is that a TVS Gold keyboard... ahh old style love. those mech keys sounds so soothing to ear.
@un9444
@un9444 5 жыл бұрын
Very nice broo keep it up , but upload all videos as soon as possible thnx for the explanation ,Gbu broo
@ashwinijn1
@ashwinijn1 29 күн бұрын
Without your explanation I wouldn't have learnt machine learning 😊
@AnubhavMadhav
@AnubhavMadhav 4 жыл бұрын
Sir Ji, you are best as always.
@maleka0069
@maleka0069 4 жыл бұрын
I keep it bro ur teaching style is best .. pls bro complete the course of machine learning i need it
@ibneadam9854
@ibneadam9854 3 жыл бұрын
Awesome, keep it up Harry...Geo
@simranshikalgar6169
@simranshikalgar6169 2 жыл бұрын
You have done a marvelous job...
@nomadindiagaming11
@nomadindiagaming11 5 жыл бұрын
Dheere dheere apke bi lakho subscriber honge . Bhai ap mehnat and achai ka kam kr rhe ho isliye apko thoda time lgega.
@memecolony3197
@memecolony3197 3 жыл бұрын
Oh my God 😱 I just saw that he has only 965 subscribers at the time of making this video he don't even know that in future he will cross 1 million Love you code with Harry 🎉🎉
@niteshprajapat7918
@niteshprajapat7918 3 жыл бұрын
exactly brother , just in few yrs. This is because of his way of teaching, hard work, joking
@ScrollwithYashh
@ScrollwithYashh Жыл бұрын
Now he's near to 4 M
@pratikdahal9784
@pratikdahal9784 4 жыл бұрын
appreciated ...harry sir ...keep going...
@thebestofbest2626
@thebestofbest2626 2 жыл бұрын
love u bro ,thank you so much for all ur efforrts
@ayushagarwal6530
@ayushagarwal6530 5 жыл бұрын
Bhai u r a blessing 🙏😇
@muzmmilpathan7781
@muzmmilpathan7781 5 жыл бұрын
Bhai app see best koi nahi sikha sakhta
@rakshitrawat581
@rakshitrawat581 4 жыл бұрын
Sir best series ever.
@all_gaming9682
@all_gaming9682 3 жыл бұрын
Thanku so much sir..for amazing playlists..I am little be late..but wo khate hai na der aaye durshat aaye..
@ishtiaqahmad4118
@ishtiaqahmad4118 3 жыл бұрын
Your completely hard wok, we every one get a lot benefit - thank you. I.A.Siddiqui Karachi
@vijaybhatt8060
@vijaybhatt8060 2 жыл бұрын
journey from 965 to 2M . content is power congratulation harry
@ashutoshdubey6482
@ashutoshdubey6482 3 жыл бұрын
Your my guru of coding
@vishleshumberkar63
@vishleshumberkar63 4 жыл бұрын
Hi Harry, Good to see all the concepts simplified. however, just one question, why we have used pycharm here, and why not Jupyter Notebook.
@islamicWaqiat15
@islamicWaqiat15 Жыл бұрын
impressive way of teaching👍
@sprajwal-lq3zz
@sprajwal-lq3zz Жыл бұрын
The journey begins from 965 subscriber to 3.6 million subscriber hats off harry bhai 🔥🔥🔥
@salehanoor88
@salehanoor88 4 жыл бұрын
hello Herry Sir I am requesting tutorials on tweets sentiment analysis by using scikit learn. Generation word cloud of negative and positive comments, how to prepare training data etc. I love your tutorials. they are just great.
@kunalgulati3358
@kunalgulati3358 2 жыл бұрын
Mst kaam harry bhai
@bharatipatil2187
@bharatipatil2187 Жыл бұрын
thank you so much for ML series It helps me a lot
@zahidalioff
@zahidalioff 4 жыл бұрын
You are great sir
@youtubeshorter5297
@youtubeshorter5297 3 ай бұрын
bhai tu great haiii👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻
@abhishekgorshi9822
@abhishekgorshi9822 Жыл бұрын
thank you bro my exams are near but now I cleared many doubts from your video
@thestranger9577
@thestranger9577 5 жыл бұрын
Congrats for 1K......
@bapusosawant4312
@bapusosawant4312 4 жыл бұрын
Excellent bro...keep it up ...
@vishalvu9573
@vishalvu9573 4 жыл бұрын
Great job .... awesome.. Please make video on Time Series analysis and prediction
@kaifahmad4131
@kaifahmad4131 Жыл бұрын
Great resource still relevant.
@suryakantshirsat1880
@suryakantshirsat1880 3 жыл бұрын
Great teachings sir
@jinglerobs1
@jinglerobs1 3 жыл бұрын
Nice video sir, please could you advise how to plot graphs with multiple features
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 10 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Multiple Linear Regression in Python - sklearn
10:35
RegenerativeToday
Рет қаралды 77 М.
Linear Regression Practical Implementation In Hindi
23:30
Krish Naik Hindi
Рет қаралды 138 М.
Linear Regression From Scratch in Python (Mathematical)
24:38
NeuralNine
Рет қаралды 162 М.
25 Nooby Pandas Coding Mistakes You Should NEVER make.
11:30
Rob Mulla
Рет қаралды 264 М.