SufficientStatistic

final case class SufficientStatistic(n: Double, mean: Double, M2: Double) extends SufficientStatistic[SufficientStatistic]
Value Params
M2

running variance * n

mean

running mean

n

running total of examples

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def *(weight: Double): SufficientStatistic
def variance: Double

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product