cratepy.clustering.clusteringdata.Standardizer

class Standardizer[source]

Bases: ABC

Data standardization algorithm interface.

get_standardized_data_matrix(self, data_matrix)[source]

abstract: Standardize provided data matrix.

Constructor.

List of Public Methods

get_standardized_data_matrix

Standardize provided data matrix.

Methods

abstract __init__()[source]

Constructor.

abstract get_standardized_data_matrix(data_matrix)[source]

Standardize provided data matrix.

Parameters:

data_matrix (numpy.ndarray (2d)) – Data matrix to be standardized (numpy.ndarray of shape (n_items, n_features)).

Returns:

data_matrix – Transformed data matrix (numpy.ndarrayndarray of shape (n_items, n_features)).

Return type:

numpy.ndarray (2d)