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

Veröffentlicht am: 22 Januar 2018
auf dem Kanal: technologyCult
2,521
34

Statistics with Python | Machine Learning | Probability Mass Function with Python - P7
#statistics #probabilitymassfunction #pmf #technologycult

Topic to be covered - Probability Mass Function (pmf)

Code Starts Heere
===================
import pandas as pd
import matplotlib.pyplot as plt

list1 = [1,1,6,3,2,3,4,2,3,5,5,6,5,5,5,5,5,2,2,3,3,5,2,2,5,6,2,2,2,3,6,6,2,4,3,2,3]

df = pd.DataFrame(list1)

df1 = df[0].value_counts()

sum1 = len(df)

df2 = pd.DataFrame(df1)

df2 = df2.rename(columns={0:'item_counts'})

df2['item'] = df2.index

df2['probability'] = df2['item_counts']/sum1

plt.bar(df2['item'],df2['probability'],color='r')
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
   • Interview Question for Machine Learning, D...  

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


Auf dieser Seite können Sie das Online-Video Statistics with Python | Machine Learning | Probability Mass Function with Python - P7 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer technologyCult 22 Januar 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,521 Mal angesehen und es wurde von 34 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!