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

Method getSumOfWeights

JSAT/src/jsat/math/OnLineStatistics.java:326–329  ·  view source on GitHub ↗

Returns the sum of the weights for all data points added to the statistics. If all weights were 1, then this value is the number of data points added. @return the sum of weights for every point currently contained in the statistics.

()

Source from the content-addressed store, hash-verified

324 * statistics.
325 */
326 public double getSumOfWeights()
327 {
328 return n;
329 }
330
331 public double getMean()
332 {

Callers 6

runMethod · 0.95
addSampleMethod · 0.95
compressMethod · 0.95
driftHandledMethod · 0.95
getOnlineColumnStatsMethod · 0.45

Calls

no outgoing calls