Uses of Class
smile.data.Attribute
-
Packages that use Attribute Package Description smile.data smile.regression smile.util -
-
Uses of Attribute in smile.data
Subclasses of Attribute in smile.data Modifier and Type Class Description class
DateAttribute
Data attribute.class
NominalAttribute
Nominal attribute.class
NumericAttribute
Numeric attribute.Fields in smile.data declared as Attribute Modifier and Type Field Description protected Attribute
Dataset. response
The attribute property of response variable.Methods in smile.data that return Attribute Modifier and Type Method Description Attribute
AttributeVector. attribute()
Returns the attribute.Attribute[]
AttributeDataset. attributes()
Returns the list of attributes in this dataset.Attribute
Dataset. responseAttribute()
Returns the attribute of the response variable.Attribute
Attribute. setDescription(java.lang.String description)
Attribute
Attribute. setName(java.lang.String name)
Attribute
Attribute. setWeight(double weight)
Constructors in smile.data with parameters of type Attribute Constructor Description AttributeDataset(java.lang.String name, Attribute[] attributes)
Constructor.AttributeDataset(java.lang.String name, Attribute[] attributes, double[][] x, Attribute response, double[] y)
Constructor.AttributeDataset(java.lang.String name, Attribute[] attributes, Attribute response)
Constructor.AttributeVector(Attribute attribute, double[] vector)
Constructor.AttributeVector(Attribute attribute, double[] vector, java.lang.String[] names)
Constructor.Dataset(java.lang.String name, Attribute response)
Constructor.Dataset(Attribute response)
Constructor. -
Uses of Attribute in smile.regression
Methods in smile.regression with parameters of type Attribute Modifier and Type Method Description void
RegressionTrainer. setAttributes(Attribute[] attributes)
Sets feature attributes.Constructors in smile.regression with parameters of type Attribute Constructor Description RandomForest(Attribute[] attributes, double[][] x, double[] y, int ntrees)
Constructor.RandomForest(Attribute[] attributes, double[][] x, double[] y, int ntrees, int maxNodes)
Constructor.RandomForest(Attribute[] attributes, double[][] x, double[] y, int ntrees, int maxNodes, int nodeSize)
Constructor.RandomForest(Attribute[] attributes, double[][] x, double[] y, int ntrees, int maxNodes, int nodeSize, int mtry)
Constructor.RandomForest(Attribute[] attributes, double[][] x, double[] y, int ntrees, int maxNodes, int nodeSize, int mtry, double subsample)
Constructor.RandomForest(Attribute[] attributes, double[][] x, double[] y, int ntrees, int maxNodes, int nodeSize, int mtry, double subsample, double[] monotonicRegression)
Constructor.RegressionTrainer(Attribute[] attributes)
Constructor.RegressionTree(Attribute[] attributes, double[][] x, double[] y, int maxNodes)
Constructor.RegressionTree(Attribute[] attributes, double[][] x, double[] y, int maxNodes, int nodeSize)
Constructor.RegressionTree(Attribute[] attributes, double[][] x, double[] y, int maxNodes, int nodeSize, int mtry, int[][] order, int[] samples, RegressionTree.NodeOutput output)
Constructor.RegressionTree(Attribute[] attributes, double[][] x, double[] y, int maxNodes, int nodeSize, int mtry, int[][] order, int[] samples, RegressionTree.NodeOutput output, double[] monotonicRegression)
Trainer(Attribute[] attributes, int ntrees)
Constructor.Trainer(Attribute[] attributes, int maxNodes)
Constructor. -
Uses of Attribute in smile.util
Methods in smile.util with parameters of type Attribute Modifier and Type Method Description static int[][]
SmileUtils. sort(Attribute[] attributes, double[][] x)
Sorts each variable and returns the index of values in ascending order.
-