House Price Prediction Project | Linear Regression | Machine Learning

  Рет қаралды 5,284

InsightsByRish

InsightsByRish

Күн бұрын

Hey everyone,
This video covers a Linear Regression project of `House Price Prediction`.
Here I have explained the code for the same in detailed way.
Code : github.com/Ris...
Connect with me on Instagram:
/ insightsbyrish
#linearregression
#machinelearning
#computerscience
#coding
Thanks for watching..!
Please like, share and subscribe the channel if you enjoyed the content.

Пікірлер: 44
@InsightsByRish
@InsightsByRish 3 ай бұрын
Correction : At 12:08 upper bound = Q3 + 1.5 * IQR
@hriupadhyay5763
@hriupadhyay5763 3 ай бұрын
Please provide me a link for this particular data set
@ilyeskesri6524
@ilyeskesri6524 Ай бұрын
Good tutorial thanks
@ansumankumar4797
@ansumankumar4797 5 ай бұрын
Very nice explanation.
@InsightsByRish
@InsightsByRish 5 ай бұрын
Thank you. Pleased to know you liked the content.
@ibrahimnazari8376
@ibrahimnazari8376 3 ай бұрын
nice explanation, thanks
@Luminouss12096
@Luminouss12096 3 ай бұрын
from sklearn.linear_model import LinearRegression model = LinearRegression() model.fit(X_train, y_train) mam this part of code show error how can i solve this
@InsightsByRish
@InsightsByRish 3 ай бұрын
What's the error?
@Luminouss12096
@Luminouss12096 3 ай бұрын
@@InsightsByRish model.fit(X_train, y_train) Input X contains NaN. LinearRegression does not accept missing values encoded as NaN natively. For supervised learning, you might want to consider sklearn.ensemble.HistGradientBoostingClassifier and Regressor which accept missing values encoded as NaNs natively. Alternatively, it is possible to preprocess the data, for instance by using an imputer transformer in a pipeline or drop samples with missing values.
@InsightsByRish
@InsightsByRish 3 ай бұрын
​@@Luminouss12096 I think your input data frame (X) still consist of missing values. Try removing that before building the model. If you still encounter the error then mail your .ipynb file on insightswithrish@gmail.com.
@hriupadhyay5763
@hriupadhyay5763 3 ай бұрын
Can you please provide a link for this particular data set please
@InsightsByRish
@InsightsByRish 3 ай бұрын
Hey, I've provided the GitHub repository link in description box. Dataset is available there.
@alaa_abdestar
@alaa_abdestar 21 сағат бұрын
kaggle dataset link plz??
@InsightsByRish
@InsightsByRish 18 сағат бұрын
I downloaded the dataset from GeeksforGeeks : media.geeksforgeeks.org/wp-content/uploads/20240905183434/HousePricePrediction.xlsx
@jaisiddhisuperpowerpltd1872
@jaisiddhisuperpowerpltd1872 2 ай бұрын
mam , are you indian or foreigner
@omkarcode
@omkarcode 3 ай бұрын
I think It's not correct lowerBound = Q1 - 1.5 * IQR upperBound = Q1 + 1.5 * IQR Correct lowerBound = Q1 - 1.5 * IQR upperBound = Q3 + 1.5 * IQR
@InsightsByRish
@InsightsByRish 3 ай бұрын
Yes, it should be Q3. I've mistakenly considered it as Q1.
@flavourlyfreshasmr151
@flavourlyfreshasmr151 3 ай бұрын
Can you explain, how you remove columns and rows from the original dataset, logic?
@InsightsByRish
@InsightsByRish 3 ай бұрын
Logic is the columns that don't help us in any way for making predictions are removed. Like the User ID column which has zero correlation with the target column. And for rows they are either removed if they contain null values or outliers.
@flavourlyfreshasmr151
@flavourlyfreshasmr151 3 ай бұрын
@@InsightsByRish can you make separate video to discuss which features we have to take and which should remove , in our particular problem statement.you r videos are so helpful
@InsightsByRish
@InsightsByRish 3 ай бұрын
Thank you! Will make one on that topic soon.
@flavourlyfreshasmr151
@flavourlyfreshasmr151 3 ай бұрын
@@InsightsByRish Great 👍
@akshit_trivedi
@akshit_trivedi 4 ай бұрын
Can you please make a playlist of all projects?
@InsightsByRish
@InsightsByRish 4 ай бұрын
Yes sure..!
@MuhammadEhtisham-cm5vr
@MuhammadEhtisham-cm5vr 2 ай бұрын
plz make a seperate videos for feature engineering and scaling
@InsightsByRish
@InsightsByRish 2 ай бұрын
Ok, will make soon.
@green_valley_farms
@green_valley_farms 4 ай бұрын
can you please share the code
@InsightsByRish
@InsightsByRish 4 ай бұрын
Hey, I have provided the link of GitHub repository for the code in the description box.
@vikashsingh6888
@vikashsingh6888 3 ай бұрын
It shows an error when I select_datatype('object') and when I change it to int then my column size changes please help 🙏 At line 27
@InsightsByRish
@InsightsByRish 3 ай бұрын
It's not select_datatype('object'). It is select_dtypes('object').
@vikashsingh6888
@vikashsingh6888 3 ай бұрын
Yes I tried this one also but it's showing issue... While I run the encoder it shows an error that you have to select int or str
@vikashsingh6888
@vikashsingh6888 3 ай бұрын
I tried it also but it's showing error while I run the encoder part its showing an error that you should select int or str in encoder.fit(df[cat_col])​ @@InsightsByRish
@InsightsByRish
@InsightsByRish 3 ай бұрын
@@vikashsingh6888 Hey, not really able to understand what's going wrong with your code, but I would suggest that restart your kernel and again implement the code from beginning line by line as it is (I've provided the code on GitHub).
@vikashsingh6888
@vikashsingh6888 3 ай бұрын
If you will provide your insta or something for contact even email I will send you the ss .. if you can it will help me 🙏
House Price Prediction in Python - Full Machine Learning Project
40:40
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 22 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 8 МЛН
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 1,7 МЛН
Linear Regression in Python - Full Project for Beginners
50:52
Alejandro AO - Software & Ai
Рет қаралды 23 М.
Logistic Regression in depth with code | Machine Learning Tutorial
53:35
All Learning Algorithms Explained in 14 Minutes
14:10
CinemaGuess
Рет қаралды 246 М.
An Introductory QGIS Workshop for Beginners
3:49:41
QGIS North America
Рет қаралды 523 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 307 М.
Data Science Project: House Price Estimation with a Streamlit Machine Learning Web App
39:15
Predict The Stock Market With Machine Learning And Python
35:55
Dataquest
Рет қаралды 691 М.
Linear Regression in depth with code | Machine Learning Tutorial
41:52
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 22 МЛН