jBNC Toolbox

jbnc.operators
Class ClassDepend

java.lang.Object
  extended by jbnc.operators.Operator
      extended by jbnc.operators.ClassDepend

public final class ClassDepend
extends Operator

Constructs a selective naive Bayes classifier.

Since:
June 1, 1999
Author:
Jarek Sacha

Field Summary
 
Fields inherited from class jbnc.operators.Operator
debugMode
 
Constructor Summary
ClassDepend()
           
 
Method Summary
static BayesianNetworks.BayesNet create(Graph graphStruct, java.util.Collection gamma, AttributeSpecs[] names)
           
protected static Graph invertEdges(Graph graph)
          Create a new graph with edges invereted in relation to the argument grapg.
 
Methods inherited from class jbnc.operators.Operator
getDebugMode, setDebugMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDepend

public ClassDepend()
Method Detail

create

public static BayesianNetworks.BayesNet create(Graph graphStruct,
                                               java.util.Collection gamma,
                                               AttributeSpecs[] names)
                                        throws java.lang.Exception
Parameters:
graphStruct -
gamma -
names -
Returns:
Bayesian network created from the graph.
Throws:
java.lang.Exception

invertEdges

protected static Graph invertEdges(Graph graph)
                            throws java.lang.Exception
Create a new graph with edges invereted in relation to the argument grapg.

Parameters:
graph -
Returns:
new graph with inverted edges.
Throws:
java.lang.Exception

SourceForge.net Logo