|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetkit.graph.edgecreator.EdgeCreatorImp
netkit.graph.edgecreator.BayesCategoricalEdgeCreator
public class BayesCategoricalEdgeCreator
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class netkit.graph.edgecreator.EdgeCreatorImp |
|---|
EdgeCreatorImp.NbrEntry |
| Field Summary |
|---|
| Fields inherited from class netkit.graph.edgecreator.EdgeCreatorImp |
|---|
attrib, attributeIndex, attributeValue, edges, edgetype, gm, graph, logger, maxEdges, nodeType, split, trainAssortativity, trueAssortativity |
| Constructor Summary | |
|---|---|
BayesCategoricalEdgeCreator()
|
|
| Method Summary | |
|---|---|
void |
buildModel(DataSplit split)
Build a model of edge creation based on the data split. |
boolean |
canHandle(Attribute attribute)
Queries the edge creator if it can handle (i.e., create edges for) the given attribute. |
java.lang.String |
getName()
The name of this edge-creator |
double |
getWeight(Node src,
Node dest)
Calculate the edgeweight from node src to node dest. |
| Methods inherited from class netkit.graph.edgecreator.EdgeCreatorImp |
|---|
addCliqueToAssortMatrix, buildEdges, canHandleAttributeValue, createEdges, getAssortativity, getAssortativityMatrix, getAttributeIndex, getAttributeValue, getEdgesToNearestNeighbors, getEdgeType, getLabeledNodes, getMaxEdges, initialize, isByAttribute, isByAttributeValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BayesCategoricalEdgeCreator()
| Method Detail |
|---|
public java.lang.String getName()
EdgeCreator
public boolean canHandle(Attribute attribute)
EdgeCreator
public double getWeight(Node src,
Node dest)
EdgeCreatorinitialize has already been called, so that the creator
knows the graph, the class attribute index and the attribute index
src - The source nodedest - The destination node
public void buildModel(DataSplit split)
EdgeCreator
buildModel in interface EdgeCreatorbuildModel in class EdgeCreatorImp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||