Machine LearningLesson 70Free preview
Mean Median Mode
This lesson is part of Python · All levels
Summary
Mean, median, and fashion are the three most basic measures of central trend in descriptive statistics. Mean is the mean, median is the mean after the data is sorted, and mode is the most frequently occurring value. Python provides statistics modules for calculating it in addition to similar functions in NumPy. Understanding all three helps to recognize the basic characteristics of data distribution before further analysis.
Key points
- The mean is the sum of all the values divided by the data volume
- The median is the mean of the data that's already sorted.
- Mode is the value with the highest frequency of occurrence
- The statistics module provides mean(), median(), and mode()
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.