Package | Description |
---|---|
de.jstacs.algorithms.graphs |
Provides classes for algorithms on graphs.
|
de.jstacs.algorithms.graphs.tensor |
Provides classes to represent symmetric and asymmetric tensors in graphs.
|
de.jstacs.sequenceScores.statisticalModels.differentiable.directedGraphicalModels.structureLearning.measures |
Provides the facilities to learn the structure of a
BayesianNetworkDiffSM . |
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous |
This package contains various inhomogeneous models.
|
Modifier and Type | Method and Description |
---|---|
static int[] |
DAG.computeMaximalHP(Tensor score)
The method computes the HP(k) (see
DAG ). |
static int[][] |
DAG.computeMaximalKDAG(Tensor score)
Computes the maximal k-DAG (see
DAG ), i.e. |
static int[] |
DAG.enumerateHP(Tensor score)
The method computes the HP(k) (see
DAG ). |
static double |
DAG.getScore(Tensor t,
int[][] structure)
Returns the score for any graph.
|
static double |
DAG.getScoreForPath(Tensor score,
int l,
byte k,
int[] path)
Returns the score for a given path
path using the first
l nodes and dependencies of order k . |
static int[][] |
DAG.getStructureFromPath(int[] path,
Tensor score)
Extracts the structure from a given path
path and
score-"function". |
static String |
DAG.toWeightedGraphvizFormat(int[][] structure,
String arrow,
Tensor t)
This method returns a
String representation of the weighted
structure that can be used in Graphviz to create an image. |
Modifier and Type | Class and Description |
---|---|
class |
AsymmetricTensor
This class can be used for
Tensor s which are not symmetric, as
opposed to the symmetry defined in SymmetricTensor . |
class |
SubTensor
This Tensor can be used to extract or use only a part of a complete
Tensor . |
class |
SymmetricTensor
This class can be used for
Tensor s with a special symmetry property. |
Modifier and Type | Method and Description |
---|---|
static Tensor |
Tensor.readTensorFromFile(String fname,
boolean asym)
The opposite of the method
writeTensorToFile(String, OutputStream) . |
Constructor and Description |
---|
SubTensor(Tensor t,
int offset,
int length)
|
Modifier and Type | Method and Description |
---|---|
protected static void |
Measure.fillTensor(Tensor t,
double[][] weights)
|
protected static void |
Measure.fillTensor(Tensor t,
double[][][] weights)
|
Modifier and Type | Method and Description |
---|---|
static int[][] |
StructureLearner.getStructure(Tensor t,
StructureLearner.ModelType model,
byte order)
This method can be used to determine the optimal structure of a model.
|