geolime.geostats.math.gauss_score¶
Functions:
|
Function to obtain the (standard) Gaussian scores of a sample. |
Data:
By CarrizoV, ArxiteK. |
-
geolime.geostats.math.gauss_score.
gauss_score
(z: numpy.ndarray, weights: numpy.ndarray = None)¶ Function to obtain the (standard) Gaussian scores of a sample.
- Parameters
z (np.ndarray) – numpy array containing the data.
weights (np.ndarray) – probability weights associated to each interval defined by the order statisticals of the data. Numpy array of size Z.size+1, with non-negative values adding 1 (if not adding 1, they are normalized). weights[j] represent the probability that an anamorphosed standard Gaussian variable according to the empirical cumulative distribution function of Z falls into the interval (Z_(j-1) , Z_(j) ], being Z_(j) the order statistical, j = 1 , … , N+1, with N the sample size, Z_(0) = -inf, and Z_(N+1) = +inf. If None, a uniform weight vector is used.
- Returns
Returns a numpy array that contains the Gaussian scores
- Return type
np.ndarray
-
geolime.geostats.math.gauss_score.
logger
= <Logger geolime.geostats.math.gauss_score (WARNING)>¶ By CarrizoV, ArxiteK. For DeepLime.