Tutorial 9- Seaborn Tutorial- Distplot, Joinplot, Pairplot Part 1

Поделиться
HTML-код
  • Опубликовано: 1 окт 2019
  • Hello All,
    Welcome to the Python Crash Course. In this video we will understand about Seaborn
    github url : github.com/krishnaik06/Machin...
    Support me in Patreon: / 2340909
    Connect with me here:
    Twitter: / krishnaik06
    Facebook: / krishnaik06
    instagram: / krishnaik06
    If you like music support my brother's channel
    / @ultralifeproject
    Buy the Best book of Machine Learning, Deep Learning with python sklearn and tensorflow from below
    amazon url:
    www.amazon.in/Hands-Machine-L...
    You can buy my book on Finance with Machine Learning and Deep Learning from the below url
    amazon url: www.amazon.in/Hands-Python-Fi...
    Subscribe my unboxing Channel
    / @krishnaikhindi
    Below are the various playlist created on ML,Data Science and Deep Learning. Please subscribe and support the channel. Happy Learning!
    Deep Learning Playlist: • Tutorial 1- Introducti...
    Data Science Projects playlist: • Generative Adversarial...
    NLP playlist: • Natural Language Proce...
    Statistics Playlist: • Population vs Sample i...
    Feature Engineering playlist: • Feature Engineering in...
    Computer Vision playlist: • OpenCV Installation | ...
    Data Science Interview Question playlist: • Complete Life Cycle of...
    You can buy my book on Finance with Machine Learning and Deep Learning from the below url
    amazon url: www.amazon.in/Hands-Python-Fi...
    🙏🙏🙏🙏🙏🙏🙏🙏
    YOU JUST NEED TO DO
    3 THINGS to support my channel
    LIKE
    SHARE
    &
    SUBSCRIBE
    TO MY RUclips CHANNEL

