public static class Graphs.GERadaptive extends Graphs.IndependentEdges
Graphs.IndependentEdges
Model where
upmE()
is Adaptive
over [0, 1].
Therefore, every possible Edge in a Graph has the same
probability of existing, but that probability is expected to
change from Graph to Graph, even in the one data-set.
The fully parameterised model is Graphs.GERadaptive.M
.
Also see Graphs.GERfixed
.Modifier and Type | Class and Description |
---|---|
class |
Graphs.GERadaptive.M
The fully parameterised Gilbert, Erdos-Renyi Adaptive
Model of Graphs.
|
Graphs.GERadaptive, Graphs.GERfixed, Graphs.IndependentEdges, Graphs.Motifs, Graphs.Skewed
UPModel.Est, UPModel.Transform
Function.Native.WithInverse
Function.Cts2Cts, Function.Cts2Cts2Cts, Function.CtsD2CtsD, Function.HasInverse, Function.Native, Function.Native2, Function.Native3
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
upmE
Constructor and Description |
---|
GERadaptive(Value dp)
|
Modifier and Type | Method and Description |
---|---|
Discretes.Bounded.M |
ds2mdlE(Value ps,
Vector ds)
Estimate a Discretes.Bounded.M, of Edge existence
(0/1, false/true) from 'ds', a data-set of Graphs.
|
UPModel.Est |
estimator(Value ps)
Graphs.IndependentEdges.estimator(la.la.Value) (pair(ps,triv)),
the triv for Adaptive's estimator. |
Graphs.GERadaptive.M |
sp2Model(double msg1,
double msg2,
Value sp)
Given two-part message lengths msg1 & msg2, and statistical
parameter sp, return a fully parameterised
M-Model . |
upmE
public GERadaptive(Value dp)
public Discretes.Bounded.M ds2mdlE(Value ps, Vector ds)
Graphs.IndependentEdges
upmE
's
estimator(ps)
. Also see Graphs.IndependentEdges.M.mdlE()
.ds2mdlE
in class Graphs.IndependentEdges
public UPModel.Est estimator(Value ps)
Graphs.IndependentEdges.estimator(la.la.Value)
(pair(ps,triv)),
the triv for Adaptive's estimator.estimator
in class Graphs.IndependentEdges
public Graphs.GERadaptive.M sp2Model(double msg1, double msg2, Value sp)
UPModel
M-Model
.
If 'this' UPModel produces a Model m, then
sp2Model(m.msg1(), m.msg2(), m.statParams())
must be equivalent to m. Also see apply(sp)
.sp2Model
in class Graphs.IndependentEdges