Uses of Class
weka.core.Attribute
-
-
Uses of Attribute in weka.associations
Methods in weka.associations that return Attribute Modifier and Type Method Description AttributeItem. getAttribute()Get the attribute that this item originates from.Constructors in weka.associations with parameters of type Attribute Constructor Description 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 newNumericItem -
Uses of Attribute in weka.classifiers.evaluation
Methods in weka.classifiers.evaluation with parameters of type Attribute Modifier and Type Method Description static doubleRegressionAnalysis. calculateSSR(Instances data, Attribute chosen, double slope, double intercept)Returns the sum of squared residuals of the simple linear regression model: y = a + bx.static double[]RegressionAnalysis. calculateStdErrorOfCoef(Instances data, Attribute chosen, double slope, double intercept, int df)Returns the standard errors of slope and intercept for a simple linear regression model: y = a + bx. -
Uses of Attribute in weka.classifiers.pmml.producer
Methods in weka.classifiers.pmml.producer with parameters of type Attribute Modifier and Type Method Description static String[]AbstractPMMLProducerHelper. getNameAndValueFromUnsupervisedNominalToBinaryDerivedAttribute(Instances train, Attribute derived)Extracts the original attribute name and value from the name of a binary indicator attribute created by unsupervised NominalToBinary. -
Uses of Attribute in weka.classifiers.rules
Methods in weka.classifiers.rules that return Attribute Modifier and Type Method Description AttributeJRip.Antd. getAttr()Methods in weka.classifiers.rules with parameters of type Attribute Modifier and Type Method Description weka.classifiers.rules.OneR.OneRRuleOneR. newNominalRule(Attribute attr, Instances data, int[] missingValueCounts)Create a rule branching on this nominal attribute.weka.classifiers.rules.OneR.OneRRuleOneR. newNumericRule(Attribute attr, Instances data, int[] missingValueCounts)Create a rule branching on this numeric attributeweka.classifiers.rules.OneR.OneRRuleOneR. newRule(Attribute attr, Instances data)Create a rule branching on this attribute.StringJRip.RipperRule. toString(Attribute classAttr)Prints this ruleConstructors in weka.classifiers.rules with parameters of type Attribute Constructor Description Antd(Attribute a)ConstructorNominalAntd(Attribute a)ConstructorNumericAntd(Attribute a)Constructor -
Uses of Attribute in weka.classifiers.trees.ht
Methods in weka.classifiers.trees.ht with parameters of type Attribute Modifier and Type Method Description double[]HNode. getDistribution(Instance inst, Attribute classAtt)Return a class probability distribution computed from the frequency counts at this nodedouble[]NBNode. getDistribution(Instance inst, Attribute classAtt)double[]NBNodeAdaptive. getDistribution(Instance inst, Attribute classAtt) -
Uses of Attribute in weka.core
Methods in weka.core that return Attribute Modifier and Type Method Description AttributeAbstractInstance. attribute(int index)Returns the attribute with the given index.AttributeInstance. attribute(int index)Returns the attribute with the given index.AttributeInstances. attribute(int index)Returns an attribute.AttributeInstances. attribute(String name)Returns an attribute given its name.AttributeAbstractInstance. attributeSparse(int indexOfIndex)Returns the attribute with the given index in the sparse representation.AttributeInstance. attributeSparse(int indexOfIndex)Returns the attribute with the given index in the sparse representation.AttributeAbstractInstance. classAttribute()Returns class attribute.AttributeInstance. classAttribute()Returns class attribute.AttributeInstances. classAttribute()Returns the class attribute.AttributeAttribute. copy(String newName)Produces a shallow copy of this attribute with a new name.Methods in weka.core that return types with arguments of type Attribute Modifier and Type Method Description Enumeration<Attribute>AbstractInstance. enumerateAttributes()Returns an enumeration of all the attributes.Enumeration<Attribute>Instance. enumerateAttributes()Returns an enumeration of all the attributes.Enumeration<Attribute>Instances. enumerateAttributes()Returns an enumeration of all the attributes.Methods in weka.core with parameters of type Attribute Modifier and Type Method Description intAttribute. 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.voidInstances. deleteWithMissing(Attribute att)Removes all instances with missing values for a particular attribute from the dataset.voidInstances. insertAttributeAt(Attribute att, int position)Inserts an attribute at the given position (0 to numAttributes()) and sets all values to be missing.booleanAbstractInstance. isMissing(Attribute att)Tests if a specific value is "missing".booleanInstance. isMissing(Attribute att)Tests if a specific value is "missing".doubleInstances. kthSmallestValue(Attribute att, int k)Returns the kth-smallest attribute value of a numeric attribute.doubleInstances. meanOrMode(Attribute att)Returns the mean (mode) for a numeric (nominal) attribute as a floating-point value.intInstances. numDistinctValues(Attribute att)Returns the number of distinct values of a given attribute.InstancesAbstractInstance. relationalValue(Attribute att)Returns the relational value of a relational attribute.InstancesInstance. relationalValue(Attribute att)Returns the relational value of a relational attribute.voidInstances. renameAttribute(Attribute att, String name)Renames an attribute.voidInstances. renameAttributeValue(Attribute att, String val, String name)Renames the value of a nominal (or string) attribute value.voidInstances. replaceAttributeAt(Attribute att, int position)Replaces the attribute at the given position (0 to numAttributes()) with the given attribute and sets all its values to be missing.voidInstances. setAttributeWeight(Attribute att, double weight)Sets the weight of an attribute.voidInstances. setClass(Attribute att)Sets the class attribute.voidAbstractInstance. setMissing(Attribute att)Sets a specific value to be "missing".voidInstance. setMissing(Attribute att)Sets a specific value to be "missing".voidAbstractInstance. setValue(Attribute att, double value)Sets a specific value in the instance to the given value (internal floating-point format).voidAbstractInstance. setValue(Attribute att, String value)Sets a value of an nominal or string attribute to the given value.voidInstance. setValue(Attribute att, double value)Sets a specific value in the instance to the given value (internal floating-point format).voidInstance. setValue(Attribute att, String value)Sets a value of an nominal or string attribute to the given value.voidInstances. sort(Attribute att)Sorts the instances based on an attribute.voidInstances. stableSort(Attribute att)Sorts the instances based on an attribute, using a stable sort.StringAbstractInstance. stringValue(Attribute att)Returns the value of a nominal, string, date, or relational attribute for the instance as a string.StringInstance. stringValue(Attribute att)Returns the value of a nominal, string, date, or relational attribute for the instance as a string.booleanCapabilities. test(Attribute att)Test the given attribute, whether it can be processed by the handler, given its capabilities.booleanCapabilities. test(Attribute att, boolean isClass)Test the given attribute, whether it can be processed by the handler, given its capabilities.voidCapabilities. testWithFail(Attribute att)tests the given attribute by calling the test(Attribute,boolean) method and throws an exception if the test fails.voidCapabilities. testWithFail(Attribute att, boolean isClass)tests the given attribute by calling the test(Attribute,boolean) method and throws an exception if the test fails.StringAbstractInstance. toString(Attribute att)Returns the description of one value of the instance as a string.StringAbstractInstance. toString(Attribute att, int afterDecimalPoint)Returns the description of one value of the instance as a string.StringInstance. toString(Attribute att)Returns the description of one value of the instance as a string.StringInstance. toString(Attribute att, int afterDecimalPoint)Returns the description of one value of the instance as a string.static StringAttribute. typeToString(Attribute att)Returns a string representation of the attribute type.static StringAttribute. typeToStringShort(Attribute att)Returns a short string representation of the attribute type.doubleAbstractInstance. value(Attribute att)Returns an instance's attribute value in internal format.doubleInstance. value(Attribute att)Returns an instance's attribute value in internal format.doubleInstances. variance(Attribute att)Computes the variance for a numeric attribute.Constructors in weka.core with parameters of type Attribute Constructor Description AttributeMetaInfo(ProtectedProperties metadata, Attribute att)Creates the meta info object based on the given meta data.Constructor parameters in weka.core with type arguments of type Attribute Constructor Description 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 Modifier and Type Method Description AttributeDerivedFieldMetaInfo. getFieldAsAttribute()Get this derived field as an Attribute.abstract AttributeFieldMetaInfo. getFieldAsAttribute()Return this field as an Attribute.AttributeMiningFieldMetaInfo. getFieldAsAttribute()Return this mining field as an Attribute.AttributeTargetMetaInfo. getFieldAsAttribute()Return this field as an Attribute.AttributeExpression. getFieldDef(String attName)Return the named attribute from the list of reference fields.AttributeBuiltInArithmetic. getOutputDef()Get the structure of the result produced by this function.AttributeBuiltInMath. getOutputDef()Get the structure of the result produced by this function.AttributeBuiltInString. getOutputDef()Get the structure of the result produced by this function.AttributeDefineFunction. getOutputDef()Get the structure of the result produced by this function.AttributeFieldRef. getOutputDef()Return the structure of the result of applying this Expression as an Attribute.abstract AttributeFunction. getOutputDef()Get the structure of the result produced by this function.Method parameters in weka.core.pmml with type arguments of type Attribute Modifier and Type Method Description static ExpressionExpression. 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.static ExpressionExpression. 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.voidDerivedFieldMetaInfo. setFieldDefs(ArrayList<Attribute> fieldDefs)Upadate the field definitions for this derived fieldvoidDiscretize. setFieldDefs(ArrayList<Attribute> fieldDefs)Set the field definitions for this Expression to usevoidExpression. setFieldDefs(ArrayList<Attribute> fieldDefs)Set the field definitions for this Expression to usevoidFieldRef. setFieldDefs(ArrayList<Attribute> fieldDefs)voidNormContinuous. setFieldDefs(ArrayList<Attribute> fieldDefs)Set the field definitions for this Expression to usevoidNormDiscrete. setFieldDefs(ArrayList<Attribute> fieldDefs)Set the field definitions for this Expression to usevoidBuiltInArithmetic. setParameterDefs(ArrayList<Attribute> paramDefs)Set the structure of the parameters that are expected as input by this function.voidBuiltInMath. setParameterDefs(ArrayList<Attribute> paramDefs)Set the structure of the parameters that are expected as input by this function.voidBuiltInString. setParameterDefs(ArrayList<Attribute> paramDefs)Set the structure of the parameters that are expected as input by this function.voidDefineFunction. setParameterDefs(ArrayList<Attribute> paramDefs)Set the structure of the parameters that are expected as input by this function.abstract voidFunction. 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 Constructor 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 ExpressionExpression(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
Methods in weka.gui with parameters of type Attribute Modifier and Type Method Description voidCostBenefitAnalysisPanel. setDataSet(PlotData2D data, Attribute classAtt)Set the threshold data for the panel to use. -
Uses of Attribute in weka.gui.arffviewer
Methods in weka.gui.arffviewer that return Attribute Modifier and Type Method Description AttributeArffSortedTableModel. getAttributeAt(int columnIndex)returns the attribute at the given index, can be NULL if not an attribute columnAttributeArffTableModel. 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 Modifier and Type Method Description AttributeThresholdDataEvent. getClassAttribute()Return the class attribute for which the threshold data was generated for.Methods in weka.gui.beans with parameters of type Attribute Modifier and Type Method Description voidCostBenefitAnalysis. setCurveData(PlotData2D curveData, Attribute origClassAtt)Set the threshold curve data to use.Constructors in weka.gui.beans with parameters of type Attribute Constructor Description 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 Modifier and Type Method Description JMenuItemVisualizePlugin. getVisualizeMenuItem(ArrayList<Prediction> 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.
-