All Downloads are FREE. Search and download functionalities are using the official Maven repository.

breeze.stats.distributions.ExponentialFamily.scala Maven / Gradle / Ivy

There is a newer version: 1.0
Show newest version
package breeze
package stats
package distributions

import optimize.DiffFunction

/**
 * 
 * @author dlwh
 */

trait ExponentialFamily[D,T]  {
  type Parameter;
  type SufficientStatistic <: distributions.SufficientStatistic[SufficientStatistic];
  def emptySufficientStatistic:SufficientStatistic;
  def sufficientStatisticFor(t: T):SufficientStatistic;
  def mle(stats: SufficientStatistic):Parameter
  def likelihoodFunction(stats: SufficientStatistic):DiffFunction[Parameter]
  def distribution(p: Parameter):D;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy