Skip to content

Visualise Normal distribution sample data with changing mean and std

Notifications You must be signed in to change notification settings

samp-suman/Normal-dist-visualize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Normal-dist-visualize

Visualise Normal distributed sample data with changing mean and std

Streamlit App: App Link

Normal Distribution Visualization Web App

This Streamlit web app allows users to visualize and interact with normal distributions and Kernel Density Estimation (KDE). The app has two main pages:

1. Normal Distribution Visualization

This page provides a visual representation of a normal distribution. Users can customize the distribution by adjusting parameters such as mean, standard deviation, bin size, and the option to show/hide the density curve.

Walkthrough

Watch the video

Instructions:

  • Adjust the mean and standard deviation sliders to modify the characteristics of the normal distribution.
  • Use the bin size slider to control the granularity of the histogram.
  • Toggle the "Show Density Curve" checkbox to display or hide the probability density function (PDF) curve.

This page is designed to assist teachers in explaining normal distribution concepts to beginners. Follow Session 41 in DSMP Playlist CampusX

2. Kernel Density Estimation (KDE)

Walkthrough

Watch the video

a. KDE from Scratch

This section demonstrates Kernel Density Estimation from scratch, allowing users to choose the bandwidth for the KDE. Bandwidth options include Scott, Silverman, or a custom value.

Instructions:

  • Select the "MyKDE" option for KDE from Scratch.
  • Choose the bandwidth type (Scott, Silverman, or Other).
  • If "Other" is selected, input a custom bandwidth value.
  • Explore the visual representation of the KDE.

b. KDE using Seaborn Library

  • Visualization using the Seaborn library to perform Kernel Density Estimation.

Instructions:

  • Select the "Seaborn" option.
  • Observe the KDE plot generated by Seaborn.

Follow Session 40 in DSMP Playlist CampusX

Acknowledgments

  • Special thanks to Nitish Sir.
  • Inspired by the need to visualize and teach normal distribution and KDE concepts.

About

Visualise Normal distribution sample data with changing mean and std

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages