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

ความคิดเห็น • 121

  • @SubhashKumar-ek2tm
    @SubhashKumar-ek2tm 3 หลายเดือนก่อน +9

    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.

  • @ParthPatel-db4tk
    @ParthPatel-db4tk ปีที่แล้ว +60

    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.

    • @ritikkohad5045
      @ritikkohad5045 ปีที่แล้ว

      Thanks brother

    • @ayushpant8290
      @ayushpant8290 ปีที่แล้ว

      thanks bro

    • @kartiknampalliwar8603
      @kartiknampalliwar8603 6 หลายเดือนก่อน

      i am unable to do first step i.e load_ boston is showing error can you please help me

    • @dhmahbub
      @dhmahbub 6 หลายเดือนก่อน

      @@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.

    • @hiteshkotian6023
      @hiteshkotian6023 5 หลายเดือนก่อน

      @@kartiknampalliwar8603 load_boston is no longer available use some other data like load_diabetes or something

  • @PRITAMHALDER-f7y
    @PRITAMHALDER-f7y 14 วันที่ผ่านมา +1

    scaler.transform(X_test) used to calculate mean and stander deviation on test data to be used future scaling .

  • @HasnainMazharRizvi
    @HasnainMazharRizvi ปีที่แล้ว +17

    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.

    • @Techwithgalvan
      @Techwithgalvan 7 หลายเดือนก่อน

      yoo bhai

    • @SarthakParashar-uz9tb
      @SarthakParashar-uz9tb 7 วันที่ผ่านมา

      same problem bhai theory toh smhj aai pr implementation nahi

  • @talhagalaria571
    @talhagalaria571 2 ปีที่แล้ว +6

    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.

    • @patelkdhawal
      @patelkdhawal 2 ปีที่แล้ว +2

      Can you elaborate more. Please

  • @roshanbhattad4493
    @roshanbhattad4493 หลายเดือนก่อน +4

    boston dataset is removed from sklearn

  • @luckythecutepie
    @luckythecutepie ปีที่แล้ว +2

    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.

  • @ujjvalbhardwaj9061
    @ujjvalbhardwaj9061 16 วันที่ผ่านมา +1

    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

  • @avinashmirchandani8731
    @avinashmirchandani8731 2 ปีที่แล้ว +3

    Please more videos on machine learning also practical video more
    Thankyou

  • @anujgupta328
    @anujgupta328 4 หลายเดือนก่อน +1

    Gradient decent iss implementation mein kaise implement kaise hua?? Agar back end mein hua toh alpha value kaha diya?? @krish please explain

  • @meetsaurabhtiwari
    @meetsaurabhtiwari 7 หลายเดือนก่อน

    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.

  • @pratishzaware1430
    @pratishzaware1430 2 ปีที่แล้ว +1

    Nicely taught the algorithm..Thanks for making learning simple

  • @cybermascot
    @cybermascot ปีที่แล้ว +6

    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.

    • @ayushmangupta6682
      @ayushmangupta6682 ปีที่แล้ว

      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

    • @shivanshmishra8395
      @shivanshmishra8395 ปีที่แล้ว

      Ya its a problem i am facing as well

    • @EjazUddin786
      @EjazUddin786 6 หลายเดือนก่อน

      ​@@shivanshmishra8395 have got solution how to import please let us know to help

    • @AbhijeetDewangan-gr9sj
      @AbhijeetDewangan-gr9sj 6 หลายเดือนก่อน

      @@ayushmangupta6682 please use " from sklearn.datasets import fetch_california_housing " alternative of Boston

    • @shrunkhalawankhede2611
      @shrunkhalawankhede2611 หลายเดือนก่อน

      Same problem

  • @Aman-yu4re
    @Aman-yu4re 4 หลายเดือนก่อน +1

    Do I need to know sklearn before starting this playlist ?

  • @TuneTube312
    @TuneTube312 3 หลายเดือนก่อน

    Thank you sir 🙏

  • @JagFi
    @JagFi ปีที่แล้ว +7

    Boston housing dataset has been removed from scikit-learn. Is there any way to load it as a bunch data??

    • @ausking3081
      @ausking3081 9 หลายเดือนก่อน

      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

  • @xyz3588
    @xyz3588 5 หลายเดือนก่อน +2

    sir sklearn na dataset remove kar deya ha. dataset fetch nahi ho raha ha

  • @neeshantn9742
    @neeshantn9742 2 ปีที่แล้ว +3

    Great video sir...just one concern...Why we are not checking VIF?

  • @Gattu_g
    @Gattu_g 2 ปีที่แล้ว

    Sir you explain soo good please continue making videos in hindi

  • @kishormagar3160
    @kishormagar3160 2 ปีที่แล้ว +1

    Very good Sir

  • @jaydodhiawala4117
    @jaydodhiawala4117 ปีที่แล้ว +4

    sklearn removed load_boston which dataset i can use to follow along?

    • @krishnaikhindi
      @krishnaikhindi  ปีที่แล้ว +5

      Fetchcaliforniadataset

    • @dnswm95
      @dnswm95 11 หลายเดือนก่อน

      @@krishnaikhindican we use fetch_california_housing ??

  • @sonalikamble5929
    @sonalikamble5929 3 หลายเดือนก่อน

    Great thank you

  • @Sachin-xj1oq
    @Sachin-xj1oq 4 หลายเดือนก่อน

    Can anyone please explain displot discussed in this video?

  • @faheemsyed9481
    @faheemsyed9481 6 หลายเดือนก่อน

    great job sir jee

  • @sauravsahay8803
    @sauravsahay8803 5 หลายเดือนก่อน

    How is it that you are predicting on x_test but calling your y_test as truth value?

  • @jatinjoshi1830
    @jatinjoshi1830 ปีที่แล้ว

    Thank You

  • @anilmurmu6675
    @anilmurmu6675 2 ปีที่แล้ว +3

    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 ?

    • @aftab6417
      @aftab6417 ปีที่แล้ว

      R2 to be gerater than .70 that is 70%

  • @yadnyeshkhotre2001
    @yadnyeshkhotre2001 ปีที่แล้ว +1

    boston dataset is been reomved from the kcikit liberary

    • @azharafridi9619
      @azharafridi9619 ปีที่แล้ว

      which one do you use right now. facing the same problem bro

    • @aishwaryajadhav8736
      @aishwaryajadhav8736 ปีที่แล้ว

      same issue
      @@azharafridi9619

  • @alirathore6818
    @alirathore6818 2 ปีที่แล้ว +2

    why are we using 'neg_mean_squared_error'
    can u please share link linear regression loss function video ?

  • @sumitsamanta7416
    @sumitsamanta7416 8 วันที่ผ่านมา

    idid not got the same graph in the end my varinence is more then (-10)--10 wht to do help

  • @lakshyajain7435
    @lakshyajain7435 ปีที่แล้ว +2

    Kuch samajh nahi aa raha...

  • @KushagraBhardwaj-f5j
    @KushagraBhardwaj-f5j 4 หลายเดือนก่อน

    where is the theory playlist? can someone please attach the link in the reply to this comment

  • @satyamghule147
    @satyamghule147 ปีที่แล้ว +1

    i use the same model on 'fetch_california_housing' dataset and the mse i got is 0.5.

    • @shivanshmishra8395
      @shivanshmishra8395 ปีที่แล้ว

      Me too.. and the score is 0.34

    • @bhuvansagar3294
      @bhuvansagar3294 10 หลายเดือนก่อน +1

      same, and as mentioned by the other person, my score is 0.33

  • @Yash_Patil.
    @Yash_Patil. ปีที่แล้ว

    bcoz we evaluate our model on test data set

  • @Prachi_Gupta_zeal
    @Prachi_Gupta_zeal ปีที่แล้ว +1

    what is random state= 42 in that train test split command?

  • @paraguchbagle6413
    @paraguchbagle6413 5 หลายเดือนก่อน +1

    bouncer ho gya ye video

  • @manchalamani9475
    @manchalamani9475 ปีที่แล้ว

    Sir this can be explain in English language some what difficult to understand Hindi

  • @vikasvachheta7135
    @vikasvachheta7135 ปีที่แล้ว

    *** please create EDA and Feature engineering playlist in HINDI ***

  • @swapnilkulat5990
    @swapnilkulat5990 ปีที่แล้ว

    The Boston datasathas been removed from sklearn....

  • @ajaykushwaha-je6mw
    @ajaykushwaha-je6mw 2 ปีที่แล้ว

    Sir please l1 and L2 k liye bhi video banaiye

  • @toufique3390
    @toufique3390 3 หลายเดือนก่อน +2

    too complex🙁

  • @shashankmokashi1406
    @shashankmokashi1406 2 ปีที่แล้ว

    Good video sir.

  • @visshalgupta
    @visshalgupta ปีที่แล้ว

    Sir i didnt able to understand what is y the dependent variable . I mean which column is gettimg predicted ?

  • @brahmadevrai4369
    @brahmadevrai4369 2 ปีที่แล้ว

    Sir when new batch start for data science?

  • @nileshkshatriya5827
    @nileshkshatriya5827 2 ปีที่แล้ว

    Please keep uploading videos in hindi

  • @NavyaTrilokD
    @NavyaTrilokD 4 หลายเดือนก่อน

    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?

    • @NavyaTrilokD
      @NavyaTrilokD 4 หลายเดือนก่อน

      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.

  • @nileshnaik3111
    @nileshnaik3111 2 ปีที่แล้ว

    nice video sir

  • @yamrajoli3834
    @yamrajoli3834 7 หลายเดือนก่อน

    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 ?

  • @BEEAnkitgupta
    @BEEAnkitgupta 10 หลายเดือนก่อน

    sir if my accuracy_score is 0.85 then my predication model is good or bad?

  • @moghalkarishma2378
    @moghalkarishma2378 10 หลายเดือนก่อน

    here linear regression doing but why taken independent features more than 1 feature can anybody tell me

  • @Gangstersongs125
    @Gangstersongs125 5 หลายเดือนก่อน

    Sir in this where us accuracy

  • @MnB_music
    @MnB_music 2 ปีที่แล้ว

    Simply amazing ❤

  • @harshsrivastava1662
    @harshsrivastava1662 ปีที่แล้ว

    kind='kde' not showing that graph

  • @rakibulislamrabbi373
    @rakibulislamrabbi373 6 หลายเดือนก่อน

    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?

    • @innocentgamer8670
      @innocentgamer8670 6 หลายเดือนก่อน

      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

    • @AbhijeetDewangan-gr9sj
      @AbhijeetDewangan-gr9sj 6 หลายเดือนก่อน

      please use " from sklearn.datasets import fetch_california_housing " alternative of Boston

  • @datasciencegyan5145
    @datasciencegyan5145 2 ปีที่แล้ว

    Krish ap kon sa video software use kerto ho recording k liye

  • @sowmyavvasu84
    @sowmyavvasu84 11 หลายเดือนก่อน

    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.

    • @filmybeats4827
      @filmybeats4827 11 หลายเดือนก่อน

      Bro I couldn't understand this to that level how can I understand these concepts as sir is directly implemented it so

  • @abhinavbm3338
    @abhinavbm3338 ปีที่แล้ว

    what is score?

  • @ajaykushwaha4233
    @ajaykushwaha4233 2 ปีที่แล้ว

    How to know model is overfitted or stable model.

    • @entertainmenthub7700
      @entertainmenthub7700 2 ปีที่แล้ว

      if it perfectly fits to the traning data in simple meanings if it remember the data instead of learning it overfits

  • @tusharsalunkhe7916
    @tusharsalunkhe7916 ปีที่แล้ว

    Why Y_train is not standardized? Please answer

    • @satyamghule147
      @satyamghule147 ปีที่แล้ว +1

      Standardization is typically applied to the feature variables (X_train) rather than the target variable (Y_train) in machine learning.

  • @dheerajgupta3805
    @dheerajgupta3805 ปีที่แล้ว

    subscribed

  • @AmitSharma-oh5uw
    @AmitSharma-oh5uw 7 หลายเดือนก่อน

    sir ap dataset bhi dal diya kro.
    load_boston to ho ni rha hai hmara.
    kaise kre ab

    • @niharikakhanna3585
      @niharikakhanna3585 7 หลายเดือนก่อน

      same problem, kuch solution mila?

    • @AmitSharma-oh5uw
      @AmitSharma-oh5uw 7 หลายเดือนก่อน

      @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.

    • @piyushff3258
      @piyushff3258 2 หลายเดือนก่อน

      use fetch_california_housing class alternative of boston

  • @m.laxminarayanreddy
    @m.laxminarayanreddy 2 ปีที่แล้ว

    i got a score of "0.017460452225004253" why i got low score?

  • @B.D.M1999
    @B.D.M1999 7 หลายเดือนก่อน

    load boston has been removed

    • @AbhijeetDewangan-gr9sj
      @AbhijeetDewangan-gr9sj 6 หลายเดือนก่อน

      please use " from sklearn.datasets import fetch_california_housing " alternative of Boston

    • @MehtabAfzal-i3t
      @MehtabAfzal-i3t 6 หลายเดือนก่อน

      Bhai fetch wali BHI Nahi Chal rahi

  • @__________________________6910
    @__________________________6910 2 ปีที่แล้ว

    Noice

  • @HoneySingh-cu3pw
    @HoneySingh-cu3pw 7 หลายเดือนก่อน

    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

  • @hannahvm8044
    @hannahvm8044 ปีที่แล้ว

    Plz do videos in English🥲

    • @adila8128
      @adila8128 ปีที่แล้ว

      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.

  • @self_official
    @self_official ปีที่แล้ว

    sir aap JSPM Tathwade ke student hai kya

  • @trojanhorse8278
    @trojanhorse8278 10 หลายเดือนก่อน

    youtube shanel

  • @MrPravinsoni
    @MrPravinsoni 10 หลายเดือนก่อน +5

    Boston housing dataset has been removed from scikit-learn. Is there any way to load it as a bunch data??

    • @ubarbde
      @ubarbde 7 หลายเดือนก่อน

      from sklearn.datasets import fetch_california_housing
      housing = fetch_california_housing()

    • @RoyParihar-p4l
      @RoyParihar-p4l 4 หลายเดือนก่อน

      from sklearn.datasets import fetch_california_housing use this