Standard Deviation Visual Widget

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 17

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

    Great job

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

    I must subscribe to your channel 😍😍😍😍😍 thanks

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

    awesome

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

    You make a wonderful job. It is very difficult to find this type of quality in Russian youtube. I am talking about your channel

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

    How do you build such an interactive chart where you can adjust like in this case the standard deviation? Thanks

    • @KimberlyFessel
      @KimberlyFessel  3 роки тому +2

      Hi -- that's a Jupyter widget from the ipywidgets library (ipywidgets.readthedocs.io/en/stable/). I have been considering making a video about them, so hopefully that will be coming up eventually. But for now, you can find the code I used to make this standard deviation widget on my GitHub page: github.com/kimfetti/Videos/blob/master/Shorts/standard_deviation_widget.ipynb

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

      @@KimberlyFessel Thanks Kimberly, looking forward to that video

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

    I am confused with one thing Why and How mean shifts

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

    Is it possible to combine in a multi column graph using standard deviations and a heatmap showing the areas further from the mean in gradations of color signifying distance from the mean? i.e values close to the mean may be white and those further away might be some other darker color?

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

      Sure thing - I think you could do this. I would probably load the data into a pandas data frame, and then scale each column (or row) by subtracting the mean and dividing by the standard deviation of each particular column (or row). The values should then be centered about zero and scaled in terms of the standard deviation. Then you could just do a seaborn heatmap of the entire pandas dataframe. 👍You could do a diverging color palette so that values much smaller than the mean would be one color and values much larger than the mean would be a different color... or you could do the absolute value of everything and then just use a sequential color palette.

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

      @@KimberlyFessel Thank you very much. I will try it very soon. Great suggestion.

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

      @@KimberlyFessel Very clever, I like it. ty. Is it then possible to use annot=true to show the original value instead of the weighted formula value in the weighted matrix?

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

      @@philr3630 annot=True would just pull in the current values that you are plotting... BUT you can actually pass a dataframe or a numpy array as the value for annot (for example, annot=df_labels) as long as the annotations are the same size as the current values of the heatmap.