public class Permutation.Uniform.M extends Permutation.M
Mdl
should be sufficient for most purposes, but
here is the class of "fully parameterised" Uniform Models of
Permutations. The class of UnParameterised Uniform Models
is Permutation.Uniform
.Model.Defaults, Model.Transform
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Constructor and Description |
---|
M(double msg1,
double msg2,
Value sp)
Requires msg1=0 and sp=triv (trivial "statistical"
parameters); also see
Mdl . |
Modifier and Type | Method and Description |
---|---|
double |
nlLH(Value ss)
The negative log likelhood of Permutations data-set 'ds'
where ss=
stats(ds) . |
double |
nlPr(Value p)
The negative log probability of Permutation p,
that is log N!
|
void |
random(int[] p)
Fill array p[] with a Uniform random Permutation of
N -1} |
random
asEstimator, asUPModel, m1m2sp, msg, msg1, msg1bits, msg2, msg2bits, msgBits, nl2LH, nl2Pr, pr, random, randomSeries, statParams, stats, stats, sumNlPr, transform, type, zeroTriv
public double nlPr(Value p)
public double nlLH(Value ss)
stats(ds)
.public void random(int[] p)
N
-1}random
in class Permutation.M