physbo.misc.centering module¶
-
physbo.misc.centering.
centering
(X)[source]¶ Normalize the mean and standard deviation along the each column of X to 0 and 1, respectively
- Parameters
X (numpy array) – N x d dimensional matrix. Each row of X denotes the d-dimensional feature vector of search candidate.
- Returns
X_normalized – normalized N x d dimensional matrix.
- Return type
numpy array