MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / mean

Method mean

JSAT/src/jsat/linear/Vec.java:507–510  ·  view source on GitHub ↗

Computes the mean value of all values stored in this vector @return the mean value

()

Source from the content-addressed store, hash-verified

505 * @return the mean value
506 */
507 public double mean()
508 {
509 return sum()/length();
510 }
511
512 /**
513 * Computes the standard deviation of the values in this vector

Callers 15

testSampleAndStatsMethod · 0.95
testSampleMethod · 0.95
testSampleMethod · 0.95
testSampleMethod · 0.95
varianceMethod · 0.95
skewnessMethod · 0.95
kurtosisMethod · 0.95
regressEvalLinearMethod · 0.45
testMeanMethod · 0.45

Calls 2

sumMethod · 0.95
lengthMethod · 0.95