public static class Keanu.Optimizer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Keanu.Optimizer.Gradient |
class |
Keanu.Optimizer.NonGradient |
Constructor and Description |
---|
Optimizer() |
Modifier and Type | Method and Description |
---|---|
Optimizer |
of(BayesianNetwork network)
Creates an
Optimizer which provides methods for optimizing the values of latent variables
of the Bayesian network to maximise probability. |
Optimizer |
of(java.util.Collection<? extends Vertex> vertices)
Creates a Bayesian network from the given vertices and uses this to
create an
Optimizer . |
Optimizer |
ofConnectedGraph(Vertex<?,?> vertexFromNetwork)
Creates a Bayesian network from the graph connected to the given vertex and uses this to
create an
Optimizer . |
public Optimizer of(java.util.Collection<? extends Vertex> vertices)
Optimizer
. This provides methods for optimizing the values of latent variables
of the Bayesian network to maximise probability.vertices
- The vertices to create a Bayesian network from.Optimizer
public Optimizer of(BayesianNetwork network)
Optimizer
which provides methods for optimizing the values of latent variables
of the Bayesian network to maximise probability.network
- The Bayesian network to run optimization on.Optimizer
public Optimizer ofConnectedGraph(Vertex<?,?> vertexFromNetwork)
Optimizer
. This provides methods for optimizing the values of latent variables
of the Bayesian network to maximise probability.vertexFromNetwork
- A vertex in the graph to create the Bayesian network from.Optimizer