Variance + Standard Deviation
Transcript Variance + Standard Deviation
Luka Petrović 69/2012
• The Standard Deviation is a
measure of how spread out numbers are.
• Its symbol is σ (the greek letter sigma)
• The formula is easy:
it is the square root of the Variance.
So now you ask,
"What is the Variance?"
• The Variance is
average of the squared differences from the Mean.
• 3 simple steps to calculate the Variance:
Mean (the simple average of the numbers)
Then for each number:
subtract the Mean and square the result
Then work out the average of (2)
we will root this value to get Standard Deviation!
• You and your friends have just measured
the heights of your dogs (in millimeters):
• The heights (at the shoulders) are: 600mm, 470mm, 170mm,
430mm and 300mm.
• The mean (average) height is 394 mm.
• Now we calculate each dog's difference from the Mean:
• Then square them:
• And the Standard Deviation is
just the square root of Variance:
• Standard Deviation:
σ = √21,704 = 147.32...
= 147 (to the nearest mm)
• Now, we will do this using Maxeler…
• Kernel code
• Final graph
• Correct execution!
• Data: Random float values in range 0-100
• Running on MaxCompilerVM-2015,
MaxIDE (Eclipse for Maxeler)
• Milutinovic, V., et al,
Guide to DataFlow SuperComputing,
• Milutinovic, V., editor,
Advances in Computers: DataFlow,
• Milutinovic, V. et al,
Paradigm Shift in SuperComputing: DataFlow vs ControlFlow,
Journal of Big Data, 2015
• Maxeler is fun and we hope we will get more of these:
2. Development tools
3. Community help