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

Поділитися
Вставка
  • Опубліковано 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 UA-cam CHANNEL

КОМЕНТАРІ • 127

  • @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 роки тому +46

    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

  • @sumaiyamohiyuddin8173
    @sumaiyamohiyuddin8173 4 роки тому +6

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

  • @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!!

  • @gaganhsjois5626
    @gaganhsjois5626 3 роки тому +1

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

  • @KetakiVaidya
    @KetakiVaidya 4 роки тому +7

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

  • @aishhu24
    @aishhu24 2 роки тому +1

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

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

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

  • @VinayKumar-fp2fc
    @VinayKumar-fp2fc 4 роки тому

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

  • @MohamedAshraf-zs6nv
    @MohamedAshraf-zs6nv 4 роки тому +14

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

  • @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 .. :))

  • @anantv10
    @anantv10 3 роки тому

    Bro... u r the best educator.

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

  • @gournilsawant7659
    @gournilsawant7659 4 роки тому +6

    Can't wait for EDA

  • @shivamchauhan7827
    @shivamchauhan7827 4 роки тому +2

    Carry on sir
    please next video

  • @touhidislamTOUHID498
    @touhidislamTOUHID498 3 роки тому

    Thank you for clear explanantion

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

  • @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?

  • @tejareddy1692
    @tejareddy1692 Рік тому

    Thank you for the sharing👍

  • @indirajithkv7793
    @indirajithkv7793 2 роки тому

    Krish it's too interesting...❤💫

  • @DataInsights2001
    @DataInsights2001 3 роки тому +1

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

  • @sumitverma1402
    @sumitverma1402 4 роки тому +2

    Keep it up

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

  • @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 3 роки тому

    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.

  • @_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?

  • @vinodkinoni4863
    @vinodkinoni4863 4 роки тому +2

    Nice sir

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

  • @sagarchandradas6326
    @sagarchandradas6326 4 роки тому

    which correlation is good? positive or negative?

  • @louerleseigneur4532
    @louerleseigneur4532 3 роки тому

    Thanks Krish

  • @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?

  • @rohitprakashmathur
    @rohitprakashmathur 3 роки тому

    Hey for drawing the diagrams how do you do?

  • @lthirumaal
    @lthirumaal 3 роки тому

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

  • @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 ?

  • @mohammedkhalidahmed651
    @mohammedkhalidahmed651 Рік тому

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

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

  • @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:

  • @almostworthy2973
    @almostworthy2973 3 роки тому +1

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

  • @helalali6555
    @helalali6555 4 роки тому +1

    In loading this dataset it is showing error

  • @rakeshmeena5707
    @rakeshmeena5707 2 роки тому +1

    Where and how tips dataset

  • @hometvfirestick
    @hometvfirestick 2 роки тому

    thanks

  • @JayasuryanChandrasekharCMF
    @JayasuryanChandrasekharCMF 2 роки тому

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

  • @gyaneshyadav994
    @gyaneshyadav994 Місяць тому +2

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

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

  • @deshdeepakverma3170
    @deshdeepakverma3170 Рік тому

    For practice

  • @swapnagadimuthaka1711
    @swapnagadimuthaka1711 3 роки тому

    sir..what is kaggle ?

  • @sharanmagesh4167
    @sharanmagesh4167 5 місяців тому +1

    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

  • @meetanshul.1691
    @meetanshul.1691 4 роки тому +4

    Sir will you please make a video on Hypothesis testing.

  • @Kitchen24000
    @Kitchen24000 Рік тому

    Can we publish this reports
    Anyone can answer

  • @triptitiwari7533
    @triptitiwari7533 Рік тому

    what is KDE??

  • @mounikathouda
    @mounikathouda 10 днів тому

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

  • @rajivnair2717
    @rajivnair2717 6 місяців тому

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

  • @harshittrivedi8766
    @harshittrivedi8766 4 роки тому

    Sir ye file restaurant wali kaise read kare python me

  • @satyazigyansu6873
    @satyazigyansu6873 11 місяців тому

    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)

  • @naveentripathi6828
    @naveentripathi6828 4 місяці тому

    Jointplot

  • @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 5 місяців тому +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 5 місяців тому

      @@sainikhil6890 Thanks

  • @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 3 роки тому +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

  • @vineetkrpandey7641
    @vineetkrpandey7641 3 місяці тому +1

    tut9 done
    14/04/2024

  • @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)

  • @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 11 місяців тому

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

    • @nakulmehta8372
      @nakulmehta8372 10 місяців тому

      same

    • @MrSaibi10
      @MrSaibi10 10 місяців тому

      @@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 Місяць тому

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

  • @sickyoo
    @sickyoo 3 роки тому

    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

  • @JacklinSibiyal
    @JacklinSibiyal 5 місяців тому

    Day 4 - 19/02/2024

  • @user-bk3cp4uf8v
    @user-bk3cp4uf8v 2 роки тому +1

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

  • @km02editz69
    @km02editz69 7 місяців тому

    Plz help

  • @AIBImaadHasan
    @AIBImaadHasan 2 місяці тому

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