×

To install this app on your iPhone, tap Share 🔗 then Add to Home Screen.

Mean, Median, and Mode

0
195

In Machine Learning there are often three values that interests us and that are: Mean, Median and Mode.

Example: We have registered the speed of 13 cars:

speed = [99,86,87,88,111,86,103,87,94,78,77,85,86]

Mean

The mean value is the average value.

To calculate the mean, find the sum of all values, and divide the sum by the number of values:

(99+86+87+88+111+86+103+87+94+78+77+85+86) / 13 = 89.77

Median

The median value is the value in the middle, after you have sorted all the values:

77, 78, 85, 86, 86, 86, 87, 88, 94, 99, 103, 111

If there are two numbers in the middle, divide the sum of those numbers by two.

77, 78, 85, 86, 86, 86, 87, 87, 94, 98, 99, 103

(86 + 87) / 2 = 86.5

Mode

The Mode value is the value that appears the most number of times:

99, 86, 87, 88, 111, 86, 103, 87, 94, 78, 77, 85, 86 = 86

Cerca
Categorie
Leggi tutto
Altre informazioni
Edible Cosmetics Market Witnesses Significant Growth as Beauty and Nutrition Converge
"Executive Summary Edible Cosmetics Market : Global edible cosmetics market size was...
By Rahul Rangwa 2025-06-19 04:39:52 0
Altre informazioni
Apps Like EarnIn: Build Your Own
A reliable software development company provides complete solutions for creating powerful...
By Steve Jonas 2025-06-12 11:42:14 0
Altre informazioni
PEM燃料電池ガス拡散層市場調査レポート:主要企業、競合分析、成長動向2025-2031
PEM燃料電池ガス拡散層世界総市場規模...
By Moni Ka 2025-05-19 10:08:15 0
Altre informazioni
Plumber Varsity Lakes
Trusted Plumber in Varsity Lakes | Fast, Reliable & Affordable Plumbing Services Looking for...
By Technology Welldone 2025-06-19 05:42:01 0
Altre informazioni
Senegal New Commercial Vehicle Market on Track for Considerable CAGR Growth | Demand & Technological Trends
MarkNtel Advisors recently published a detailed industry analysis of the Senegal New...
By Jack Daniel 2025-06-04 12:02:59 0