Комментарии • 134

  • @hanman5195
    @hanman5195 4 года назад +64

    there are many institutions including online courses charging anything more than 1 lack but not able explain concisely and clearly the you way you do it.
    I like your explanation very much.

  • @poojabhakuni464
    @poojabhakuni464 4 года назад +47

    Negative correlation implies that if one is increasing other is decreasing (in reference to 11:01 )

    • @mellowftw
      @mellowftw 2 года назад +1

      Yes you're right it got me confused as well he should address it for future viewers

  • @rk1501
    @rk1501 3 года назад +1

    This video is amazing!! I was having some issues with graphs , you just cleared every problem of mine in a single video. Thank You So much!!

  • @sumaiyamohiyuddin8173
    @sumaiyamohiyuddin8173 4 года назад +6

    Crystal clear explanation .I bet no online courses explain it so well. Thanks a lot

  • @gaganhsjois5626
    @gaganhsjois5626 3 года назад +1

    This Guy is Amazing. He can teach you Data science in a very simple way. Cheers!!!!!

  • @aishhu24
    @aishhu24 2 года назад +1

    Like the way you explain things . So precise and clear. Kudos to you 👍👍

  • @ZorroOZ_music
    @ZorroOZ_music Год назад

    Krish sir. You are an inspiration. I am a student of upgrad but I am learning through your video about Data Analytics. Thanks a lot sir.

  • @rachitgoyal9117
    @rachitgoyal9117 Год назад

    [On lighter note] Apart from your wonderful way to describe the complex concept to simple manner, One thing I noticed and important to note: "This is pretty much simple" :D

  • @vasisthdave6926
    @vasisthdave6926 3 года назад +3

    Inreference to 11:01 Negative correlation means those features are inversely proportional.It clearly means one increases will result into another one decreasing.

  • @VinayKumar-fp2fc
    @VinayKumar-fp2fc 4 года назад

    you really nailed..i was struggling to plot seaborn graphs..

  • @anantv10
    @anantv10 3 года назад

    Bro... u r the best educator.

  • @MohamedAshraf-zs6nv
    @MohamedAshraf-zs6nv 4 года назад +14

    Correction: correlation is (+) means they are directly proportional
    correlation is (-) means they are inversely proportional

  • @KetakiVaidya
    @KetakiVaidya 4 года назад +7

    Thanks for this video,Krish. Very well elucidated. Request you to kindly correct your notebook and change "JoinPlot" to "JointPlot"

  • @shwetaredkar734
    @shwetaredkar734 4 года назад +1

    Thank you for all these efforts and helping people out. I am in love with you. :)

    • @AmitYadav-ig8yt
      @AmitYadav-ig8yt 4 года назад +4

      Please dont scare him with #Metoo sentiment .. :))

  • @touhidislamTOUHID498
    @touhidislamTOUHID498 3 года назад

    Thank you for clear explanantion

  • @tejareddy1692
    @tejareddy1692 Год назад

    Thank you for the sharing👍

  • @indirajithkv7793
    @indirajithkv7793 2 года назад

    Krish it's too interesting...❤💫

  • @gournilsawant7659
    @gournilsawant7659 4 года назад +6

    Can't wait for EDA

  • @KetakiVaidya
    @KetakiVaidya 4 года назад +6

    Hi Krish. One small suggestion. You can use
    import warnings
    warnings.filterwarnings("ignore")
    to ignore the warnings that you are otherwise getting when plotting the distplot.

    • @harshittrivedi8766
      @harshittrivedi8766 4 года назад

      File ko kaise read kare restaurant wale data ko python me

  • @anugantisuresh5935
    @anugantisuresh5935 4 года назад

    Nice video.
    Have one question, when to use dist plots?
    joinplot & pairplot explained when to use.

  • @shivamchauhan7827
    @shivamchauhan7827 4 года назад +2

    Carry on sir
    please next video

  • @louerleseigneur4532
    @louerleseigneur4532 3 года назад

    Thanks Krish

  • @AbhishekRana-ye9uw
    @AbhishekRana-ye9uw 3 года назад

    very helpful sir thank you

  • @luckymoon2488
    @luckymoon2488 2 года назад

    when i done practical in clg i just get output as some fig. and i was happy with that like i'm getting ourtput. But here i undersand the meaning behind that fig. like regression lines, heatmap and all also i understand waht really problems are and what innsigts fig are providing

  • @sumitverma1402
    @sumitverma1402 4 года назад +2

    Keep it up

  • @vinodkinoni4863
    @vinodkinoni4863 4 года назад +2

    Nice sir

  • @DataInsights2001
    @DataInsights2001 3 года назад +1

    It would be nice to add service quality feature like (low,medium, good, very good) to predict tip......

  • @jeevanthikaratan5181
    @jeevanthikaratan5181 2 года назад

    Around 11:15, you said if total bill is decreasing then tip also decreases which is negatively correlated however they should actually head in opposite directions if the total bill increases, then the tip should be decreasing, correct?

  • @hometvfirestick
    @hometvfirestick 2 года назад

    thanks

  • @gudejyothi6228
    @gudejyothi6228 3 года назад

    how can we know what is independent variable and which is dependent feature.i mean every time in the question we may not get the details of this thing? can you please explain for this

  • @lthirumaal
    @lthirumaal 3 года назад

    Hi Krish.. I see in Tab that u were seeing singam song .. Kadhal vandale kaal rendum song.. While recording this video

  • @sagarchandradas6326
    @sagarchandradas6326 4 года назад

    which correlation is good? positive or negative?

  • @_Queeny_
    @_Queeny_ 4 года назад +2

    Sir why did I get an error in this statement.. df=sns.load_dataset("tips")

  • @AnkitKumar-ss7sx
    @AnkitKumar-ss7sx 3 года назад

    How do you analyse this graph 11:54 by looking at it?

  • @zulfi1
    @zulfi1 3 года назад

    i am bit confused for the x and y labels in the command " sns.jointplot(x='tip', y ='total_bill', data=df, kind='hex') " which starts some where at 13:00. the confusion is, x label should be 'total_bill' and y should be 'tip' because tip is dependent on the bill and there are many chances when there is no tip at all, customer just pay the bill it means tip is dependent not the bill. will you please clarify this doubt?

  • @shahnawazkhan1636
    @shahnawazkhan1636 4 года назад

    How to understand dependent and independent variable,bacause you told in this video "tips" is dependent variable,please answer the question.

  • @mausamrajbanshi3192
    @mausamrajbanshi3192 3 года назад +5

    @11:00 negative correlation mens as one feature value increase next feature value decreases as of i knew.
    Correct me sir if m wrong.

  • @rohitprakashmathur
    @rohitprakashmathur 3 года назад

    Hey for drawing the diagrams how do you do?

  • @mahery_ranaivoson
    @mahery_ranaivoson 4 года назад +6

    So what type of technique we could use to find out the relationship between categorical features and the dependent variable?

    • @gournilsawant7659
      @gournilsawant7659 4 года назад +1

      Great question.

    • @sashpatra88
      @sashpatra88 4 года назад +2

      We can use bar plot to show this relationship.
      sns.barplot(x='sex',y='tip',data=df)

    • @prudhvikumar6293
      @prudhvikumar6293 4 года назад +1

      seaborn.pydata.org/tutorial/categorical.html take a look at this, this covers most of the techniques!

    • @sashaankadibhatla2261
      @sashaankadibhatla2261 3 года назад

      you can use Predictive Power Score but with higher dimensionality, the computational power of PPS is high
      Can refer this : towardsdatascience.com/rip-correlation-introducing-the-predictive-power-score-3d90808b9598

    • @nagabharathi1912
      @nagabharathi1912 3 года назад

      @@sashpatra88 helpfull

  • @almostworthy2973
    @almostworthy2973 3 года назад +1

    Note: distpot() has been depricated use displot() instead. :)

  • @deshdeepakverma3170
    @deshdeepakverma3170 Год назад

    For practice

  • @prabhats011
    @prabhats011 4 года назад

    Krish my question is in join plot when you have taken two features and calling it both. bivariate and univariate. so clr that one. what we have to consider and why?

  • @rakeshmeena5707
    @rakeshmeena5707 2 года назад +1

    Where and how tips dataset

  • @mohammedkhalidahmed651
    @mohammedkhalidahmed651 Год назад

    Sir how to see parameters of a function in colab shift+tab is not working

  • @Roam_with_RC
    @Roam_with_RC 4 года назад +3

    Sir I am getting confused where I have to use brackets and square brackets, While typing code and retrieving data. where exactly we use bracket and square bracket ?

    • @farazahmed1668
      @farazahmed1668 3 года назад +3

      we use square brackets when we wokring with pandas data frame and selecting the column like df.["ttips"] and otherwise we use round brackets.

    • @kumarponnoju6688
      @kumarponnoju6688 3 года назад

      did u complete this playlist ?

  • @nirmalparmar2162
    @nirmalparmar2162 Год назад

    The 'tips' file...where it is came from.. please anyone can explain to em who can understand??

  • @aenugulasheikdadapeer5336
    @aenugulasheikdadapeer5336 Год назад +1

    Sir i am getting while loading dataset, URLError:

  • @aayushijain2160
    @aayushijain2160 4 года назад

    I have a question, can you tell me how to identify the dependent or independent feature.

    • @abhijithanumale9845
      @abhijithanumale9845 3 года назад

      Price is depend upon area so price become dependent variable and area become independent same like this

  • @swapnagadimuthaka1711
    @swapnagadimuthaka1711 3 года назад

    sir..what is kaggle ?

  • @meetanshul.1691
    @meetanshul.1691 4 года назад +4

    Sir will you please make a video on Hypothesis testing.

  • @JayasuryanChandrasekharCMF
    @JayasuryanChandrasekharCMF 2 года назад

    AttributeError: module 'seaborn' has no attribute 'replot' . Can someone confirm what was done to fix this error?

  • @Kitchen24000
    @Kitchen24000 Год назад

    Can we publish this reports
    Anyone can answer

  • @sharanmagesh4167
    @sharanmagesh4167 5 месяцев назад +2

    I'm getting value error when i'm trying to convert the dataset into correaltion matrix

    • @bichdiepvi1136
      @bichdiepvi1136 4 месяца назад

      u can try this code: df.corr(numeric_only = True)

  • @helalali6555
    @helalali6555 4 года назад +1

    Sir i cant run this code

  • @deshdeepakverma3170
    @deshdeepakverma3170 Год назад

    Dear sir please give the link of iris data set link

  • @naveentripathi6828
    @naveentripathi6828 5 месяцев назад

    Jointplot

  • @harshittrivedi8766
    @harshittrivedi8766 4 года назад

    Sir ye file restaurant wali kaise read kare python me

  • @omkarkharkar5998
    @omkarkharkar5998 4 года назад

    Hello sir while practicing sea born I'm getting this error(RuntimeError: In FT2Font: Can not load face.) please tell me to solve this error

    • @rajadas-ij2vi
      @rajadas-ij2vi 3 года назад

      I am also getting the same error

  • @triptitiwari7533
    @triptitiwari7533 Год назад

    what is KDE??

  • @gyaneshyadav994
    @gyaneshyadav994 2 месяца назад +2

    df.corr() showing error
    It shows: could not convert string to float for the data frame in starting of video @ 10.01

    • @PyGeniusStudios-official
      @PyGeniusStudios-official 2 месяца назад +4

      Correct is df. Corr(numeric_only=True)

    • @mounikathouda
      @mounikathouda 23 дня назад +1

      @@PyGeniusStudios-official Thank you. Even I got the same error

    • @Shishank25
      @Shishank25 12 дней назад +1

      @@PyGeniusStudios-official ily bro, thank you so much 🤗❣

  • @vineetkrpandey7641
    @vineetkrpandey7641 3 месяца назад +1

    tut9 done
    14/04/2024

  • @aradhanasingh836
    @aradhanasingh836 4 года назад +2

    from where to get tips data set

    • @amalsunil4722
      @amalsunil4722 4 года назад +2

      it's already inbuilt within the seaborn module

    • @vikramshanmugam1323
      @vikramshanmugam1323 4 года назад +1

      You can get the same table. Write the correct code !

    • @rajadas-ij2vi
      @rajadas-ij2vi 3 года назад

      @NITESH KUMAR did you get the solution...I am also facing same problem

  • @rajivnair2717
    @rajivnair2717 6 месяцев назад

    getting valueerror when running df.corr().can anyone help

  • @satyazigyansu6873
    @satyazigyansu6873 Год назад

    df.corr() is not working
    it shows could not convert string to float: 'no

    • @prathamchauhan5140
      @prathamchauhan5140 7 месяцев назад +2

      @prathamchauhan5140
      1 second ago
      for this error: could not convert string to float instead of writing dfcorr()
      write this--> df.corr(numeric_only=True)

  • @fysalsyed3104
    @fysalsyed3104 3 года назад +2

    Sir, In kaggle which dataset are you import ? please give the URL of that dataset called tips

    • @ismailabdulaziz1994
      @ismailabdulaziz1994 3 года назад +1

      tips is there an in built data set of seaborn library. the data set is available in the library itself you have to read the file. hope this helps.

  • @kunalkumaraiml2365
    @kunalkumaraiml2365 7 месяцев назад

    Can anyone resolve it, Why df.corr() is showing error of 'string can't be converted into int'

    • @sainikhil6890
      @sainikhil6890 6 месяцев назад +1

      you can drop the columns that are having categorical values from dataset using df.drop(['smoker','sex','day','time'],axis=1,inplace=True)
      and try

    • @kunalkumaraiml2365
      @kunalkumaraiml2365 6 месяцев назад

      @@sainikhil6890 Thanks

  • @abhishekdagar3949
    @abhishekdagar3949 Год назад

    @KrishNaik sir
    Can Any body tell me please I am getting this error
    ValueError: could not convert string to float: 'No'
    when I run cell with df.corr() what should I Do
    my code:-
    import seaborn as sns
    df = sns.load_dataset("tips")
    df.corr()

    • @og6265
      @og6265 Год назад

      df_numeric = df.select_dtypes(include=['float64', 'int64'])
      use this above df.corr()

    • @km02editz69
      @km02editz69 7 месяцев назад

      ​@@og6265 again iam getting same error as valueError : couldn't convert string to float

    • @prathamchauhan5140
      @prathamchauhan5140 7 месяцев назад

      @@km02editz69 i am also getting same error

    • @prathamchauhan5140
      @prathamchauhan5140 7 месяцев назад

      for this error: could not convert string to float instead of writing dfcorr()
      write this--> df.corr(numeric_only=True)

    • @km02editz69
      @km02editz69 7 месяцев назад

      @@prathamchauhan5140 Thank you so much great help

  • @km02editz69
    @km02editz69 7 месяцев назад

    Getting valueError: couldn't convert string to float
    When iam trying to execute df.corr()

    • @prathamchauhan5140
      @prathamchauhan5140 7 месяцев назад

      @prathamchauhan5140
      1 second ago
      for this error: could not convert string to float instead of writing dfcorr()
      write this--> df.corr(numeric_only=True)

  • @sickyoo
    @sickyoo 4 года назад

    Hi Krish Dada
    I am following your videos of python and machine learning
    Till now I am into seaborn tutorial
    I am from database background
    Will need your help to understand once I have hands on in the topics of
    Machine learning, how can I prepare for interviews and can jump to this new domain
    Though its very early to ask as I have just started but your response will be highly appreciated
    Thanks Dada

  • @BharathPARUL
    @BharathPARUL 3 месяца назад

    df =sns.load_dataset("tips")
    df.head()
    df.corr()
    it gives an error: could not convert string to float
    what we have to do? sir..

    • @ncerttamil7129
      @ncerttamil7129 3 месяца назад +1

      im also facing the same error how to overcome this

    • @ncerttamil7129
      @ncerttamil7129 3 месяца назад +1

      bro did you got any idea

    • @BharathPARUL
      @BharathPARUL 3 месяца назад

      @@ncerttamil7129 df_encoded = pd.get_dummies(df)
      correlation_matrix = df_encoded.corr()
      df_encoded.head()
      Firstly import pandas as pd

    • @BharathPARUL
      @BharathPARUL 3 месяца назад

      @@ncerttamil7129 df_encoded = pd.get_dummies(df) # here we change strings values into int values then only we can correlate
      correlation_matrix = df_encoded.corr()
      correlation_matrix.head()

    • @BharathPARUL
      @BharathPARUL 3 месяца назад

      df_encoded = pd.get_dummies(df) # here we change strings values into int values then only we can correlate
      correlation_matrix = df_encoded.corr()
      correlation_matrix.head()
      Then sns.heatmap(correlation_matrix)

  • @DeepakKumar-uq9js
    @DeepakKumar-uq9js Год назад

    correlation find kaise hoga?
    df.corr() not working...its not creating matrix and hence fails to work
    plz reply

    • @nakulmehta8372
      @nakulmehta8372 11 месяцев назад

      same

    • @MrSaibi10
      @MrSaibi10 11 месяцев назад

      @@nakulmehta8372 For the newer pandas version you need to specify: df.corr (numeric_only=True). Should work then

    • @prathamchauhan5140
      @prathamchauhan5140 7 месяцев назад

      @prathamchauhan5140
      1 second ago
      for this error: could not convert string to float instead of writing dfcorr()
      write this--> df.corr(numeric_only=True)

    • @prathamchauhan5140
      @prathamchauhan5140 7 месяцев назад

      @@nakulmehta8372
      @prathamchauhan5140
      1 second ago
      for this error: could not convert string to float instead of writing dfcorr()
      write this--> df.corr(numeric_only=True)

  • @debjyotiroy842
    @debjyotiroy842 3 года назад

    The explanation of correlation was incorrect...if the correlation coefficient is negative then it means if total bill increases then tip decreases

  • @Pranav-ie1ik
    @Pranav-ie1ik 2 месяца назад

    if anyone cares to explain df.corr() is giving error
    ValueError: could not convert string to float: 'No'

  • @helalali6555
    @helalali6555 4 года назад +1

    In loading this dataset it is showing error

    • @pankajsoni3215
      @pankajsoni3215 День назад

      What is your position after 4 year sir please reply :D

    • @helalali6555
      @helalali6555 День назад

      @@pankajsoni3215 I am not working in data science domain but working as a Consultant at 44lpa

    • @pankajsoni3215
      @pankajsoni3215 День назад

      @@helalali6555 ohh that 's great you are from which college

  • @mounikathouda
    @mounikathouda 23 дня назад +1

    I'm getting error for df.corr(). How could you didn't get any error

    • @Shishank25
      @Shishank25 12 дней назад

      us bro us

    • @RichardKlaus-l7k
      @RichardKlaus-l7k 2 дня назад +1

      The same here, please drop the solution here just incase you find an answer

    • @Shishank25
      @Shishank25 2 дня назад

      @@RichardKlaus-l7k try
      df.corr(numeric_only=True)

  • @user-bk3cp4uf8v
    @user-bk3cp4uf8v 2 года назад +2

    Without tips..... Any real project.... All tutorial chanel casting only tips....its Inbuild data... No need, i need real data wotk out problems

  • @JacklinSibiyal
    @JacklinSibiyal 5 месяцев назад

    Day 4 - 19/02/2024

  • @km02editz69
    @km02editz69 7 месяцев назад

    Plz help

  • @AIBImaadHasan
    @AIBImaadHasan 2 месяца назад

    Correction -->
    df.corr(numeric_only=True)
    @ 10:19