Linear Regression Practical Implementation In Hindi
ฝัง
- เผยแพร่เมื่อ 5 ต.ค. 2024
- Linear regression analysis is used to predict the value of a variable based on the value of another variable. The variable you want to predict is called the dependent variable. The variable you are using to predict the other variable's value is called the independent variable.
github: github.com/kri...
Join our amazing Programs
Currently in iNeuron there are 3 main program that are going on.
Full Stack Data science program with job guaranteed which started from May 6th(Price : 15k+ gst)-Lifetime Access
courses.ineuro...
Full Stack Data Analytics with placement assistance starting from June 18th(Price: 4000rs inr including gst)- Lifetime Access
courses.ineuro...
Tech Neuron with 210+ courses (price: 7080 including gst for 2 years subscription)
courses.ineuro...
From my side you can avail additional 10% discount by using coupon code Krish10 Or Sudhanshu10.
Don't miss this opportunity grab it before it is too late. Happy Learning!!
Connect with me here:
Twitter: / krishnaik06
Facebook: / krishnaik06
instagram: / krishnaik06
fit_transform is used on training data to learn parameters and transform it, while transform is used on new or unseen data to apply previously learned transformations without re-learning the parameters.
fit_transform() is used on the training data to learn the scaling or transformation parameters and then applies the same transformation to the training data. transform() is used on new data (e.g. test data) to apply the same transformation that was learned on the training data.
Thanks brother
thanks bro
i am unable to do first step i.e load_ boston is showing error can you please help me
@@kartiknampalliwar8603 that data is not available in the new version. You can alternatively use "fetch_california_housing" and load it. Probably that is the similar sort of data.
@@kartiknampalliwar8603 load_boston is no longer available use some other data like load_diabetes or something
scaler.transform(X_test) used to calculate mean and stander deviation on test data to be used future scaling .
playlist ke hisab se video dalo sir, theory aur practical implementation ke video mein bahot fark hai , much samjh nhi aya, r2 score, cross validation , xtrain ye sab kya hai theory mein to that he nhi ye sab.
yoo bhai
same problem bhai theory toh smhj aai pr implementation nahi
fit transform and transform = we want to keep as a surprise is no longer unknown to our model and we will not get a good estimate of how our model is performing on the test (unseen) data which is the ultimate goal of building a model using machine learning algorithm.
Can you elaborate more. Please
boston dataset is removed from sklearn
fit transform is used in train data set to predict the value(linear regression) test data set just to se our accuracy with the model.
00:01 Practical implementation of linear regression
02:32 Explaining features and target in linear regression
05:22 Preparing data for linear regression
08:12 Understanding data normalization and standardization
11:00 Implementing linear regression using steps
13:08 Implementation of cross-validation for linear regression
15:47 Using negative mean squared error for model optimization
18:21 Verification is crucial for accurate predictions.
20:43 Understanding the practical implementation of linear regression and its key steps
23:11 Linear regression calculates the average change in one variable based on another
Please more videos on machine learning also practical video more
Thankyou
Gradient decent iss implementation mein kaise implement kaise hua?? Agar back end mein hua toh alpha value kaha diya?? @krish please explain
Sir , your effort is really wonderfull and is inspiration. please make a separate playlist for EDA and feature engineering , lakhs of aspirants are wait , please make it on serious note.
Nicely taught the algorithm..Thanks for making learning simple
problem with the inbuilt datasets is that they are removed often later when new versions is released, like Boston dataset is no more part of sklearn in-built dataset. it would be great if you use independent datasets in future.
There is any way to download the boston dataset with the dependent feature I want to implement the linear regression if there is any way please suggest
Ya its a problem i am facing as well
@@shivanshmishra8395 have got solution how to import please let us know to help
@@ayushmangupta6682 please use " from sklearn.datasets import fetch_california_housing " alternative of Boston
Same problem
Do I need to know sklearn before starting this playlist ?
Thank you sir 🙏
Boston housing dataset has been removed from scikit-learn. Is there any way to load it as a bunch data??
import pandas as pd
import numpy as np
data_url = "lib.stat.cmu.edu/datasets/boston"
raw_df = pd.read_csv(data_url, sep="\s+", skiprows=22, header=None)
data = np.hstack([raw_df.values[::2, :], raw_df.values[1::2, :2]])
target = raw_df.values[1::2, 2]
or install version 1.0.1
pip install scikit-learn==1.0.1
sir sklearn na dataset remove kar deya ha. dataset fetch nahi ho raha ha
Great video sir...just one concern...Why we are not checking VIF?
Sir you explain soo good please continue making videos in hindi
Very good Sir
sklearn removed load_boston which dataset i can use to follow along?
Fetchcaliforniadataset
@@krishnaikhindican we use fetch_california_housing ??
Great thank you
Can anyone please explain displot discussed in this video?
great job sir jee
How is it that you are predicting on x_test but calling your y_test as truth value?
Thank You
What value of MSE , RMSE, R-square should be taken into consideration to come to conclusion that model build is accurate one? Is there any range of value for MSE, RMSE and R-square ?
R2 to be gerater than .70 that is 70%
boston dataset is been reomved from the kcikit liberary
which one do you use right now. facing the same problem bro
same issue
@@azharafridi9619
why are we using 'neg_mean_squared_error'
can u please share link linear regression loss function video ?
idid not got the same graph in the end my varinence is more then (-10)--10 wht to do help
Kuch samajh nahi aa raha...
where is the theory playlist? can someone please attach the link in the reply to this comment
i use the same model on 'fetch_california_housing' dataset and the mse i got is 0.5.
Me too.. and the score is 0.34
same, and as mentioned by the other person, my score is 0.33
bcoz we evaluate our model on test data set
what is random state= 42 in that train test split command?
bouncer ho gya ye video
Sir this can be explain in English language some what difficult to understand Hindi
*** please create EDA and Feature engineering playlist in HINDI ***
The Boston datasathas been removed from sklearn....
Sir please l1 and L2 k liye bhi video banaiye
too complex🙁
Good video sir.
Sir i didnt able to understand what is y the dependent variable . I mean which column is gettimg predicted ?
Sir when new batch start for data science?
Please keep uploading videos in hindi
But what are we predicting here? Can someone explain please..what does the values in "reg_pred" tell us? what is the difference between values in target features array and "reg_pred" values?
so we are predicting the output feature house pricing...for the independent features in x_test, dependent feature or actual values are in y_test. After applying linear regression, predicted values are in reg_pred. In linear regression we find the difference between actual values and predicted values, that is the error. MSE is that error here.
nice video sir
I am seeing you videos just to similary apply another multivarite problem but when I got the displot(with kind=kde) it came similar but of the rang eof the 1e^9 so How can decrease the error should I use the tunning or what ?
sir if my accuracy_score is 0.85 then my predication model is good or bad?
here linear regression doing but why taken independent features more than 1 feature can anybody tell me
Sir in this where us accuracy
Simply amazing ❤
kind='kde' not showing that graph
Sir the boston dataset is no more available in the scikit-learn datasets also can't load the boston dataset in juyter notebook can U please provide any solution for that?
you can use the alternate dataset like california housing , or you can search and save the boston dataset , and use pd.read_csv() method to use that dataset
please use " from sklearn.datasets import fetch_california_housing " alternative of Boston
Krish ap kon sa video software use kerto ho recording k liye
Sir i have build the model in linear regression and performance of evaluation metrics are also done. Now additional I want to add one more new row(instance) and find the performance of it how to do can you guide me pl. How to check the performance particularly that single row.
Bro I couldn't understand this to that level how can I understand these concepts as sir is directly implemented it so
what is score?
How to know model is overfitted or stable model.
if it perfectly fits to the traning data in simple meanings if it remember the data instead of learning it overfits
Why Y_train is not standardized? Please answer
Standardization is typically applied to the feature variables (X_train) rather than the target variable (Y_train) in machine learning.
subscribed
sir ap dataset bhi dal diya kro.
load_boston to ho ni rha hai hmara.
kaise kre ab
same problem, kuch solution mila?
@kakhanna3585 hi niharika are you a data science student.
pehle mene socha inke 38 videos hi hai machine learning ke.
and me bhut jldi complete kr lunga.
but me 2 video se age hi bdha hi ni abhi tk.
ye beginers jaise ni pdha rhe hai. and mujhe ek ek chiz likhna pd rha hai, ki sir kya bol rhe hai video me.
and wo atleast definations bhi likhwate to smjne me easy hota.
it's difficult to understand.
kya apko koi aur playlist pta hai. jisse jo machine learning ke liye ho.
use fetch_california_housing class alternative of boston
i got a score of "0.017460452225004253" why i got low score?
Same prob
load boston has been removed
please use " from sklearn.datasets import fetch_california_housing " alternative of Boston
Bhai fetch wali BHI Nahi Chal rahi
Noice
Esi video bnaya naa kro jo kisi k leptop m work naa kre kya jya oerte ho smj nhi atta padhne bethq toh sara dinak khrab ho gya kuch hua nhi
Plz do videos in English🥲
If you're looking for videos in English you can refer to his other channel. You will find all the videos in the English language.
sir aap JSPM Tathwade ke student hai kya
youtube shanel
Boston housing dataset has been removed from scikit-learn. Is there any way to load it as a bunch data??
from sklearn.datasets import fetch_california_housing
housing = fetch_california_housing()
from sklearn.datasets import fetch_california_housing use this