net.sf.bddbddb.order
Class WekaInterface

java.lang.Object
  extended by net.sf.bddbddb.order.WekaInterface

public abstract class WekaInterface
extends java.lang.Object

WekaInterface

Version:
$Id: WekaInterface.java 531 2005-04-29 06:39:10Z joewhaley $
Author:
jwhaley

Nested Class Summary
static class WekaInterface.OrderAttribute
           
static class WekaInterface.OrderInstance
           
 
Field Summary
static int INTERLEAVE
           
 
Constructor Summary
WekaInterface()
           
 
Method Summary
static void addAllPairs(weka.core.FastVector v, java.util.Collection c)
           
static TrialInstances binarize(double classValue, TrialInstances data)
           
static weka.classifiers.Classifier buildClassifier(java.lang.String cClassName, weka.core.Instances data)
           
static weka.core.FastVector constructAttribAttributes(InferenceRule ir, java.util.Collection vars)
           
static weka.core.FastVector constructDomainAttributes(InferenceRule ir, java.util.Collection vars)
           
static weka.core.FastVector constructVarAttributes(java.util.Collection vars)
           
static double cvError(int numFolds, weka.core.Instances data0, java.lang.String cClassName)
           
static java.util.Collection generateAllPairs(java.util.Collection c)
           
static int getType(OrderConstraint oc)
           
static double leaveOneOutCV(weka.core.Instances data, java.lang.String cClassName)
           
static weka.core.Attribute makeBucketAttribute(int numClusters)
           
static WekaInterface.OrderAttribute makeOrderAttribute(java.lang.Object a, java.lang.Object b)
           
static WekaInterface.OrderAttribute makeOrderAttribute(OrderConstraint c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERLEAVE

public static int INTERLEAVE
Constructor Detail

WekaInterface

public WekaInterface()
Method Detail

makeOrderAttribute

public static WekaInterface.OrderAttribute makeOrderAttribute(OrderConstraint c)

makeOrderAttribute

public static WekaInterface.OrderAttribute makeOrderAttribute(java.lang.Object a,
                                                              java.lang.Object b)

getType

public static int getType(OrderConstraint oc)

addAllPairs

public static void addAllPairs(weka.core.FastVector v,
                               java.util.Collection c)

generateAllPairs

public static java.util.Collection generateAllPairs(java.util.Collection c)

constructVarAttributes

public static weka.core.FastVector constructVarAttributes(java.util.Collection vars)

constructAttribAttributes

public static weka.core.FastVector constructAttribAttributes(InferenceRule ir,
                                                             java.util.Collection vars)

constructDomainAttributes

public static weka.core.FastVector constructDomainAttributes(InferenceRule ir,
                                                             java.util.Collection vars)

makeBucketAttribute

public static weka.core.Attribute makeBucketAttribute(int numClusters)

buildClassifier

public static weka.classifiers.Classifier buildClassifier(java.lang.String cClassName,
                                                          weka.core.Instances data)

leaveOneOutCV

public static double leaveOneOutCV(weka.core.Instances data,
                                   java.lang.String cClassName)

cvError

public static double cvError(int numFolds,
                             weka.core.Instances data0,
                             java.lang.String cClassName)

binarize

public static TrialInstances binarize(double classValue,
                                      TrialInstances data)


Copyright © 2004-2008 Stanford SUIF Compiler Group. All Rights Reserved.