luminol
luminol copied to clipboard
incorrect normalize method
Unless there is a specific reason for only using the max value to normalize the values with, the normalize function could do with being normalized or renamed if the current normalize method is the desired method of "normalization" as it is not what is generally accepted as normalizing, just using the max that is.
Although this normalize method does return all the values between 0 and 1, for a positive values set, it does not normalize the data if there are negative values in the set, this could skew correlations and seeing as the average is being applied, arguably normalize is being incorrectly calculated.