Explain how to Plot Normal distribution with the help of seaborn?

Explain how to Plot Normal distribution with the help of seaborn?

Explain how to Plot Normal distribution with the help of seaborn?

This recipe explains how to Plot Normal distribution with the help of seaborn


Recipe Objective

Plot Normal distribution with the help of seaborn.

Normal distribution is also called as Guassian distribution which says that the should be normally distributed in nature. As the data near the mean is more frequently occuring than the data far from the mean. The normal distribution will appear as a bell curve.

Step 1 - Import the necessary libraries

from numpy import random import matplotlib.pyplot as plt import seaborn as sns

Step 2 - Take random samples

sample = random.normal(size=1000)

Step 3 - Plot the graph

sns.distplot(sample, hist=False) plt.show()

Relevant Projects

Identifying Product Bundles from Sales Data Using R Language
In this data science project in R, we are going to talk about subjective segmentation which is a clustering technique to find out product bundles in sales data.

Perform Time series modelling using Facebook Prophet
In this project, we are going to talk about Time Series Forecasting to predict the electricity requirement for a particular house using Prophet.

Choosing the right Time Series Forecasting Methods
There are different time series forecasting methods to forecast stock price, demand etc. In this machine learning project, you will learn to determine which forecasting method to be used when and how to apply with time series forecasting example.

Learn to prepare data for your next machine learning project
Text data requires special preparation before you can start using it for any machine learning project.In this ML project, you will learn about applying Machine Learning models to create classifiers and learn how to make sense of textual data.

Customer Market Basket Analysis using Apriori and Fpgrowth algorithms
In this data science project, you will learn how to perform market basket analysis with the application of Apriori and FP growth algorithms based on the concept of association rule learning.

PySpark Tutorial - Learn to use Apache Spark with Python
PySpark Project-Get a handle on using Python with Spark through this hands-on data processing spark python tutorial.

German Credit Dataset Analysis to Classify Loan Applications
In this data science project, you will work with German credit dataset using classification techniques like Decision Tree, Neural Networks etc to classify loan applications using R.

Data Science Project - Instacart Market Basket Analysis
Data Science Project - Build a recommendation engine which will predict the products to be purchased by an Instacart consumer again.

Predict Employee Computer Access Needs in Python
Data Science Project in Python- Given his or her job role, predict employee access needs using amazon employee database.

Mercari Price Suggestion Challenge Data Science Project
Data Science Project in Python- Build a machine learning algorithm that automatically suggests the right product prices.