Statistics with Python | Machine Learning | Probability Mass Function with Python - P8

Publié le: 23 mai 2018
sur la chaîne: technologyCult
694
10

Probability Mass Function using Python - P2

Session # 68

Topic to be covered - Probability Mass Function (pmf)

Probability Mass Function (pmf) is a function that gives the probability that a discrete random variables
is exactly equal to some values.

Code Starts Here
==============

import pandas as pd
import matplotlib.pyplot as plt

df = pd.DataFrame()

df['color'] = ['Red','Green','Yellow','Black','Orange']
df['count'] = [5,8,6,2,9]

df['pmf'] = df['count']/df['count'].sum()

plt.bar(df['color'],df['pmf'])
plt.show()

All Playlist of this youtube channel
====================================

1. Data Preprocessing in Machine Learning
   • Data Preprocessing in Machine Learning| Li...  

2. Confusion Matrix in Machine Learning, ML, AI
   • Confusion Matrix in Machine Learning, ML, AI  

3. Anaconda, Python Installation, Spyder, Jupyter Notebook, PyCharm, Graphviz
   • Anaconda | Python Installation | Spyder | ...  

4. Cross Validation, Sampling, train test split in Machine Learning
   • Cross Validation | Sampling | train test s...  

5. Drop and Delete Operations in Python Pandas
   • Drop and Delete Operations in Python Pandas  

6. Matrices and Vectors with python
   • Matrices and Vectors with python  

7. Detect Outliers in Machine Learning
   • Detect Outliers in Machine Learning  

8. TimeSeries preprocessing in Machine Learning
   • TimeSeries preprocessing in Machine Learning  

9. Handling Missing Values in Machine Learning
   • Handling Missing Values in Machine Learning  

10. Dummy Encoding Encoding in Machine Learning
   • Label Encoding, One hot Encoding, Dummy En...  

11. Data Visualisation with Python, Seaborn, Matplotlib
   • Data Visualisation with Python, Matplotlib...  

12. Feature Scaling in Machine Learning
   • Feature Scaling in Machine Learning  

13. Python 3 basics for Beginner
   • Python | Python 3 Basics | Python for Begi...  

14. Statistics with Python
   • Statistics with Python  

15. Sklearn Scikit Learn Machine Learning
   • Sklearn Scikit Learn Machine Learning  

16. Python Pandas Dataframe Operations
   • Python Pandas Dataframe Operations  

17. Linear Regression, Supervised Machine Learning
   • Linear Regression | Supervised Machine Lea...  


18 Interiew Questions on Machine Learning and Data Science
   • Interview Question for Machine Learning, D...  

19. Jupyter Notebook Operations
   • Jupyter and Spyder Notebook Operations in ...  


Sur cette page du site, vous pouvez voir la vidéo en ligne Statistics with Python | Machine Learning | Probability Mass Function with Python - P8 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur technologyCult 23 mai 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 694 fois et il a aimé 10 téléspectateurs. Bon visionnage!