Project 7. Car Price Prediction using Machine Learning with Python | Machine Learning Projects

  Рет қаралды 160,831

Siddhardhan

Siddhardhan

Күн бұрын

Hi! I will be conducting one-on-one discussion with all channel members. Checkout the perks and Join membership if interested: / @siddhardhan Check membership Perks: / @siddhardhan
. This video is about Car Price Prediction using Machine Learning with Python. This is a Regression Machine Learning Project. This is one of the important Machine Learning Projects.
All presentation files for the Machine Learning course as PDF for as low as ₹200 (INR): Drop a mail to siddhardhans2317@gmail.com
Enroll at One Neuron to learn from 100 courses in one subscription with 5% discount: courses.ineuro...
Hi guys! I am Siddhardhan. I work in the field of Data Science and Machine Learning. It all started with my curiosity to learn about Artificial Intelligence and the ability of AI to solve several Real Life Problems. I worked on several Machine Learning & Deep Learning projects involving Computer Vision.
I am on this journey to empower as many students & working professionals as possible with the knowledge of Machine Learning and Artificial Intelligence.
Hello everyone! I am setting up a donation campaign for my KZbin Channel. If you like my videos and wish to support me financially, you can donate through the following means:
From India 👉 UPI ID : siddhardhselvam2317@oksbi
Outside of India? 👉 Paypal id: siddhardhselvam2317@gmail.com
(No donation is small. Every penny counts)
Thanks in advance!
Let's build a Community of Machine Learning experts! Kindly Subscribe here👉 tinyurl.com/md...
I am making a "Hands-on Machine Learning Course with Python" in KZbin. I'll be posting 3 videos per week. 2 videos on Machine Learning basics (Monday & Wednesday Evening). 1 video on a Machine Learning project (Friday Evening).
Dataset file: www.kaggle.com...
Colab File Link: colab.research...
Download the Course Curriculum File from here: drive.google.c...
LinkedIn: / siddhardhan-s-741652207
Telegram Group: t.me/siddhardhan
Facebook group: www.facebook.c... Instagram: / siddhardhan23

