Seaborn lmplot | Comparing lmplot vs regplot and using the Seaborn lmplot hue and FacetGrid

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

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

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

    was working on Seaborn,
    watched couple of your videos and I find them the most logical and useful

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

      So glad to hear that! Seaborn is great 😁

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

    Amazing video!! You explained everything so clearly, thank you so much!

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

      Most welcome! Glad to hear it helped! 😊

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

    Thanks a lot for this Kimberley. I am new to data science and your videos are helping me understand creating graphs and plots on a whole other level. I have a question. Is there a way to include the value for the correlation coefficient in the plot?

  • @t-m5678
    @t-m5678 3 ปีที่แล้ว

    Great video. I've always ignored lmplot. Now I see how useful it is. I'll start using it. Thanks.

    • @KimberlyFessel
      @KimberlyFessel  3 ปีที่แล้ว

      Right? Honestly, I was in the same boat. Didn't really use it much. But there are so many options! Have really be loving demoing the FacetGrid-based plots lately. Good stuff!

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

    Hi Kimberly, fantastic. Quick question on the idea of splitting the plot into multiple plots, one per category. Your example had just 3 categories. I was usung a category variable from my dataset that had 6 (still not massive, right?), however these 6 small plots really were too tiny. Is there a simple way to max the output to two or three lmplots per line? Subplots?

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

      ok i think i may have found it with a bit of help from OpenAI
      grid = sns.FacetGrid(housing_df, col='SaleCondition', hue='SaleCondition', col_wrap=3)
      grid.map(sns.regplot, 'GrLivArea', 'SalePrice')
      What do you think?

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

      @@johnbainbridge1931 Yes, that's right - use "col_wrap" to wrap your columns around to the next line :)

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

    thank you for your good video!. I have one question, do you know it is possible to change hue color and order ? I mean that the default would be alphabetical, but can it be changed to any order?

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

      Hi there - yes, you can update the palette option to change the colors and pass a list to hue_order to specify the order of your choice!

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

    Amazing. Thanks for your video!!!

  • @swarnendusekharghosh9539
    @swarnendusekharghosh9539 3 ปีที่แล้ว

    Mam thank you so much for the video. I had a query of my own which I would like to ask you, when utilizing Gaussian Process Regression, I am obtaining the mean estimate along with their standard deviations from the posterior predictive distribution. How can I plot each mean(point) estimate along with their Confidence Interval (CI), can you kindly help?

  • @lade_edal
    @lade_edal 3 ปีที่แล้ว

    Amazing. Thank you, Kim.

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

    Uhh I am a beginner ANd I have a question ..Are these Regression plotted Correctly ?? Means We do not have to create a seperate model for the Linear Regression

  • @perryliu6573
    @perryliu6573 3 ปีที่แล้ว

    Thanks, Coach!

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

    You rock!

  • @kibetwalter8528
    @kibetwalter8528 3 ปีที่แล้ว

    Thank you

  • @f4edu56
    @f4edu56 3 ปีที่แล้ว

    I did it! I plotted a logistic regression. But I got some trouble when I tried to make it two columns. Can you help me ma'am what should I do?

    • @KimberlyFessel
      @KimberlyFessel  3 ปีที่แล้ว

      Awesome! Glad to hear that worked. What happens when you try to make two columns? Are you passing in a categorical column into the "col" argument, for example, a column that has two string categories like ["a", "b", "a", "a", "b", ...]?

    • @f4edu56
      @f4edu56 3 ปีที่แล้ว

      @@KimberlyFessel
      sns.lmplot(x=['Allowance','Grades'], y='Remarks', data=df, logistic=True, n_boot=100)
      plt.show()

    • @f4edu56
      @f4edu56 3 ปีที่แล้ว

      I can't plot two columns . Please ma'am help. Thank you so much!

    • @f4edu56
      @f4edu56 3 ปีที่แล้ว

      What I did was , I have multiple x, I mean multiple columns for x

  • @izaiasdesouzasilva2885
    @izaiasdesouzasilva2885 3 ปีที่แล้ว

    Great!
    Thanks!

  • @mohammed_Ansar
    @mohammed_Ansar 3 ปีที่แล้ว

    amazing mam...

  • @annkuruvilla1996
    @annkuruvilla1996 3 ปีที่แล้ว

    Thankyou Mam

  • @francismmiranda
    @francismmiranda 3 ปีที่แล้ว

    Thanks!!!!!

  • @tiagomonteiro1414
    @tiagomonteiro1414 3 ปีที่แล้ว

    Thank you