Ignore:
Timestamp:
07/05/23 18:42:59 (17 months ago)
Author:
oriona
Message:

Improved normalization function description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/dissimilarity/density-distribution.py

    r1266 r1267  
    232232
    233233    def normalize(self, signature):
    234         """Normalizes the signature values by dividing it by the sum of elements.
    235         Args:
    236             signature np.array(,dtype=float): array of signature values.
    237 
    238         Returns:
    239             np.array(,dtype=float): array of normalized signature
     234        """Normalizes the signature values by dividing each element by the sum of all elements.
     235        Args:
     236            signature np.array(,dtype=float): A one-dimensional array of signature values.
     237
     238        Returns:
     239            np.array(,dtype=float): A one-dimensional array of normalized signature values.
    240240        """
    241241        total = np.sum(signature)
Note: See TracChangeset for help on using the changeset viewer.