_diff_numpy#
- anomalearn.analysis.dataset_simplicity._diff_numpy(x: ndarray, n: int) ndarray #
Computes the array of differences.
- Parameters:
x (ndarray of shape (n_samples, n_feature)) – The array to be differentiated.
n (int) – The order of the differentiation.
- Returns:
diff_array – The differentiated array.
- Return type:
ndarray