House Price Prediction in Python - Full Machine Learning Project

  Рет қаралды 289,886

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 251
@krish4659
@krish4659 8 ай бұрын
a small summary : for those who are gonna start , he preprocessed the dataset a bit ( removing NaN values, adding features and splitting the catogerical value column to binary columns ) and then scaled,splitted and trained & tested on linear , random forest ..finding best estimator at last ( no explaination on what estimators are, so read forest ahead of doing this )
@mbulelondlovu9427
@mbulelondlovu9427 6 ай бұрын
how did he change ocean proximity from object to int?
@rodelrahman5117
@rodelrahman5117 5 ай бұрын
@@mbulelondlovu9427 he took one feature like
@aituition8336
@aituition8336 Жыл бұрын
Mate you explain everything so concisely and keep it so interesting! Really enjoyed this video
@felcycecelia
@felcycecelia Жыл бұрын
I agree with you
@Adjunctive
@Adjunctive 9 ай бұрын
AT APPROX 31:00 - If ISLAND is not showing I just increased my test_size = 0.2 to 0.25, or until it became large enough that it did include the ISLAND. Not sure of a real fix but this worked to get past this hurdle. Take care
@Seyed2d
@Seyed2d Ай бұрын
your tutorials are on another level! The way you explain complex topics, makes it feel so achievable. Absolute respect for your teaching skills!
@andyn6053
@andyn6053 6 ай бұрын
Just found your channel! Im on a journey to become a data scientist and really build a solid understanding. This is a great first project to get under my belt. Having you by my side while going through the steps is awesome. I will try out doing projects all by myself also but first following along is a great start to get more comfortable and see the steps included and how u tackle it! Greetings from Sweden!
@enes13
@enes13 Жыл бұрын
11:47 train_data.corr(numeric_only=True)
@evolved__ca
@evolved__ca Жыл бұрын
Thanks
@mohammedirshad2167
@mohammedirshad2167 10 ай бұрын
this was really helpful
@lusc6
@lusc6 10 ай бұрын
thanks
@mitchellcook3349
@mitchellcook3349 10 ай бұрын
This saved me, thanks
@Adjunctive
@Adjunctive 9 ай бұрын
bruh
@softwareengineer8923
@softwareengineer8923 8 ай бұрын
One of the best machine learning tutorials on KZbin, thanks a a lot for lucid and well detailed explanation.
@thinhtruong9405
@thinhtruong9405 6 ай бұрын
hi, do you have this code, can you give it to me ?
@softwareengineer8923
@softwareengineer8923 6 ай бұрын
@@thinhtruong9405 I would highly recommend you to watch the video until end, search for the concepts and try to write the code yourself. That's how you can fully take benefit of this content.
@thinhtruong9405
@thinhtruong9405 6 ай бұрын
@@softwareengineer8923 i see, but i have a problem so if you have this code pls give it to me :((, im from viet nam, my english is so bad
@thinhtruong9405
@thinhtruong9405 6 ай бұрын
@@softwareengineer8923 i see, but i have a problem, i want this code to do something, if you have please give it to me, sry im from vietnam so my English is so bad
@thinhtruong9405
@thinhtruong9405 6 ай бұрын
​@@softwareengineer8923 i see, i have a problem so i need this code to do something, im from viet nam so my endlish is so bad :((
@ebek4806
@ebek4806 Жыл бұрын
Hi. What I would recommend doing in the hyperparameter tunning phase on the RFR model. Is to use np.range() instead of a list with hard values the model has to use and which are limited to two options or three. Yes this might take a lot of time to run but using randomizedsearchCV would be okay as a starter then if you see the model improving you can use gridsearchcv instead.
@collinskiprop1484
@collinskiprop1484 Жыл бұрын
Am impressed,your explanation is so smooth and i can keep tyrack and understand every step or code you input💯
@mrzfpv7871
@mrzfpv7871 2 жыл бұрын
your tutorials are the best thing i found on the internet
@learn_techie
@learn_techie Жыл бұрын
If you could brief explain what linear regression did ? Were all the variable taken into account and develop a slop to predict the value based on existing data? What if we removed some negatively correlated data and the response? I fail to understand what we did apart from cool images, if you can make a brief lectures on regression random decision tree cluster with some situation analysis- it would help us Thanks
@christianjohnson9245
@christianjohnson9245 Жыл бұрын
Great content, but as a Newley founded developer interested in ML I do wish you went into a bit more detial on the key features being leveraged in the walkthrough. I would not mind spending an hour or so more to fully understand the methods and functions your leveraging in this demo. All in all thank you for your hard work and dedication in sharing what I believe to be humans biggest development since the Industrial Revolution. Keep on Techin sir.
@TheMisanri
@TheMisanri Жыл бұрын
The good: feature engineering, I liked the one hot encoding explanation, and how easy you made it look. The bad: extremely superficial explanations. E.g., min 29, “we get a score of 66, which is not too bad, but also not too good” great, thanks for the in-depth explanation as to what 66 means and how to interpret. Most of these “tutorials” are just people recording themselves writing code, like it´s a big deal. The real important piece is understanding the business problem, and interpreting results in terms everyone can understand; I can copy/paste code from a hundred different websites. Also, linear regression is not about getting a 66 or whatever score, it´s about predicting a value, in this case, house prices; how is “66” relevant to that goal?? The ugly: speak way too fast for no reason at all. You´re making a tutorial, not speed racing. Thanks anyway.
@codedByAyush
@codedByAyush 3 ай бұрын
Agreed :)
@gajendrakc813
@gajendrakc813 Ай бұрын
Why are you so angry about? Is everything going well in your life mate? This is a free resource. You haven't paid for it. You are free not to watch. It helped me, and a thousands like me who are just starting on Data Science. Not everything has to be ultra high level.
@PrajwalBs-nh4nc
@PrajwalBs-nh4nc 8 ай бұрын
Thank you much for the detailed video , everything was explained very feel , i would suggest this could be the best video to start with the machine learning projects as a beginner. And personally this video helped me a lot as i am taking up my first ML project..
@tathagataray4899
@tathagataray4899 2 жыл бұрын
Oh my!! Just amazing!! Make more such videos. Thank you so much.
@JoachimGroth
@JoachimGroth Жыл бұрын
Great video, thank's a lot. But I'm missing the most interesting part: How can I use the model for getting the house value for an object which isn't part of the used data?
@gustavosantiago6679
@gustavosantiago6679 Жыл бұрын
did u discover that?
@techsnail8581
@techsnail8581 Жыл бұрын
u can create FCT with a model and X as an argument and then u can predict every value u want
@gustavosantiago6679
@gustavosantiago6679 Жыл бұрын
​@@techsnail8581 dattebayo
@mathewracing2506
@mathewracing2506 20 күн бұрын
12:19 - plt.figure(figsize=(15,8)) sns.heatmap(train_data.corr(numeric_only=True), annot=True)
@Kausar2nd
@Kausar2nd 3 ай бұрын
16:48, pd.get_dummies(data['ocean_proximity'], dtype=int)
@mxolisishange7516
@mxolisishange7516 2 жыл бұрын
Amazing work man
@Xrtd62
@Xrtd62 Жыл бұрын
You don't need to normalize data when dealing with linear regression, that's the main advantage of this method, it is based on coefficients, and those coeficients adjust to the order of magnitude of each variable !
@V.Laz.
@V.Laz. 2 жыл бұрын
Keep it up bro! Pls do more videos with predictions
@DataBlenda
@DataBlenda 7 ай бұрын
This was a great video. Just discovered your channel today. Definitely going to subscribe!
@IkaroSampaioDj
@IkaroSampaioDj Жыл бұрын
explained better than my instructor xD thanks man
@andrijasente
@andrijasente 11 ай бұрын
Great tutorial! One correction at 12:45 - longitude is inveresely correlated with latitude rather than the median house income.
@illusion7795
@illusion7795 10 ай бұрын
How did you fix it
@FrazzledMom
@FrazzledMom 10 ай бұрын
Best tutorial I've seen.
@Haden-137
@Haden-137 3 ай бұрын
thanks for the great project!
@muhamed_alashmnty
@muhamed_alashmnty 8 ай бұрын
How this channel doesn't get 1M yet !!
@franknaso8700
@franknaso8700 2 ай бұрын
Grat job!
@sudhanshu004
@sudhanshu004 Жыл бұрын
I have two questions 1. Why didnt you use all feature in train_data (many columns were skewed) to convert via log 2. I didnt saw any change in histogram before and after . How did you decided that data is converted to normal distribution?
@rohithsrisaimukkamala
@rohithsrisaimukkamala 9 ай бұрын
the bars should fit in normal distribution curve which generally would be in middle
@Adjunctive
@Adjunctive 9 ай бұрын
boss so appreciated I can't even express it
@washingtonalmeida75
@washingtonalmeida75 2 жыл бұрын
🤯 Great video.
@rollinas1
@rollinas1 2 жыл бұрын
For those in the comments section, never do inplace=True.
@skripandthes
@skripandthes Жыл бұрын
why?
@olanrewajuatanda533
@olanrewajuatanda533 Жыл бұрын
What should we do to substitute that?
@ebek4806
@ebek4806 Жыл бұрын
True
@ebek4806
@ebek4806 Жыл бұрын
​@@skripandthes You are making changes into the dataframe you can't reverse unless you restart the whole runtime on your workspace. Like jupyter notebook.
@ebek4806
@ebek4806 Жыл бұрын
​​@@olanrewajuatanda533 Just define a new dataframe. Instead of doing this: Df.dropna(col, axis=1, inplace=true) Do this: Df = Df.dropna(col, axis=1) This way you don't hard code new changes to the dataframe and you can just edit the cell and run it again to correct any mistakes.
@pratikmane7465
@pratikmane7465 Жыл бұрын
Explained everything perfectly, Your channel is going to be my go to channel, to learn data science!!!
@rogerhartje5964
@rogerhartje5964 Жыл бұрын
ya think? I should have cut my losses when you made the test/train split that early, .at around 28:00 the instructions became to confused to be useful. Until then, thanks for the instructions.
@trusttheprocess4775
@trusttheprocess4775 9 ай бұрын
Exactly lmao, i for the life of me could not understand why he would not completely preprocess the data first and then split the data
@irontv171
@irontv171 Жыл бұрын
thank you !!! it was really helpful
@Anonymous-tm7jp
@Anonymous-tm7jp Жыл бұрын
Randomforest algo takes features at random so if we literally change nothing and fit the model again and again we can see the scores changing(+-2%). Also only one variable median income was strongly related with target(bcoz it had correlation>0.5). If many variables would have been above 0.5 then we might had seen drastic changes during gridsearch min_features
@victorynwokejiobi1762
@victorynwokejiobi1762 Жыл бұрын
Guys please how was he able to copy and paste so fast @26:01min... Where he was trying to change train data to test data..?
@amerispunk
@amerispunk Жыл бұрын
Continuity issue apparently: did you drop the ocean_proximity column before you ran the correlation matrix? My train_data.corr() fails due to values like '
@MatthewXiong-gk8nz
@MatthewXiong-gk8nz Жыл бұрын
plt.figure(figsize=(15,8)) sns.heatmap(train_data.loc[:, train_data.columns!='ocean_proximity'].corr(), annot=True, cmap="YlGnBu") I used this code to ignore the column. Hopefully this will help you get through it.
@vrajbirje5603
@vrajbirje5603 Жыл бұрын
@@MatthewXiong-gk8nz thanks so much buddy
@vishwanathsonu7613
@vishwanathsonu7613 2 жыл бұрын
I can't get over you sir You are a legend
@captolina
@captolina 4 ай бұрын
wish you had also showed some graphs that we can produce once the regression is done
@AlexDev-h4o
@AlexDev-h4o Жыл бұрын
Heatmap cannot be render while there are non-numerical values (ocean_proximity) in the train data
@zawichrowana
@zawichrowana 8 ай бұрын
I have experienced the same issue - how did the author manage to render a heatmap without dropping this column?
@_KobbyOb
@_KobbyOb 8 ай бұрын
Try sns.heatmap(train_data.corr(numeric_only = True), annot=True, cmap= "YlGnBu")
@zakariaabouhammadi9424
@zakariaabouhammadi9424 6 ай бұрын
i hade the same issue and i resolve it by dropping the colume # visualize a correlation matrix with the target variable # dropping the "ocean_proximity" because its not numerical data_without_OP = train_data.drop(['ocean_proximity'], axis=1) plt.figure(figsize=(15, 8)) # Ajusta el tamaño de la figura si es necesario sns.heatmap(data_without_OP.corr(), annot=True, cmap="YlGnBu") plt.show() ------- after that maybe you will faceeing a problem that the heatmap dosen show all the numbers its a problem of matplotlib version u using save ur notebook and close it then create a new blank notebook and run this code: !pip install matplotlib==3.7.3 if u run it in your project it will note allow u and u r notebook will freeze bcz u using it
@ДаниилДуханин-ш7ц
@ДаниилДуханин-ш7ц 2 жыл бұрын
Thanks for the vid! First day on ur chanel really happy found u! And it seems you use a sort of autocompite for typing when on terminal? or ur typing is just soo fast..
@ROBINCHANDRAPAUL
@ROBINCHANDRAPAUL Жыл бұрын
Thank you for nice explanation. Keep this good work. I want to know what is the outcome of this model. What insight I got after run the model.
@retrogamer947
@retrogamer947 Жыл бұрын
Timestamp : 20:00
@sauravsharma7706
@sauravsharma7706 Жыл бұрын
Every thing was great but the fact that ive to debugg my entire code because we split earlier and had to pre process the test data again was so painfull speacially in jupyter lab
@thephotomedic3254
@thephotomedic3254 Жыл бұрын
Great video. Apart from Linear Regression and Random Forest, are there any other algorithms that might be suitable for this type of problem?
@Anonymous-tm7jp
@Anonymous-tm7jp Жыл бұрын
Naive bayes, Gaussian naive bayes, KNN, Decision tree(Randomforest is collection of decision trees), gradient boosting and XGBoost. Try every one of them with different different parameters for each and select the best one with best set of parameters
@nelsonberm3910
@nelsonberm3910 7 ай бұрын
Thanks for the vid
@krishj8011
@krishj8011 4 ай бұрын
Excellent tutorial...
@gemon39
@gemon39 Жыл бұрын
Hi. Very well explained! thank you.
@freebeast3790
@freebeast3790 8 ай бұрын
Saw this as how to build project , this is my first one , let's see where this will take me - 1.
@princesamuel100
@princesamuel100 Жыл бұрын
Man! Your computer runs effortlessly😅 It's soo smooth... What are the specs? 😅 I need to get one like that.😂
@h007
@h007 9 ай бұрын
guys while training the data always remember to write train and then test the data, like x_train,x_test,y_train,y_test like that otherwise target variable in this case will give NaN values
@ShivamBahuguna-px9ry
@ShivamBahuguna-px9ry 27 күн бұрын
you made it complex while it wasnt. Rest good visulisation.
@bitterbob30
@bitterbob30 2 жыл бұрын
So how do you find the working details of the model? It's great to know the 'score' is 0.8 or whatever but what parameters are used to get that 0.8? In other words, I train a model with a score of 0.8 then get some new data points (lat, long, #bedrooms, total_bedrooms, etc (all except house price)) What's the equation I use to generate an expected house value and where do I get it? Great video though.
@Ailearning879
@Ailearning879 2 жыл бұрын
The model/function is made by the algorithm and that cannot be inferred. All we can do is put the values parameters and get the prediction.
@harshans7712
@harshans7712 Жыл бұрын
@@Ailearning879 but can you please help me where to test the model which is trained? since we only got the model's accuracy or score. And I'm a beginner in ML
@yusufcan1304
@yusufcan1304 Жыл бұрын
it was great thank you a lot bro.
@samore11
@samore11 Жыл бұрын
What's the interpretation of the "score"? Is it R-squared for regression? How about for random forests? Do they compare from one model to another?
@ChickenPurger
@ChickenPurger 2 жыл бұрын
Informative video, quick question why would you not want the values to be zero when taking the log of the values?
@TimothyMayes
@TimothyMayes 2 жыл бұрын
Because log(0) is undefined. That is, you cannot raise a number to a power to get 0.
@ndosh1man
@ndosh1man Жыл бұрын
7:27 wouldn't you rather use data.isna().sum()? If you have a missing value in the whole row you might not catch that.
@meenupatel1256
@meenupatel1256 Жыл бұрын
isnull().sum()?
@filipozoz6988
@filipozoz6988 Жыл бұрын
tahts a great video, but how do i get the predicted values now? I mean i built the model and how would i get predictions?
@FrostyBoiFN
@FrostyBoiFN 2 жыл бұрын
love this
@washingtonalmeida75
@washingtonalmeida75 2 жыл бұрын
BTW, how do you copy and paste so quickly around minute 14 when you were doing the 'log' adjustment on the train_data? Which shortcut are you using?
@HoloqKing
@HoloqKing 2 жыл бұрын
alt + shift + down arrow key.
@MarcVideoProduction
@MarcVideoProduction Жыл бұрын
hello, what should I do if my X_test doesn't have any value in ISLAND? I can't perfom the reg.score thanks for your help
@clemenza4
@clemenza4 Жыл бұрын
Nice, ty
@Pumieeee
@Pumieeee Жыл бұрын
How did you get the .corr() method to ignore the ocean_proximity column even though it had non-numeric values in the beginning??
@gongxunliu5237
@gongxunliu5237 Жыл бұрын
train_data.corr(numeric_only=True) will do
@fireguy9931
@fireguy9931 Жыл бұрын
@@gongxunliu5237 I didn't even know that was a parameter, tysm
@jonathanitty5701
@jonathanitty5701 Жыл бұрын
@@gongxunliu5237 wow I rewatched the video 10 times to understand how he was able to get past that error and am still lost... I ended up converting the ocean proximity column into an id column prior to running the model... did corr() used to automatically filter out the string columns or something in the past?
@morimementos
@morimementos Жыл бұрын
@@jonathanitty5701 i think it was either that, or the default value changed from True to False, not sure which
@Caraxes_A10
@Caraxes_A10 Ай бұрын
Where is the demo of predicting the price
@sanskruti2908
@sanskruti2908 Жыл бұрын
thankkk youuu !!!!
@ksix7804
@ksix7804 11 ай бұрын
what if im missing a column ISLAND?
@Adjunctive
@Adjunctive 9 ай бұрын
I found that I could increase the test_size from 0.2 to 0.25 or until it became large enough that it included the island by change. Not a real fix but works for this. Take care
@Seyed2d
@Seyed2d Ай бұрын
The ISLAND column is missing in test_data because we only used 20% of the dataset during the train-test split, and this subset does not contain any rows where ocean_proximity is ISLAND. As a result, pd.get_dummies didn't create a column for this category. To maintain consistent column structure, add any missing dummy columns manually and fill them with zeros.
@PulakKabir
@PulakKabir Жыл бұрын
when I ran x_test_s, I got: could not convert string to float: 'INLAND'. how to solve it?
@aurum18247
@aurum18247 Жыл бұрын
same here
@Borolad116
@Borolad116 Жыл бұрын
I wouldn't waste your time. This code doesn't work and he races through everything. Much better tutorials out there.
@sumankumarsahu9711
@sumankumarsahu9711 Жыл бұрын
Bro preprocess the data properly
@PulakKabir
@PulakKabir Жыл бұрын
@@sumankumarsahu9711 i followed the eaxct way he showed here
@evolved__ca
@evolved__ca Жыл бұрын
@@PulakKabir .corr(numeric_only=True) Fixed the correlation portion at least
@mohammadmahdimovahedfar3245
@mohammadmahdimovahedfar3245 Жыл бұрын
11:50 I got an error using corr() because of non-numeric column 'ocean_proximity'. How did you do it? Did you change the code of pandas? Edit: I found it myself. Go to python installation path/libraries/pandas/core/frame.py Go to corr function definition and set numeric_only: bool = True.
@elbishmaharjan4721
@elbishmaharjan4721 Жыл бұрын
Thanks bro
@thokozilemunthali-mb6dc
@thokozilemunthali-mb6dc 22 күн бұрын
I keep getting True and false for the ocean_proximity column instead of 0's and 1's should i modify anything in the frame.py script to change that?
@vidushibamnotey6272
@vidushibamnotey6272 6 ай бұрын
I am stuck at "reg.score". please resolve my error
@michaelg9359
@michaelg9359 11 ай бұрын
my ISLAND column gets deleted when creating test_data - any way to fix this?
@vidushibamnotey6272
@vidushibamnotey6272 6 ай бұрын
sameeee
@gustavoq5813
@gustavoq5813 3 ай бұрын
So. where exactly is the ¨machine learning¨ part? All I saw were regressions.
@NeuralNine
@NeuralNine 2 ай бұрын
Regression IS machine learning. When you predict categories or classes it is called classification. When you predict numeric values, we call this regression. Even if you use complex neural networks it is still regression. But not necessarily linear regression, which might be what you are thinking about. Random Forests are also non-linear.
@suryanshtomar5907
@suryanshtomar5907 2 жыл бұрын
In X test I am getting 14 col while in X train I am getting 15 cols what should I do?
@parth1211
@parth1211 2 жыл бұрын
Add one more blank column / variable to test which gonna be your target variable
@suryanshtomar5907
@suryanshtomar5907 2 жыл бұрын
@@parth1211 how to do that?
@raghunathraoarcot8744
@raghunathraoarcot8744 Жыл бұрын
Hey hav u solved this error
@7ucky7vn37
@7ucky7vn37 2 жыл бұрын
great video. and o my wat is the intro music. im a music artist and would love to hear the full thing.
@chiraggupta7187
@chiraggupta7187 7 ай бұрын
sorry to say but in my code "ocean proximity"is not shown.
@pinkikowa9935
@pinkikowa9935 28 күн бұрын
try this train_data = train_data.join(pd.get_dummies(train_data["ocean_proximity"],dtype= int)).drop(["ocean_proximity"], axis = 1)
@VedaVoyager
@VedaVoyager Жыл бұрын
Hey bro! Can you please guide me in number prediction in a specific position by reading existing excel data!? I wanted to generate 6 numbers with this logic
@dioutoroo
@dioutoroo 3 ай бұрын
Hi, how did you join the train data and still get the correct values on the median_house_value. I got NaN here. thanks!
@shashidharvoorugonda7930
@shashidharvoorugonda7930 11 ай бұрын
Can you add custom code so that model predict saleprice when input code is given
@shivasharma1984
@shivasharma1984 6 ай бұрын
sir i am getting -1.25 score! what to do now!
@giansirait9631
@giansirait9631 7 ай бұрын
Just Nice
@sinan8036
@sinan8036 Жыл бұрын
At minute 28:40 line "31" I typed the same "reg.score(X_test, y_test)" but it does'nt work. The ValueError is "Input X contains NaN." What I did wrong? Can anyone help me? I would like to complete this project. Thank you
@samarthamera
@samarthamera Жыл бұрын
run all cells again
@imansaid2321
@imansaid2321 11 ай бұрын
@@samarthamera doesn't work
@noraalharik9488
@noraalharik9488 10 ай бұрын
@@imansaid2321did you figure it out? It’s not working with me
@Тима-щ2ю
@Тима-щ2ю Жыл бұрын
How did you get 0.66 score? I made similar data transformations and got only 0.25 score and 0.78 MSE
@sanaahmed1860
@sanaahmed1860 10 ай бұрын
where can i get the notebook? i tried searching your gihub repository but dont see any related to house price prediction. Can you please share the notebook?
@varuncharan9109
@varuncharan9109 8 ай бұрын
why you said this is classification at 39:39 when it is regression problem ?
@alimuhammadnathani7859
@alimuhammadnathani7859 10 ай бұрын
Is it just me who's getting the error "Input contains NaN, infinity or a value too large for dtype('float64')"? For both linear as well as random forest
@umamihsanilu.2149
@umamihsanilu.2149 8 ай бұрын
May I ask why the longitude and longitude are not applied encoding?
@claudiaorduzsiabato2656
@claudiaorduzsiabato2656 2 жыл бұрын
Gracias, es díficil encontrar buen contenido en mi idioma, así que lo asisto aquí, mismo que me toca con subtitulos. Thanks so much !
@PatientInAffliction
@PatientInAffliction 10 ай бұрын
is there a link to the pyhton notebook?
@user-lj2qw6jo6p
@user-lj2qw6jo6p Жыл бұрын
At 13:00 why didn't you apply np.log to 'median_income' and 'median_house_value'? They seem pretty skewed as well
@EshitaGarg
@EshitaGarg 6 ай бұрын
Hi NeuralNine. I am having doubt in executing the corr() function. How can I move forward?
@ShhFlow
@ShhFlow 3 ай бұрын
try to put as corr (numeric_only = True)
@sosohhu
@sosohhu Жыл бұрын
why do we need normal distribution in total-rooms, population...?
@alisarena8951
@alisarena8951 Жыл бұрын
Can you upload the data path over here
@Harirtaylorversion
@Harirtaylorversion 10 ай бұрын
when you define the X_test_s ?? when i want to scaling i should use the X_test_s AS your code but i gets error i have not X_test_s
@marawanmyoussef
@marawanmyoussef Жыл бұрын
11:45 use the test_data.corr(numeric_only=True) instead as this will return an error if you do so. I do not understand how did you not get an error? I got this and had to apply the function above to solve it " ValueError: could not convert string to float: 'NEAR OCEAN'"
@marawanmyoussef
@marawanmyoussef Жыл бұрын
16:57 Second Problem I ran into if anybody can help, pd.get_dummies(train_data.ocean_proximity) retuns True & False instead of 1&0 s
@Austrain.Painter
@Austrain.Painter Жыл бұрын
​@@marawanmyoussefsame here 😢
@Austrain.Painter
@Austrain.Painter Жыл бұрын
This problem can be solved by chatgpt but later it creates a problem 🥲
@neelambikafatakal7533
@neelambikafatakal7533 Жыл бұрын
I guess you mean by train_data.corr(numeric_only=True) because test isn't defined yet correct me if I'm wrong
@Your_Friend259
@Your_Friend259 11 ай бұрын
thank you so much
@rishabhmishra7192
@rishabhmishra7192 Жыл бұрын
at minute 16:53 I am facing this issue were it suppose to provide the output with binary values instead it is displaying bool values is there anyway I can covert the values from boolean to binary?
@georgeharris6151
@georgeharris6151 Жыл бұрын
I'm having the same issue is there any fix?
@Vedanti_koli
@Vedanti_koli Жыл бұрын
df = pd.get_dummies(train_data.ocean_proximity) print(df) df=df.replace({True:1, False:0}) print(df)
@Threadquest-07
@Threadquest-07 Жыл бұрын
I am done with the project understood what It does, But a main question still arises in my mind what predictions did we made? Where are the prices that are predicted. Can someone please Explain I am new into data science
@anel4980
@anel4980 Жыл бұрын
if you find out the answer to your question, please let me know
@milosz7
@milosz7 Жыл бұрын
Let's say that for example you have made a web application that has a form in which you can input the data about the house you own. The user inputs the data about the house and then the data is passed to a model and it evaluates the price of a house according to the data provided by the uses related to the data that it was trained on. A real life use case would be like a website used to sell properties, such model could encourage a person to sell his property if the estimated price satisfies them, also it could help people that do not have enough knowledge about estate market to estimate their property price. Hope that helps ;)
@dewanshpillare8459
@dewanshpillare8459 Жыл бұрын
I don't know, but errors are generated in my code, though I write exactly same thing as you do . And I have no idea what to do. 😅
@ivanquncu2292
@ivanquncu2292 7 ай бұрын
hello there, can i ask for your help to make data preprocessing for a specific dataset. it have 53884 rows and 8 columns..
@codingworld-programmerslif430
@codingworld-programmerslif430 2 жыл бұрын
Hey how come your channel is much more interesting, and you have less followers. I think you need to make more series on different languages mainly on c#.
@ferocious_lad2031
@ferocious_lad2031 9 ай бұрын
As of this writing, I am not able to find the exact data set (.csv file ) for Californian house prices. If some one can provide me with the link for the same one used in this video this will be greatly appreciated!
Income Prediction Machine Learning Project in Python
38:19
NeuralNine
Рет қаралды 32 М.
All Machine Learning algorithms explained in 17 min
16:30
Infinite Codes
Рет қаралды 564 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Predicting Stock Prices in Python
29:14
NeuralNine
Рет қаралды 543 М.
Top 3 Best Books to Learn ML/AI and Become a Professional
15:48
ML New Papers
Рет қаралды 4,6 М.
Learn Machine Learning Like a GENIUS and Not Waste Time
15:03
Infinite Codes
Рет қаралды 435 М.
How I Would Learn Python FAST (if I could start over)
12:19
Logistic Regression Project: Cancer Prediction with Python
44:21
Alejandro AO - Software & Ai
Рет қаралды 15 М.
Linear Regression From Scratch in Python (Mathematical)
24:38
NeuralNine
Рет қаралды 194 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 445 М.
I Tried 50 Data Analyst Courses. Here Are Top 5
8:41
Stefanovic
Рет қаралды 327 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН