Package smile.data.measure
Class NumericalMeasure
java.lang.Object
smile.data.measure.NumericalMeasure
- All Implemented Interfaces:
Serializable
,Measure
- Direct Known Subclasses:
IntervalScale
,RatioScale
Numerical data, also called quantitative data. Numerical data may be
discrete or continuous. Continuous data may be subdivided into interval
data and ratio data.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NumericalMeasure
Constructor.- Parameters:
format
- the number format.
-
-
Method Details
-
toString
Description copied from interface:Measure
Returns the string representation of an object in the measure. -
valueOf
Description copied from interface:Measure
Returns a measurement value object represented by the argument string s.- Specified by:
valueOf
in interfaceMeasure
- Parameters:
s
- a string.- Returns:
- the parsed value.
- Throws:
NumberFormatException
-