Hindi Machine Learning Tutorial 2 - Linear Regression Single Variable
Вставка
- Опубліковано 16 вер 2019
- In this tutorial we will predict home prices using linear regression. We use training data that has home areas in square feet and corresponding prices and train a linear regression model using sklearn linear regression class. Later on predict method is used on linearregression object to make actual forecast.
#MachineLearningHindi #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource
Code link: github.com/codebasics/py/blob...
To download csv and code for all tutorials: go to github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.
Website: codebasicshub.com/
Facebook: / codebasicshub
Twitter: / codebasicshub
Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced
Why you didn’t explain, how to make slope, please explain it. Thank you
@@mandi.psingh7128 yeah there should be a video for it too
Bahut bahut dhanywaad Sir Ji.........Maine expect nhi kiya tha ki Machine learning bhi itna araam se sikha ja skta hain.
I am working in the analytics field and recommend everyone to watch your videos
Yrrr hats off to you..... It felt like my elder brother teaching me just in front of me.
This channel and Data professor are doing great job. Thank you so much 🥰💓
best tutor ever seen, you save my life sir.
Great work ! sir i can't understand this from i month but when i watched this video i understood in 5 minutes very very thanks!
now the concepts are going to be easy after this tutorial...Thanx
Guruji dhanyavad , Swadesh yaad dila di..👏👏
i am learing python and meachine learning via your channel , your explain is amzing ,and follwinw your all video plz keep updating such video if possible plz upload in hindi ........#Thanks &love you...
1 number .... mai kabse aeisa video dhundh raha tha ki muze regression with python samjme aaye.....aj oo din aa hi gaya.......muze aab samjme aaya ki how to do linear reg with python.....thank u so much
👍👍👍
Thank you sir. Beautiful explanation.
No words left for appreciation :) amazing work keep it up. God bless you.
👍👍👍
Really very helpful tutorial in a simplest and easiest way....thanks a lot.
very well explained sir thanks a lot sir.
You are Doing an exceptional job Mr.Dhaval, making complicated tasks this simple and also providing resources and exercises to practice , couldn't ask for more.
Muje bhi smjha do, prediction karne k baad hume kese pata lagega k model ne jo prediction ki he vh accurate he?
@@ibrahimnadeem1064 r2score mse jaise measures hain unse oata chalega model kitna accurate hai
@@ibrahimnadeem1064 train trst split method se check kar sakte hain
@@suyash7450 inhone tu nae bataya vh yar
@@ibrahimnadeem1064 bhai 15 20 min ke video me sab kaise batayega koi, poori playlist dekho inki, usne mse bhi bataya hai train test split b karaya hai
Also in hindi that's great
I've watched for English version whole
Nice sir thank u so much, Love the way to explain
Oen of the best video on Linear Regression
Sir, only because of you i made my 1st model, i m so satisfied watching your videoes, thanks a lot 😊
Hi is the course sufficient to start working as data scientist?please help..i can't afford to much on course
Very well explained sir thanks a lot sir. and bich bich me gujju wala tone aa raha tha.😂
Hi Dhaval
Explanation is truly truly appreciable....hits base knowledge to a beginner and hence make sure to have strong base knowledge.....i had been watching your amazing explanation in this tutorial , Thank you so much for the wonderful explanation in although
thanks to start in hindi, you are awesome teacher...............I love your videos
Sachin, sukriya for your kind words :)
Hi sir...your way of explaining things is so so so simple...you are making complex things very easy by your way of explanation...thank u so much sir for these tutorials☺️☺️
Thanks and welcome
Superb! Best for beginners
This was awesome clear and concise
can you make a video for binary classifire? i have seen many videos but i didn't get it what he says.but i understood fundamental things in your video. which is why i am asking you.
Thank you so much for this video because every and each concept clear, Sir please make a video for how calculate Coef and intercept.
sir really you are best teacher every time easy explian very nice god bless you 100 years
Thanks a lot ajay :)
sir apki video ne bahoot help ki meri sir m non IT backgrond se hu aaur m bahoot diffulties face krii hu samaj nhi ata data science learn krne ke liye konsi streagy follow karu most of time give up ka mn hota h🥺😓
Excellent Teaching
Sir you are doing an exceptional job. I have a question that why you have imported numpy because it isn't used in the code. i have tried the example of video and exercise without using numpy, it works fine. i just want to make sure was it a typographical error or it was used in the code but ignored by me. thanks in advance
Greetings from Pakistan, Dear sir your videos are clear explanatory and easy to learn for beginners. Thanks
Ahmed, I am glad you liked it. If you find this content useful then don't forget to give it a thumbs up, subscribe to this channel and also share it with your friends who can find it useful
I love this channel, Thank You So Much Sir,
So nice of you
waah..waah...waah..majja aa gya ...thanks sirji
ha ha .. thanks. Aapki comment padhke mere ko bhi maja aa gaya... happy learning :)
When I tried to print the income of the year already present in the dataset , it is giving me different value. May I know why does it happens?
Very useful ... thanks a ton
Really interesting lecture, done the exercise successfully. Thank You Sir
how to draw plot aftar regression?
It is very knowledgeable. But if i am entering the value of area as given 2600 then this model is showing the result of price 533664.3835541643 against 5,50000 as given in the problem. Is there any method to reduce this deviation in machine learning. As i am just beginner. This is my query. I will be happy to get response from your side. Thanks
Very nice video . Thanks sir
i did the exercise and got the correct answer. Thanks for making such clear concept tutorials.
i have one question sir. when i am using df.per capita income (US$), it is showing syntax error but when i am writing
as df[per capita in come (US$) , the code is running while plotting scatter plot. why is it so sir?
Tutorial is very significant. Easy to connect with fact. But didn't imply coding in reality. Every time face some error. Request to guide me!
sir if i want to check how accuracy our model ?
Do I need to get 1st Basic knowledge about Python for ML OR can watch these series? Please suggest
Excellent sir ji❤
I am not able to get your homework csv file.
kya u s a main a i and m l engnier ko 1.5 cr. ka pakage milta ? 6 month main ek ml aur ai seekh sakate hai? kahan se seekhe ?
Sir jo value aapko mili hai 9.25 pe 5000 sq feet ghar ke lie -- Vo sahi hai ya galat vo kaise samjhega? Maina aapka assignment bhi kia answers match hue. But me maan kaise lu ki ye hi sahi output hai?
Sir when I predict per capita income for year 1970 then model predicted -134.559667. but when predicted for 2020 it predict right value.
Why in 1970 it predict wrong value
તમારી વિડિઓ ખૂબ સારી છે
Very well explained
Iterative methods in Linear Algebra - Power iteration, Eigenvalues, SVD
sir ish topics pr bhi videos bnaa dijiye with implementation
Sir vo to ham income ka variance find karege to bhi pata chal jayega ki 2020 m income kya hogi ? To isme machine learning kyu use hota hai ???
Can anyone tell me where I will get this CSV file ?
Sir please continue this series
I am here
how to draw line of best fit using your tutorials??
Really it Exellent Tutorial
Thank you ❤️
why we took area in another variable? can anyone explain.
How model knows what is dependent variable and independent, we did not define that in the code
Ek nooo sir
Hello sir,
If I watch your tutorial from your website can I get certificate??
perhaps , it is all because of old version from your side & i am using 3.8 version. because more codes are giving different result.
Sir line no.7 aapke jaisa mere mein same output nahi aa raha ...plzz tell
I m trying to solve the exercise ques and getting error while running the code. whats the issue, i exactly followed the same steps as you have shown in the last example.
import pandas as pd
from sklearn import linear_model
df=pd.read_csv(r"C:\Users\mail4\OneDrive\Desktop\Learnbay\ML\Linear Regression_1Var\canada_per_capita_income.csv")
df
new_df=df.drop('per capita income (US$)',axis=1)
new_df
reg=linear_model.LinearRegression
reg.fit([[new_df]],[[df.income]])
Error: TypeError: fit() missing 1 required positional argument: 'y'
Very well explain tutorial and I also done excersise successfuly
What did u do for df. Per capita income having spaces.. It give me error
Per capita income for the year 2020 would be :-- 41288.70...
Plz confirm if wrong....
Awesome explaination sir..
Thanks and welcome
Unable to find the Github link
Well done.
sir installation kuch samajh nai aaya kya krna hai...kuch bhi...plz explain
Good Job
Sir how to download dataset for exercise
Sir kindly upload the solution of exercise which u have given I am facing problem in solving it.
Thanku so much sir
how to draw plot aftar regression???
Sir I was expecting ml tutorial in hindi and very well explained .
ohh so which language did he use??
Mujhe aaj pta lga Pravnta ke bare me
Thanks sir..
Thank you sir wow
Thank you
plz help how to download this excel files and all
NIce, keep goint!
Thanks, will do!
successfully completed the exercise . thank you for the amazing tutorial .. really satisfying
am not able to find the exercise when i try to import from there... can you pls help me if you or any others reading this comment
model=linear_model.LinearRegression()
model
out put: LinearRegression()
Can you share link to panda videos
osssm sir ossm
Abhi tak ke sare tutorial mein se apka sabse systematic tha, samaj mein ache se aaya, thanks so much Sir, i am new born baby in programming, wants to learn machine learning, but i have so many questions, if possible can o get your contact number Sir, please
import pandas as pd
from sklearn import linear_model
model = linear_model.LinearRegression()
df = pd.read_csv("canada_per_capita_income.csv")
new_df = df.drop('income',axis='columns')
model.fit(new_df,df.income)
model.predict([[2020]])
CAN YOU PLEASE SHARE THE CSV FILE
BEAUTIFULL
Sir blockchain pr v banaye video
Sir, I am using ubuntu and I had installed anaconda. When I am lounching anaconda navigator that time I face an error, segmentation fault (core dumped). Please tell me solution of this.
I would suggest your dont use anaconda. Uninstall that, install plain python and then install necessary modules (sklearn,numpy etc) using pip .
Sir could you please tell only for machine learning what should be your laptop configuration?
I work on , i3 processor , 1 TB ROM , 4 GB RAM , and it all works smoothly.
Getting Error fit() missing 1 required positional argument: 'y'. How to resolve
Model fit kar rahe ho to ek input aur ek output chayiye. Input x de diya aapne par y nai diya, isiliye ye error aaya hai
first erercise is not predict please help anyone
I like your way of teaching.
Namaste guruji 🙏🙏🙏🙏🙏🙏
Thanks and welcome anuj
There is an error in my program. it says that there is no any type of csv excel file exist in my directory. Although I have already created a csv file in excel. So, what's the matter I don't know? please help sir.
Provide the full path of your csv file to your model.
Thx
EXELLENT
Sir nice
Thanks Anuska. And sure I have added overfitting topic in my todo list. I will get to it in future.
aapki vid mae aur detailing ki jrurt h