Duration Representation Functionality#

Descriptions of the basic functions are given below.

Function descriptions:

Orders a set of representation values to fit several candidate value sets

durationRepresentation.durationRepresentation(candidates, clusterOrder, distributionPeriodWise, timeStepsPerPeriod, representMinMax=False)[source]#

Represents the candidates of a given cluster group (clusterOrder) such that for every attribute the number of time steps is best fit.

Parameters:
  • candidates (np.ndarray) – Dissimilarity matrix where each row represents a candidate

  • clusterOrder (np.array) – Integer array where the index refers to the candidate and the Integer entry to the group

  • representMinMax (bool) – If in every cluster the minimum and the maximum of the attribute should be represented