weka.classifiers.trees.m5
Class Values
- java.lang.Object
-
- weka.classifiers.trees.m5.Values
-
- All Implemented Interfaces:
- RevisionHandler
public final class Values extends java.lang.Object implements RevisionHandler
Stores some statistics.
-
-
Constructor Summary
Constructors Constructor and Description Values(int low, int high, int attribute, Instances inst)Constructs an object which stores some statistics of the instances such as sum, squared sum, variance, standard deviation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetRevision()Returns the revision string.java.lang.StringtoString()Converts the stats to a string
-
-
-
Constructor Detail
-
Values
public Values(int low, int high, int attribute, Instances inst)Constructs an object which stores some statistics of the instances such as sum, squared sum, variance, standard deviation- Parameters:
low- the index of the first instancehigh- the index of the last instanceattribute- the attributeinst- the instances
-
-
Method Detail
-
toString
public final java.lang.String toString()
Converts the stats to a string- Overrides:
toStringin classjava.lang.Object- Returns:
- the converted string
-
getRevision
public java.lang.String getRevision()
Returns the revision string.- Specified by:
getRevisionin interfaceRevisionHandler- Returns:
- the revision
-
-
DataMelt 3.0 © DataMelt by jWork.ORG