Simple Linear Regression in Python - sklearn

Ғылым және технология

There is a mistake in the video at 00:41 where I said Y is the independent and X is the dependent variable. It should be X is the independent and Y is the dependent variable. Sorry for this mistake.
If you missed my last video on the concept of simple linear regression, feel free to check that out here:
• Simple Linear Regressi...
If you are interested in learning to code the simple linear regression algorithm from scratch, feel free to visit this link:
regenerativetoday.com/how-to-...
Please feel free to check out my Data Science blog where you will find a lot of data visualization, exploratory data analysis, statistical analysis, machine learning, natural language processing, and computer vision tutorials and projects:
regenerativetoday.com/
Twitter page:
/ rashida048
Facebook Page:
regenerativetoday.com/
#linearRegression #machinelearning #datascience #dataAnalytics #python #sklearn

Пікірлер: 50

  • @bwenenzams4487
    @bwenenzams4487 Жыл бұрын

    Thank you so much for this incredible linear regression concept. I have been struggling to understand the cording aspect but you just made my day. Everything was just so easy with simple and explanatory codes.

  • @eevibessite

    @eevibessite

    6 ай бұрын

    kzread.info/dash/bejne/haNnvI-BpJnXe5s.html

  • @rosepearl2880
    @rosepearl2880 Жыл бұрын

    That was an amazing video , i have been struggling for three days finally i found a solution Thank you so much!!

  • @anis.ldx1
    @anis.ldx15 ай бұрын

    Awesome content! Thank you so much for simplifying the explanation!

  • @ChauhanAshish001
    @ChauhanAshish0017 ай бұрын

    Hands down to the best tutorial for linear regression implementation in python not even code with harry can compete😊

  • @dauntless4498
    @dauntless44988 ай бұрын

    One of the best ML linear regression I have ever seen. Thank you so much. This channel should have wider reach.

  • @eevibessite

    @eevibessite

    6 ай бұрын

    kzread.info/dash/bejne/haNnvI-BpJnXe5s.html

  • @annikkiollila5104
    @annikkiollila51047 ай бұрын

    Thank you, this was really helpful and straight to the point!

  • @stevenlomon
    @stevenlomon Жыл бұрын

    Inifinite thank yous for this!!! Straight to the point and beautifully explained

  • @Hello_am_Mr_Jello

    @Hello_am_Mr_Jello

    11 ай бұрын

    ♾️

  • @ThobelaGoge
    @ThobelaGoge2 ай бұрын

    This channel is super under-rated

  • @chiragahlawat465
    @chiragahlawat465Ай бұрын

    Thank you Mam you taught me linear regression in very simple and expert way!! I saw many videos and you will be amazed to know that you are the BEST!!

  • @DreamAndDancewithDeeptiD3
    @DreamAndDancewithDeeptiD3 Жыл бұрын

    amazing explanation. THANKYOU

  • @AshishAcharjee
    @AshishAcharjee Жыл бұрын

    So, beautifully explained ...Thanks a lot

  • @arpit1559
    @arpit15592 ай бұрын

    Thank you so much, u really explained everything so well

  • @mayankjindal8908
    @mayankjindal89089 ай бұрын

    Really simple and clear tutorial ⭐⭐

  • @thisisamitrathore
    @thisisamitrathore Жыл бұрын

    You deserve more subscribers.

  • @orkhanahmadov9963
    @orkhanahmadov99639 ай бұрын

    thank you for amazing explanation

  • @hadikh4261
    @hadikh42617 ай бұрын

    Thank you for your nice video; really I need a simple explanation to learn it.

  • @user-er9yd3ie4w
    @user-er9yd3ie4w Жыл бұрын

    Thanks , well pressented

  • @farnazkhoshkhoo6373
    @farnazkhoshkhoo637321 күн бұрын

    thank you! how to know p_value and if the coefficient is significant or not?

  • @anthonychung2907
    @anthonychung2907 Жыл бұрын

    what to do if the x-axis is time series ?

  • @AfranEjaj007
    @AfranEjaj0075 ай бұрын

    Awesome

  • @bigdata3554
    @bigdata35546 ай бұрын

    thank you so much for this tutorial, very helpful! would you be willing to assist with a program i'm writing? Python will not read the .CSV file

  • @DONOTREPLY-gw1pq
    @DONOTREPLY-gw1pq Жыл бұрын

    you are genius mam

  • @jayasarojam8568
    @jayasarojam85685 ай бұрын

    Great 👍🏼

  • @trianajhonattan
    @trianajhonattan Жыл бұрын

    Thanks, I undestand better.

  • @behailumideksa5705
    @behailumideksa57056 ай бұрын

    how to fix this problem ValueError: could not convert string to float: 'van'

  • @godza4735
    @godza4735 Жыл бұрын

    I am struggling to learn testing and training data can you make some video to better understanding how it takes data i like your explaining.

  • @nadafarhan464
    @nadafarhan4647 ай бұрын

    you are amazing

  • @Br4ndzzz
    @Br4ndzzz Жыл бұрын

    When I try and plot the train model prediction and the test model predictions like you did at the end, I get an error saying "unhashable type: 'numpy.ndarray' " I'm not sure what's going on.

  • @regenerativetoday4244

    @regenerativetoday4244

    Жыл бұрын

    Check the dimension of your array. If its 2D, convert it to 1D

  • @arunaskengineeringcse99

    @arunaskengineeringcse99

    11 ай бұрын

    @@regenerativetoday4244 How to convert to 1D?

  • @Essentialenglishwords-ii7ek
    @Essentialenglishwords-ii7ek Жыл бұрын

    could yo please share the data so we cold train on it

  • @iamshaguftanaz4165
    @iamshaguftanaz416510 ай бұрын

    The dataset I am working with consists of two columns, X and Y where the function Y changes for increasing values of the X variable. If Y shows variations with X, the simplest way to do this is by fitting the data with a linear function. but how can i find pattern in my data ? how can i analyse for what value of x , y shows changes because c=15 , m=(_339)

  • @regenerativetoday4244

    @regenerativetoday4244

    10 ай бұрын

    Please try some other models. You can start with Polynomial regression. Here you will find my tutorials on some other machine learning models as well.

  • @archniki_
    @archniki_ Жыл бұрын

    You can compress audio in audacity if someone complain

  • @adithkrishnaa8503
    @adithkrishnaa8503 Жыл бұрын

    When i try to plot the x and y test it says x and y must be same size. What to do

  • @regenerativetoday4244

    @regenerativetoday4244

    Жыл бұрын

    Please check the shape and length of both x and y to know what is the problem.

  • @SparaPengar

    @SparaPengar

    7 ай бұрын

    @@regenerativetoday4244 Got the same result. Following your instructions X_test becomes 90 values and Y_test becomes 60 values. I assume I did something wrong in the split then?

  • @abdullahalrawi1491
    @abdullahalrawi14916 ай бұрын

    How did you know there is a corr between the 2 variables from the scatter ? amazing video btw thanks

  • @abdullahalrawi1491

    @abdullahalrawi1491

    6 ай бұрын

    i saw your last video and i could get the answer thanks

  • @regenerativetoday4244

    @regenerativetoday4244

    6 ай бұрын

    Thank you for your question. Scatter plot shows a specific trend here. When X is higher y is higher too. That indicates a correlation. But if you quantify the correlation you have to calculate it for sure.

  • @abdullahalrawi1491

    @abdullahalrawi1491

    6 ай бұрын

    @@regenerativetoday4244 thank you The problem is i follow a similar course in Belgium with stupid teachers who unfortunately don’t explain as you do in the videos, maybe i wont do it this year so i will follow your videos to understand the basics

  • @santakmohanty612
    @santakmohanty6127 ай бұрын

    Can you provide the data set for this video too.

  • @regenerativetoday4244

    @regenerativetoday4244

    7 ай бұрын

    This dataset is in built in seaborn library. sns.load_dataset('iris') will load it for you.

  • @eevibessite

    @eevibessite

    6 ай бұрын

    kzread.info/dash/bejne/haNnvI-BpJnXe5s.html

  • @AshutoshDhaka
    @AshutoshDhaka7 ай бұрын

    1:54 that sorry XD

  • @deepak70813
    @deepak70813 Жыл бұрын

    I am jumping out of the video because of audio quality.

  • @user-dh6wx3fe6y

    @user-dh6wx3fe6y

    14 күн бұрын

    Maybe, but the quality of the material is much better than the audio quality, unlike other authors.

Келесі