Modifier and Type | Field and Description |
---|---|
protected Attribute |
FPGrowth.BinaryItem.m_attribute
The attribute that the item corresponds to
|
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 | Field and Description |
---|---|
protected Attribute |
SMO.m_classAttribute
The class attribute
|
Modifier and Type | Method and Description |
---|---|
protected void |
IsotonicRegression.regress(Attribute attribute,
Instances insts,
boolean ascending)
Does the actual regression.
|
Modifier and Type | Field and Description |
---|---|
protected Attribute |
LogitBoost.m_ClassAttribute
The actual class attribute (for getting class names)
|
protected Attribute |
RacedIncrementalLogitBoost.m_ClassAttribute
The actual class attribute (for getting class names)
|
Modifier and Type | Field and Description |
---|---|
protected Attribute |
MISMO.m_classAttribute
The class attribute
|
Modifier and Type | Field and Description |
---|---|
protected Attribute |
JRip.Antd.att
The attribute of the antecedent
|
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 | Field and Description |
---|---|
protected Attribute |
SimpleCart.m_Attribute
Attribute used to split data.
|
protected Attribute |
BFTree.m_Attribute
Attribute used for splitting.
|
protected Attribute |
SimpleCart.m_ClassAttribute
Class attriubte of data.
|
protected Attribute |
BFTree.m_ClassAttribute
Class attribute of a dataset.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BFTree.makeSuccessors(FastVector BestFirstElements,
Instances data,
int[][][] subsetSortedIndices,
double[][][] subsetWeights,
double[][][] dists,
Attribute att,
boolean useHeuristic,
boolean useGini)
Generate successor nodes for a node and put them into BestFirstElements
according to gini gain or information gain in a descending order.
|
protected String |
SimpleCart.nominalDistribution(double[][] props,
double[][][] dists,
Attribute att,
int[] sortedIndices,
double[] weights,
double[][] subsetWeights,
double[] giniGains,
Instances data,
boolean useHeuristic)
Compute distributions, proportions and total weights of two successor
nodes for a given nominal attribute.
|
protected String |
BFTree.nominalDistribution(double[][] props,
double[][][] dists,
Attribute att,
int[] sortedIndices,
double[] weights,
double[][] subsetWeights,
double[] gains,
Instances data,
boolean useHeuristic,
boolean useGini)
Compute distributions, proportions and total weights of two successor
nodes for a given nominal attribute.
|
protected double |
SimpleCart.numericDistribution(double[][] props,
double[][][] dists,
Attribute att,
int[] sortedIndices,
double[] weights,
double[][] subsetWeights,
double[] giniGains,
Instances data)
Compute distributions, proportions and total weights of two successor
nodes for a given numeric attribute.
|
protected double |
BFTree.numericDistribution(double[][] props,
double[][][] dists,
Attribute att,
int[] sortedIndices,
double[] weights,
double[][] subsetWeights,
double[] gains,
Instances data,
boolean useGini)
Compute distributions, proportions and total weights of two successor nodes for
a given numeric attribute.
|
protected void |
SimpleCart.splitData(int[][][] subsetIndices,
double[][][] subsetWeights,
Attribute att,
double splitPoint,
String splitStr,
int[][] sortedIndices,
double[][] weights,
Instances data)
Split data into two subsets and store sorted indices and weights for two
successor nodes.
|
protected void |
BFTree.splitData(int[][][] subsetIndices,
double[][][] subsetWeights,
Attribute att,
double splitPoint,
String splitStr,
int[][] sortedIndices,
double[][] weights,
Instances data)
Split data into two subsets and store sorted indices and weights for two
successor nodes.
|
Modifier and Type | Field and Description |
---|---|
protected Attribute |
ResidualSplit.m_attribute
The attribute selected for the split
|
Modifier and Type | Method and Description |
---|---|
Attribute |
Instances.attribute(int index)
Returns an attribute.
|
Attribute |
Instance.attribute(int index)
Returns the attribute with the given index.
|
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 |
Instances.classAttribute()
Returns the class attribute.
|
Attribute |
Instance.classAttribute()
Returns class attribute.
|
Attribute |
Attribute.copy(String newName)
Produces a shallow copy of this attribute with a new name.
|
protected Attribute |
TestInstances.generateAttribute(int index,
int attType,
String namePrefix)
creates a new Attribute of the given type
|
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 |
---|---|
protected Attribute |
SVMLightLoader.determineClassAttribute()
Determines the class attribute, either a binary +1/-1 or numeric attribute.
|
Modifier and Type | Field and Description |
---|---|
protected Attribute |
NormDiscrete.m_field
The actual attribute itself
|
protected Attribute |
Discretize.m_outputDef
The output structure of this discretization
|
protected Attribute |
BuiltInString.m_outputDef
The output structure produced by this function
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Attribute> |
Expression.m_fieldDefs
The field defs
|
protected ArrayList<Attribute> |
Function.m_parameterDefs
The structure of the parameters to this function
|
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.
|
Attribute |
MiningFieldMetaInfo.getFieldAsAttribute()
Return this mining field as an Attribute.
|
abstract Attribute |
FieldMetaInfo.getFieldAsAttribute()
Return this field as an Attribute.
|
Attribute |
DefineFunction.ParameterField.getFieldAsAttribute() |
Attribute |
Expression.getFieldDef(String attName)
Return the named attribute from the list of reference fields.
|
abstract Attribute |
Function.getOutputDef()
Get the structure of the result produced by this function.
|
protected Attribute |
Discretize.getOutputDef()
Return the structure of the result of applying this Expression
as an Attribute.
|
protected abstract Attribute |
Expression.getOutputDef()
Return the structure of the result of applying this Expression
as an Attribute.
|
Attribute |
BuiltInMath.getOutputDef()
Get the structure of the result produced by this function.
|
Attribute |
BuiltInArithmetic.getOutputDef()
Get the structure of the result produced by this function.
|
Attribute |
DefineFunction.getOutputDef()
Get the structure of the result produced by this function.
|
Attribute |
BuiltInString.getOutputDef()
Get the structure of the result produced by this function.
|
protected Attribute |
Constant.getOutputDef()
Return the structure of the result of applying this Expression
as an Attribute.
|
protected Attribute |
NormContinuous.getOutputDef()
Return the structure of the result of applying this Expression
as an Attribute.
|
protected Attribute |
NormDiscrete.getOutputDef()
Return the structure of the result of applying this Expression
as an Attribute.
|
Attribute |
FieldRef.getOutputDef()
Return the structure of the result of applying this Expression
as an Attribute.
|
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 |
Discretize.setFieldDefs(ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use
|
void |
Expression.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 |
NormDiscrete.setFieldDefs(ArrayList<Attribute> fieldDefs)
Set the field definitions for this Expression to use
|
void |
FieldRef.setFieldDefs(ArrayList<Attribute> fieldDefs) |
abstract void |
Function.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.
|
void |
BuiltInArithmetic.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.
|
void |
BuiltInString.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 |
---|---|
protected Attribute |
XMLInstances.createAttribute(Element node)
creates an Attribute from the given XML node
|
Modifier and Type | Method and Description |
---|---|
protected void |
XMLInstances.addAttribute(Element parent,
Attribute att)
adds the attribute to the XML structure
|
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 | Field and Description |
---|---|
protected Attribute |
CostBenefitAnalysis.AnalysisPanel.m_classAttribute
The class attribute from the data that was used to generate
the threshold curve
|
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.
|
void |
CostBenefitAnalysis.AnalysisPanel.setDataSet(PlotData2D data,
Attribute classAtt)
Set the threshold data for the panel to use.
|
Constructor and Description |
---|
ThresholdDataEvent(Object source,
PlotData2D dataSet,
Attribute classAtt) |
Modifier and Type | Field and Description |
---|---|
protected Attribute |
AttributePanel.AttributeSpacing.m_attrib
The attribute itself.
|
Constructor and Description |
---|
AttributeSpacing(Attribute a,
int aind)
This constructs the bar with the specified attribute and
sets its index to be used for selecting by the mouse.
|
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 © 2015 University of Waikato, Hamilton, NZ. All rights reserved.