Class: Numeric_Attribute

Numeric_Attribute

A subclass of 'Attribute' which represents a numeric attribute.

Constructor

new Numeric_Attribute(name, dataset_reference)

Parameters:
Name Type Description
name String This attribute's name e.g., height, miles, age
dataset_reference Dataset The dataset it will belong to.
Source:

Methods

max()

Calculates the maximum value of this attribute within the dataset.
Source:
Returns:
the maximum value of this attribute within the dataset.

min()

Calculates the minimum value of this attribute within the dataset.
Source:
Returns:
the minimum value of this attribute within the dataset.