Пікірлер: 147
@kalinstanchev3602
@kalinstanchev3602 2 жыл бұрын
Благодарим ви!
@dhanaxi_bohra1474
@dhanaxi_bohra1474 Жыл бұрын
your projects are good and helpful but all are without deployment. it would be very helpful if you upload 1 deployment video as well.
@awaisahmad5908
@awaisahmad5908 3 жыл бұрын
Great demonstration. My concepts are cleared now regarding how to fit linear regression on Such kind of datasets where there are multiple attributes like fuel kms used engine power transmission.
@AteebTahir-z1i
@AteebTahir-z1i 8 ай бұрын
thank u best explaination on application of linear regression so far
@kaveeshamadushan4120
@kaveeshamadushan4120 6 ай бұрын
Greate explanation for learners. Thank you very much. we need more videos like this.❤
@valeriyagamerman1415
@valeriyagamerman1415 3 жыл бұрын
Thank you! Very helpful for our project.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
My pleasure 😇
@AbhishekSingh-xg3zj
@AbhishekSingh-xg3zj Жыл бұрын
Amazing explanation sir. Great video ❤
@jamitkumar7251
@jamitkumar7251 5 күн бұрын
Thankyou sir, it was really helpfull ^ ^
@fernandocorenstein6531
@fernandocorenstein6531 2 жыл бұрын
Fantastic video. Thank you,
@sakshilodhi6318
@sakshilodhi6318 Жыл бұрын
Thank you so much for help m
@vivekshotti
@vivekshotti 3 жыл бұрын
Fantastic. Beginner Friendly. Thank you.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
You're most welcome!😇
@pravin9951
@pravin9951 3 жыл бұрын
Great demonstration sir.
@madhupincha7898
@madhupincha7898 3 жыл бұрын
In this tutorial we learnt regressions but how to predict price of any car when we have required parameters?
@EcYeshwanthkumar
@EcYeshwanthkumar 2 жыл бұрын
Thank you for the awesome tutorial
@vijayramchallagundla7781
@vijayramchallagundla7781 3 жыл бұрын
Thanks a lot for making, this video made me to get good grade in my ML subject.
@ajayjangid4604
@ajayjangid4604 3 жыл бұрын
why he is not used standardization in this dataset
@shravanacharya4376
@shravanacharya4376 3 жыл бұрын
You give a very nice explanation ..great job I hope you make more videos!!!
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Thank you, I will😇
@ΑργύριοςΤακλάκογλου
@ΑργύριοςΤακλάκογλου 3 жыл бұрын
How can we change the colour of Predicted Prices in the scatter? This will help us understand better the difference between Actual Prices which will be visualized in blue colour and Predicted Prices which will be visualized in red colour.
@DidaKusAlex
@DidaKusAlex 3 жыл бұрын
thank you very much! finally i got it, your tutorial is awesome.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Glad it helped!
@subbaraovoleti9904
@subbaraovoleti9904 2 жыл бұрын
Sir wonderful explanation.
@mayurkoppad7871
@mayurkoppad7871 5 ай бұрын
great work!!!
@bhargavkongara2003
@bhargavkongara2003 Жыл бұрын
Thank you sir
@ashutoshshukla5344
@ashutoshshukla5344 6 ай бұрын
Thankyou!
@pubgclutch7719
@pubgclutch7719 10 ай бұрын
can we use map function also right to encode the categorical to numerical?
@clinton4817
@clinton4817 7 ай бұрын
The Dataset Can't be accessed any more. The second time i am encountering this issue with the projects. Consider this when making your projects because i believe the projects are made to educate for a long time. Thank You
@prateekshakatiyar4712
@prateekshakatiyar4712 4 ай бұрын
It is a single variable project or a multiple variable in linear regression
@maitreyakadam8600
@maitreyakadam8600 Жыл бұрын
I think instead of dropping car name, it should have been used as a feature. Since some brand cars are expensive by their names.
@Pangoangiiywb172
@Pangoangiiywb172 Жыл бұрын
Youre right dude
@priyankchhajed9182
@priyankchhajed9182 Жыл бұрын
😄
@phobic1818
@phobic1818 Жыл бұрын
Yeah I tried but it was throwing error due to strings having irregularities so we'd prolly need to process and clean the data
@jagrutiyewale8891
@jagrutiyewale8891 Жыл бұрын
No need to remove the car_name ,just take x variable and include all parameters except name and selling prize.....
@digigoliath
@digigoliath 3 жыл бұрын
Thanks for a newbie friendly video. I have 2 questions. 1. A newbie question. How to deploy this as a production model to predict a car price for a given set of inputs? 2. How to plot Actual Prices vs Predicted Prices in different colors?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! you can do the deployment with flask. refer this documentation: seaborn.pydata.org/generated/seaborn.scatterplot.html to make coloured plots
@digigoliath
@digigoliath 3 жыл бұрын
@@Siddhardhan TQVM for your quick response! Saves me time to research them.
@Shisa58
@Shisa58 2 жыл бұрын
@@Siddhardhan Hi, I also trying to different plot colors for Actual Prices vs Predict Prices. When I tried to add hue I am getting an error. How exactly can we implement this?
@salim_malik_vlogs
@salim_malik_vlogs Жыл бұрын
bro, while you used lasso at end, you got test data r2 score is more compare to train data r2 score. How we can infer on this? is this overfitting or under fitting?
@harshabijjam3262
@harshabijjam3262 3 жыл бұрын
Thank you ..
@sandipansarkar9211
@sandipansarkar9211 2 жыл бұрын
finished watching
@vincetechclass3390
@vincetechclass3390 2 жыл бұрын
Pls, how can convert binary to text?
@ianandadk
@ianandadk Жыл бұрын
Actually my suggestion at 26:30, without droping those columns we can use slicing like for x = car_dataset.iloc[:, 3:] y = car_dataset.iloc[:, 2]
@jananisubash8367
@jananisubash8367 Жыл бұрын
Please explain this for me
@jineerajkumar319
@jineerajkumar319 28 күн бұрын
yes but both approach gives same data in X
@jineerajkumar319
@jineerajkumar319 28 күн бұрын
@@jananisubash8367 iloc is a method to select columns [ : , 3: ] means all rows but columns from 3 to last coloumn.
@abhishekjawla1826
@abhishekjawla1826 3 жыл бұрын
superb Bhai
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Thank you so much bro😇
@abhishekjawla1826
@abhishekjawla1826 3 жыл бұрын
@@Siddhardhan bro is there any project on Logistic Regression?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
In these 2 Projects, I have used Logistic Regression: kzbin.info/www/bejne/nJrdYoKIiad6prs kzbin.info/www/bejne/pJLGfXWarqxpoKc
@Siddhardhan
@Siddhardhan 3 жыл бұрын
I'll be posting another project video on logistic regression this Friday
@navinebhatt4014
@navinebhatt4014 6 ай бұрын
Shouldn't we be using one hot encoding as the encoding used assumes an order?
@CIVILSolved
@CIVILSolved 11 ай бұрын
Why you did not perform data standardization here?
@davidagoha1236
@davidagoha1236 2 жыл бұрын
Thank you for the tutorial sidd. Please did anyone do this using the AWS Sagemaker model?
@havishkahalangoda4344
@havishkahalangoda4344 2 жыл бұрын
Great demonstration but how owner column become 0
@mounikae9561
@mounikae9561 3 жыл бұрын
Please make video on flight price prediction project
@aryan-zd1cc
@aryan-zd1cc 5 ай бұрын
how can i get the prediction to my input like how do i input my car data and check its predicted price
@midhunkrishna902
@midhunkrishna902 2 жыл бұрын
Hello Sir, I'm student of BCA Data Science. I really liked this project. Such a great efforts Sir Can you please provide it's Documentation Sir?
@midhunkrishna902
@midhunkrishna902 2 жыл бұрын
Data Collection and Preprocessing Feature of Engineering and Selection Model Selection and Evaluation Model training and testing Result and analysis Conclusion
@nagusameta366
@nagusameta366 2 жыл бұрын
Would it be beneficial to perform one-hot encoding on the categorical features that have more than 2 categories (e.g. 0, 1, 2...)? It was suggested in a different lecture, but i dont know what to do then if the number of categories go higher like 10 or more.
@LoneWolf-rj1px
@LoneWolf-rj1px 2 жыл бұрын
For this case, I do not think it would be beneficial as it will increase memory consumption. What I am concerned about is whether should we use a standard scaler here.
@nagusameta366
@nagusameta366 2 жыл бұрын
@@LoneWolf-rj1px Thanks for the insight!
@kumarabhinandan840
@kumarabhinandan840 2 жыл бұрын
For more than 3 categories go with one hot encoding and for less go with label encoding
@zhironggu-j1m
@zhironggu-j1m Жыл бұрын
what should i do if isnull().sum() is not none? do you have video to solve it?
@Al-khayr.2002
@Al-khayr.2002 Жыл бұрын
I clicked on the link to the dataset in the description I am getting a 404 page not found error Any help please
@user-ps9mk3pi7o
@user-ps9mk3pi7o Жыл бұрын
Where did you get the dataset from
@tonymathewjohn5958
@tonymathewjohn5958 3 жыл бұрын
super class
@Thandi899
@Thandi899 3 жыл бұрын
Thank you for informative video. Why didn't you use dummy variables instead of manually doing it yourself? Is it just a preference or there are advantages to it?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! thanks for your positive words 😇 it's just my preference... you can definitely try that out.
@Thandi899
@Thandi899 3 жыл бұрын
@@Siddhardhan oh okay, awesome. May you please assist me with writing a function that; - Takes in a dataframe (df), - Standardize the features using StandardScaler() - Split data into 25% training, random_state =25% - Fills any NAN values with zero. I’m able to do it step by step but not as one function
@strongsyedaa7378
@strongsyedaa7378 2 жыл бұрын
@@Siddhardhan Can KNN be used on this dataset? As Dataset be divided into k folds so which model to be chosen?
@simonishabiyi
@simonishabiyi Жыл бұрын
the dataset isnt available can you pls hlp by making it available
@crazyfootball2753
@crazyfootball2753 2 жыл бұрын
to test the validity of model beyond r2 score if we specify attribute values that are closer to one of the training data record, in the final output window, should the model need to predict the price nearer to selling price for that specific record in training data? Expecting your answers. Thanks
@satyamshaw2280
@satyamshaw2280 Жыл бұрын
sir dataset is not opening
@manuthvann7560
@manuthvann7560 3 жыл бұрын
Thanks for making this impressive vdo tutorial alot, sir . I am now working on this project for my school assignment, but since I am a newbie to ML. I am wondering whether there is any possible way to make damaged car identification using machine learning, also it can predict, what status our cars are in ( good, new, .. ) and if good how many percentages. Looking forward to hearing back from you thanks
@vibetrendzz
@vibetrendzz 2 жыл бұрын
Can I have your report of this program
@ayushdubey3550
@ayushdubey3550 2 жыл бұрын
@@vibetrendzz Can I get your report?
@jillurrahman6913
@jillurrahman6913 8 ай бұрын
dataset is not found
@ninadekbote6652
@ninadekbote6652 Жыл бұрын
How many iterations?
@adhiwirahardi
@adhiwirahardi 2 жыл бұрын
where you get the data set
@badrimunaganti5363
@badrimunaganti5363 2 жыл бұрын
How can we find the accuracy for this sir.
@ekaagustina9010
@ekaagustina9010 3 жыл бұрын
33:55 the Rsquared. When do we use this? Is it because using linear model? is it only for linear model? is there any spesific reason sir on when exactly we use this metrics?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
we use it for Regression models.
@tanubhawsar1714
@tanubhawsar1714 2 жыл бұрын
@siddhardhan can you please share the report of this project
@rajeshkapase9046
@rajeshkapase9046 2 жыл бұрын
how i can get data for cost prediction model for edtech firm using maching learning
@garv18x
@garv18x 2 жыл бұрын
can this project work with api ?
@mukundbharadwajL
@mukundbharadwajL 8 ай бұрын
isnt car name also categorical value?
@raunak3406
@raunak3406 3 жыл бұрын
if r squared error is more for lasso how is it better than linear?
@lakshmireddyperam6377
@lakshmireddyperam6377 Жыл бұрын
Why you skip EDA part you just take a simple dataset and applying a ml algorithem its better to add EDA part for better understanding
@abhishekpanjiyar8266
@abhishekpanjiyar8266 3 жыл бұрын
how can we plot a line in linier regression model and how can we write the difference in selling price in actual and predicted value
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! you can try and.lmplot() from seaborn to plot linear model with your data. Refer seaborn documentation on how to do this. we can find the difference of the actual price & predicted price with metrics like mean absolute error, etc.
@abhishekpanjiyar8266
@abhishekpanjiyar8266 3 жыл бұрын
@@Siddhardhan ok thanks,did both of it,but how this model worked behind ,which feature(column) have been given how much importance,for predicting selling price,please suggest best book for maths for machine learning,i am new to this field
@Motivation_Shorts-m
@Motivation_Shorts-m 2 жыл бұрын
I am having an error after I'm using the fit function for the training data. Could you please tell me how to fix this error
@SZS154
@SZS154 Жыл бұрын
same did u find out?
@Yash-yl7vg
@Yash-yl7vg 3 жыл бұрын
At 32:00 erro is coming "could not convert string to float: LPG"
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! mail your Colab file link to datascience2323@gmail.com
@Yash-yl7vg
@Yash-yl7vg 3 жыл бұрын
@@Siddhardhan ok sir thankyou for replying so quick
@anilkumarreddyreddy6311
@anilkumarreddyreddy6311 3 жыл бұрын
@@Siddhardhan Am getting error Could not convert string to float:CNG
@bhavyav8355
@bhavyav8355 3 жыл бұрын
Here ,what is the purpose of importing seaborn ?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
seaborn is used for plotting the data
@VarshiniR-gd8qv
@VarshiniR-gd8qv 2 жыл бұрын
Bro can I get car price prediction with python in deep learning
@BRISHTIDAS-o4b
@BRISHTIDAS-o4b 6 ай бұрын
cant understand why are you using lasso regression
@habteroyal9444
@habteroyal9444 2 жыл бұрын
how to download data set???
@ayubcade5248
@ayubcade5248 3 жыл бұрын
What is the problem and why to predict i don't understand😑
@hajaksksnsjksksbsnsn
@hajaksksnsjksksbsnsn 3 жыл бұрын
I have confusion on using same dataset for training and prediction. I think you should use test dataset for prediction instead of training dataset i.e. X_train. Please clarify my doubt.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! the reason for finding the accuracy on x_train and x_test is to determine whether the model has overtrained. that's the reason why I used x_train as well.
@hajaksksnsjksksbsnsn
@hajaksksnsjksksbsnsn 3 жыл бұрын
@@Siddhardhan ok. But what should be the correct approach for real time scenario?
@ancytech8186
@ancytech8186 3 жыл бұрын
Bro , How can we contact you personally ? Can you work for my An AI project ?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! I am sorry. I don't work on freelance projects as of now.
@ancytech8186
@ancytech8186 3 жыл бұрын
@@Siddhardhan We are recruiting people for an AI startup . So We hope you can guide us technically .
@nibin7
@nibin7 3 жыл бұрын
Superb work! Splitting the data into train and test---Even after spelling correctly, I get an error "the column not found in axis'' Can I replace data.drop with data.iloc for all cases.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! share the details of the error with your Colab file link to datascience2323@gmail.com
@abhinavkale4632
@abhinavkale4632 3 жыл бұрын
you have to mention axis = 1 inside the drop function along with the column function
@nomoregamesfacts123
@nomoregamesfacts123 Жыл бұрын
Iam getting error at linear regression model can anyone help me
@pesallway
@pesallway 3 жыл бұрын
Sir Can I Keep this sort of Projects in Resume with just this notebook implementation
@Siddhardhan
@Siddhardhan 3 жыл бұрын
you can add few more things like optimization, deployment, etc
@pesallway
@pesallway 3 жыл бұрын
@@Siddhardhan is it enough If I just make a model in Jupiter notebook..as I don't enough time further steps like deployment as I want to include atleast one project in ML in my resume...is it enough sir
@Siddhardhan
@Siddhardhan 3 жыл бұрын
I am not sure. It won't be sufficient if you ask me.
@pesallway
@pesallway 3 жыл бұрын
@@Siddhardhan okay sir
@khaledabunada3506
@khaledabunada3506 3 жыл бұрын
عمل رائع
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Thanks 😇
@shirshchauhan4429
@shirshchauhan4429 3 жыл бұрын
how to find 12. Which is the most and least cost depreciated vehicle in data ? 13. Which brands of vehicles are less affected by cost depreciation ? 14. Can we get idea about newest vehicles i.e. after 2014 manufactured ? 15. Can we find out data of only two wheelers from this data? pls answer this fast pls
@vinodhm3369
@vinodhm3369 Жыл бұрын
You have to find the values from the data by doing some calculations
@9881847751
@9881847751 3 жыл бұрын
why i am Founding input variables with inconsistent numbers of samples: [301, 1]
@9881847751
@9881847751 3 жыл бұрын
by doing in train_test_split
@haleemasadia9743
@haleemasadia9743 3 жыл бұрын
Is there any video on features extraction?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Hi! I'll be posting a video on feature extraction of text data this Wednesday. You can watch this project video. I have explained how to convert text to feature vectors. (Fake News Prediction) : kzbin.info/www/bejne/pJLGfXWarqxpoKc
@haleemasadia9743
@haleemasadia9743 3 жыл бұрын
@@Siddhardhan can you provide me your contact details please
@AdilKhan-lz2ch
@AdilKhan-lz2ch 3 жыл бұрын
Would it be possible to reach out to you privately for assistance? Please share your info if you are available for help.
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! send a mail to datascience2323@gmail.com
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 3 жыл бұрын
you have done ordinal encoding for fuel type: this approach is wrong.
@adnanabdullah2239
@adnanabdullah2239 3 жыл бұрын
When we print(car_dataset.Fuel_Type.value_counts()), it shows Name: Fuel_Type, dtype: int64. Does this int64 imply no. of counts? (As Fuel_Type column contains, string type data, I got confused)
@Siddhardhan
@Siddhardhan 3 жыл бұрын
yes, it is.
@samadhanpawar6554
@samadhanpawar6554 2 жыл бұрын
In real world how to predict price without car name
@ayushdubey3550
@ayushdubey3550 2 жыл бұрын
If anyone here has made a project on this topic, Can you share your project file??
@thecampfire1094
@thecampfire1094 3 жыл бұрын
Bhaiya can i use this as Final Year projects ?? If Notchoose suggest another machine leanring topic Congrats you got new subscriber
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! I am not sure whether it would be approved. you may go with deep learning Projects.
@shansingh9858
@shansingh9858 3 жыл бұрын
Hey camp fire...this project will be good for complete beginners but at least build some real time projects..
@9881847751
@9881847751 3 жыл бұрын
The data show parsererror : expected 3 field in line 43,saw 5 😭😭😭
@Siddhardhan
@Siddhardhan 3 жыл бұрын
download this dataset file instead: drive.google.com/file/d/1TCZdOO7AXHZ0ZN0eJHbwmWP6dtMTNFde/view?usp=drivesdk
@9881847751
@9881847751 3 жыл бұрын
@@Siddhardhan thanks man🤓
@ruchitachauhan6546
@ruchitachauhan6546 2 жыл бұрын
Actual price to nikali hi nhi
@sandeshbhurtyal9150
@sandeshbhurtyal9150 2 жыл бұрын
lol
@surbhitpratik
@surbhitpratik 3 жыл бұрын
While writing the encoding of data using replace function, I'm getting an error "TypeError: Cannot compare types 'ndarray(dtype=int64)' and 'str' ", so I'm not able to change my values to 0,1 & 2.
@sudhanshusingh5594
@sudhanshusingh5594 3 жыл бұрын
The reason for this error is because of the number of times you execute the cell. The first time you execute the cell the transformation happens ('Y' -> 1, and 'N' -> 0). At this point if you try to rerun the same cell, the data type for physicalEvidence and contact is now an int rather than a string. So when the replace method runs, it is look for a 'Y' or 'N', but DOES NOT find any because all of the values have been replaced with 1 or 0. If this happens, you'll just need to reload the dataframe (df) again and rerun the cell one time. I hope this helps! Let me know your thoughts.
Large Language Models explained briefly
7:58
3Blue1Brown
Рет қаралды 1,4 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 364 М.
How I'd learn ML in 2025 (if I could start over)
16:24
Boris Meinardus
Рет қаралды 230 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 451 М.
All Machine Learning algorithms explained in 17 min
16:30
Infinite Codes
Рет қаралды 585 М.
Python Machine Learning Tutorial (Data Science)
49:43
Programming with Mosh
Рет қаралды 3 МЛН
House Price Prediction in Python - Full Machine Learning Project
40:40
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН