Uses of Class
weka.core.Attribute

Packages that use Attribute
weka.associations   
weka.classifiers.rules   
weka.core   
weka.core.pmml   
weka.gui.arffviewer   
weka.gui.beans   
weka.gui.visualize.plugins   
 

Uses of Attribute in weka.associations
 

Methods in weka.associations that return Attribute
 Attribute Item.getAttribute()
          Get the attribute that this item originates from.
 

Constructors in weka.associations with parameters of type Attribute
BinaryItem(Attribute att, int valueIndex)
          Constructor.
Item(Attribute att)
           
NominalItem(Attribute att, int valueIndex)
          Constructs a new NominalItem.
NumericItem(Attribute att, double splitPoint, NumericItem.Comparison comp)
          Constructs a new NumericItem
 

Uses of Attribute in weka.classifiers.rules
 

Methods in weka.classifiers.rules with parameters of type Attribute
 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.
 

Uses of Attribute in weka.core
 

Methods in weka.core that return Attribute
 Attribute AbstractInstance.attribute(int index)
          Returns the attribute with the given index.
 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 AbstractInstance.attributeSparse(int indexOfIndex)
          Returns the attribute with the given index in the sparse representation.
 Attribute Instance.attributeSparse(int indexOfIndex)
          Returns the attribute with the given index in the sparse representation.
 Attribute AbstractInstance.classAttribute()
          Returns class attribute.
 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.
 

Methods in weka.core with parameters of type Attribute
 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 AbstractInstance.isMissing(Attribute att)
          Tests if a specific value is "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 AbstractInstance.relationalValue(Attribute att)
          Returns the relational value of a relational 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 AbstractInstance.setMissing(Attribute att)
          Sets a specific value to be "missing".
 void Instance.setMissing(Attribute att)
          Sets a specific value to be "missing".
 void AbstractInstance.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, double value)
          Sets a specific value in the instance to the given value (internal floating-point format).
 void AbstractInstance.setValue(Attribute att, String value)
          Sets a value of an nominal or string attribute to the given value.
 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 AbstractInstance.stringValue(Attribute att)
          Returns the value of a nominal, string, date, or relational attribute for the instance as a string.
 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 AbstractInstance.toString(Attribute att)
          Returns the description of one value of the instance as a string.
 String Instance.toString(Attribute att)
          Returns the description of one value of the instance as a string.
static String Attribute.typeToString(Attribute att)
          Returns a string representation of the attribute type.
static String Attribute.typeToStringShort(Attribute att)
          Returns a short string representation of the attribute type.
 double AbstractInstance.value(Attribute att)
          Returns an instance's attribute value in internal format.
 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.
 

Constructor parameters in weka.core with type arguments of type Attribute
Instances(String name, ArrayList<Attribute> attInfo, int capacity)
          Creates an empty set of instances.
 

Uses of Attribute in weka.core.pmml
 

Methods in weka.core.pmml that return Attribute
 Attribute DerivedFieldMetaInfo.getFieldAsAttribute()
          Get this derived 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 TargetMetaInfo.getFieldAsAttribute()
          Return this field as an Attribute.
 Attribute Expression.getFieldDef(String attName)
          Return the named attribute from the list of reference fields.
 Attribute DefineFunction.getOutputDef()
          Get the structure of the result produced by this function.
 Attribute BuiltInMath.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 BuiltInArithmetic.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.
 

Method parameters in weka.core.pmml with type arguments of type Attribute
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 NormContinuous.setFieldDefs(ArrayList<Attribute> fieldDefs)
          Set the field definitions for this Expression to use
 void DerivedFieldMetaInfo.setFieldDefs(ArrayList<Attribute> fieldDefs)
          Upadate the field definitions for this derived field
 void Expression.setFieldDefs(ArrayList<Attribute> fieldDefs)
          Set the field definitions for this Expression to use
 void FieldRef.setFieldDefs(ArrayList<Attribute> fieldDefs)
           
 void Discretize.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 DefineFunction.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 BuiltInString.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.
abstract  void Function.setParameterDefs(ArrayList<Attribute> paramDefs)
          Set the structure of the parameters that are expected as input by this function.
 

Constructor parameters in weka.core.pmml with type arguments of type Attribute
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.
 

Uses of Attribute in weka.gui.arffviewer
 

Methods in weka.gui.arffviewer that return Attribute
 Attribute ArffTableModel.getAttributeAt(int columnIndex)
          returns the attribute at the given index, can be NULL if not an attribute column
 Attribute ArffSortedTableModel.getAttributeAt(int columnIndex)
          returns the attribute at the given index, can be NULL if not an attribute column
 

Uses of Attribute in weka.gui.beans
 

Methods in weka.gui.beans that return Attribute
 Attribute ThresholdDataEvent.getClassAttribute()
          Return the class attribute for which the threshold data was generated for.
 

Methods in weka.gui.beans with parameters of type Attribute
 void CostBenefitAnalysis.setCurveData(PlotData2D curveData, Attribute origClassAtt)
          Set the threshold curve data to use.
 

Constructors in weka.gui.beans with parameters of type Attribute
ThresholdDataEvent(Object source, PlotData2D dataSet, Attribute classAtt)
           
 

Uses of Attribute in weka.gui.visualize.plugins
 

Methods in weka.gui.visualize.plugins with parameters of type Attribute
 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 © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.