qxmt.datasets.transform.normalization module#
- qxmt.datasets.transform.normalization.normalization(X_train, y_train, X_val, y_val, X_test, y_test)#
Normalization of dataset by StandardScaler
- Parameters:
X_train (np.ndarray) – numpy array of training data
y_train (np.ndarray) – numpy array of training label
X_val (Optional[np.ndarray]) – numpy array of validation data. None if validation set is not used
y_val (Optional[np.ndarray]) – numpy array of validation data. None if validation set is not used
X_test (np.ndarray) – numpy array of testing data
y_test (np.ndarray) – numpy array of testing label
- Returns:
tuple of normalized dataset
- Return type:
PROCESSCED_DATASET_TYPE