Package | Description |
---|---|
weka.associations | |
weka.classifiers.rules | |
weka.core | |
weka.core.pmml | |
weka.gui.arffviewer | |
weka.gui.beans | |
weka.gui.visualize.plugins |
Modifier and Type | Method and Description |
---|---|
Attribute |
FPGrowth.BinaryItem.getAttribute()
Get the attribute that this item corresponds to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FPGrowth.AssociationRule.containsItems(ArrayList<Attribute> items,
boolean useOr) |
static List<FPGrowth.AssociationRule> |
FPGrowth.AssociationRule.pruneRules(List<FPGrowth.AssociationRule> rulesToPrune,
ArrayList<Attribute> itemsToConsider,
boolean useOr) |
Constructor and Description |
---|
BinaryItem(Attribute att,
int valueIndex) |
Modifier and Type | Method and Description |
---|---|
Attribute |
JRip.Antd.getAttr() |
Modifier and Type | Method and Description |
---|---|
weka.classifiers.rules.OneR.OneRRule |
OneR.newNominalRule(Attribute attr,
Instances data,
int[] missingValueCounts)
Create a rule branching on this nominal attribute.
|
weka.classifiers.rules.OneR.OneRRule |
OneR.newNumericRule(Attribute attr,
Instances data,
int[] missingValueCounts)
Create a rule branching on this numeric attribute
|
weka.classifiers.rules.OneR.OneRRule |
OneR.newRule(Attribute attr,
Instances data)
Create a rule branching on this attribute.
|
String |
JRip.RipperRule.toString(Attribute classAttr)
Prints this rule
|
Constructor and Description |
---|
Antd(Attribute a)
Constructor
|
NominalAntd(Attribute a)
Constructor
|
NumericAntd(Attribute a)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Attribute |
Instance.attribute(int index)
Returns the attribute with the given index.
|
Attribute |
Instances.attribute(int index)
Returns an attribute.
|
Attribute |
Instances.attribute(String name)
Returns an attribute given its name.
|
Attribute |
SparseInstance.attributeSparse(int indexOfIndex)
Returns the attribute associated with the internal index.
|
Attribute |
Instance.attributeSparse(int indexOfIndex)
Returns the attribute with the given index.
|
Attribute |
Instance.classAttribute()
Returns class attribute.
|
Attribute |
Instances.classAttribute()
Returns the class attribute.
|
Attribute |
Attribute.copy(String newName)
Produces a shallow copy of this attribute with a new name.
|
Modifier and Type | Method and Description |
---|---|
int |
Attribute.addStringValue(Attribute src,
int index)
Adds a string value to the list of valid strings for attributes
of type STRING and returns the index of the string.
|
void |
Instances.deleteWithMissing(Attribute att)
Removes all instances with missing values for a particular attribute from
the dataset.
|
void |
Instances.insertAttributeAt(Attribute att,
int position)
Inserts an attribute at the given position (0 to numAttributes()) and sets
all values to be missing.
|
boolean |
Instance.isMissing(Attribute att)
Tests if a specific value is "missing".
|
double |
Instances.kthSmallestValue(Attribute att,
int k)
Returns the kth-smallest attribute value of a numeric attribute.
|
double |
Instances.meanOrMode(Attribute att)
Returns the mean (mode) for a numeric (nominal) attribute as a
floating-point value.
|
int |
Instances.numDistinctValues(Attribute att)
Returns the number of distinct values of a given attribute.
|
Instances |
Instance.relationalValue(Attribute att)
Returns the relational value of a relational attribute.
|
void |
Instances.renameAttribute(Attribute att,
String name)
Renames an attribute.
|
void |
Instances.renameAttributeValue(Attribute att,
String val,
String name)
Renames the value of a nominal (or string) attribute value.
|
void |
Instances.setClass(Attribute att)
Sets the class attribute.
|
void |
Instance.setMissing(Attribute att)
Sets a specific value to be "missing".
|
void |
Instance.setValue(Attribute att,
double value)
Sets a specific value in the instance to the given value
(internal floating-point format).
|
void |
Instance.setValue(Attribute att,
String value)
Sets a value of an nominal or string attribute to the given
value.
|
void |
Instances.sort(Attribute att)
Sorts the instances based on an attribute.
|
String |
Instance.stringValue(Attribute att)
Returns the value of a nominal, string, date, or relational attribute
for the instance as a string.
|
boolean |
Capabilities.test(Attribute att)
Test the given attribute, whether it can be processed by the handler,
given its capabilities.
|
boolean |
Capabilities.test(Attribute att,
boolean isClass)
Test the given attribute, whether it can be processed by the handler,
given its capabilities.
|
void |
Capabilities.testWithFail(Attribute att)
tests the given attribute by calling the test(Attribute,boolean) method
and throws an exception if the test fails.
|
void |
Capabilities.testWithFail(Attribute att,
boolean isClass)
tests the given attribute by calling the test(Attribute,boolean) method
and throws an exception if the test fails.
|
String |
Instance.toString(Attribute att)
Returns the description of one value of the instance as a
string.
|
double |
Instance.value(Attribute att)
Returns an instance's attribute value in internal format.
|
double |
Instances.variance(Attribute att)
Computes the variance for a numeric attribute.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
DerivedFieldMetaInfo.getFieldAsAttribute()
Get this derived field as an Attribute.
|
Attribute |
TargetMetaInfo.getFieldAsAttribute()
Return this field as an Attribute.
|
abstract Attribute |
FieldMetaInfo.getFieldAsAttribute()
Return this field as an Attribute.
|
Attribute |
MiningFieldMetaInfo.getFieldAsAttribute()
Return this mining field as an Attribute.
|
Attribute |
Expression.getFieldDef(String attName)
Return the named attribute from the list of reference fields.
|
Attribute |
BuiltInArithmetic.getOutputDef()
Get the structure of the result produced by this function.
|
Attribute |
FieldRef.getOutputDef()
Return the structure of the result of applying this Expression
as an Attribute.
|
Attribute |
BuiltInString.getOutputDef()
Get the structure of the result produced by this function.
|
Attribute |
BuiltInMath.getOutputDef()
Get the structure of the result produced by this function.
|
abstract Attribute |
Function.getOutputDef()
Get the structure of the result produced by this function.
|
Attribute |
DefineFunction.getOutputDef()
Get the structure of the result produced by this function.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
Expression.getExpression(Node container,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs,
weka.core.pmml.TransformationDictionary transDict)
Static factory method that returns a subclass of Expression that
encapsulates the type of expression contained in the Element
supplied.
|
static Expression |
Expression.getExpression(String name,
Node expression,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs,
weka.core.pmml.TransformationDictionary transDict)
Static factory method that returns a subclass of Expression that
encapsulates the type of expression supplied as an argument.
|
void |
DerivedFieldMetaInfo.setFieldDefs(ArrayList<Attribute> fieldDefs)
Upadate the field definitions for this derived field
|
void |
NormDiscrete.setFieldDefs(ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use
|
void |
FieldRef.setFieldDefs(ArrayList<Attribute> fieldDefs) |
void |
Expression.setFieldDefs(ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use
|
void |
Discretize.setFieldDefs(ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use
|
void |
NormContinuous.setFieldDefs(ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use
|
void |
BuiltInArithmetic.setParameterDefs(ArrayList<Attribute> paramDefs)
Set the structure of the parameters that are expected as input by
this function.
|
void |
BuiltInString.setParameterDefs(ArrayList<Attribute> paramDefs)
Set the structure of the parameters that are expected as input by
this function.
|
void |
BuiltInMath.setParameterDefs(ArrayList<Attribute> paramDefs)
Set the structure of the parameters that are expected as input by
this function.
|
abstract void |
Function.setParameterDefs(ArrayList<Attribute> paramDefs)
Set the structure of the parameters that are expected as input by
this function.
|
void |
DefineFunction.setParameterDefs(ArrayList<Attribute> paramDefs)
Set the structure of the parameters that are expected as input by
this function.
|
Constructor and Description |
---|
Constant(Element constant,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs)
Construct an new Constant Expression.
|
DerivedFieldMetaInfo(Element derivedField,
ArrayList<Attribute> fieldDefs,
weka.core.pmml.TransformationDictionary transDict) |
Discretize(Element discretize,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs)
Constructs a Discretize Expression
|
Expression(FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs) |
FieldRef(Element fieldRef,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs) |
NormContinuous(Element normCont,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs) |
NormDiscrete(Element normDisc,
FieldMetaInfo.Optype opType,
ArrayList<Attribute> fieldDefs)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
ArffSortedTableModel.getAttributeAt(int columnIndex)
returns the attribute at the given index, can be NULL if not an attribute
column
|
Attribute |
ArffTableModel.getAttributeAt(int columnIndex)
returns the attribute at the given index, can be NULL if not an attribute
column
|
Modifier and Type | Method and Description |
---|---|
Attribute |
ThresholdDataEvent.getClassAttribute()
Return the class attribute for which the threshold data was generated
for.
|
Modifier and Type | Method and Description |
---|---|
void |
CostBenefitAnalysis.setCurveData(PlotData2D curveData,
Attribute origClassAtt)
Set the threshold curve data to use.
|
Constructor and Description |
---|
ThresholdDataEvent(Object source,
PlotData2D dataSet,
Attribute classAtt) |
Modifier and Type | Method and Description |
---|---|
JMenuItem |
VisualizePlugin.getVisualizeMenuItem(FastVector preds,
Attribute classAtt)
Get a JMenu or JMenuItem which contain action listeners
that perform the visualization, using some but not
necessarily all of the data.
|
Copyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.