energia.utils.math#
Utilities to perform mathematical operations
Functions
|
Error function at x. |
|
Return e raised to the power of x. |
|
finds euclidean distances between two cluster nodes |
|
Generates a connectivity matrix to maintain chronology [..1,0,1..] |
|
Calculates the normal constant |
|
min max normalization of data |
|
Return the square root of x. |
- norm_constant(p, mu, sigma) float[source]#
Calculates the normal constant
- Parameters:
p (float) – level of compliance
mu (float) – mean
sigma (float) – standard deviation
- Returns:
normal constant
- Return type:
float
- find_euclidean_distance(a: list, b: list) float[source]#
finds euclidean distances between two cluster nodes
- Parameters:
a (list) – coordinates of cluster node a
b (list) – coordinates of cluster node b
- Returns:
euclidean distance
- Return type:
float