-
-
Save BinarySpoon/1635950b3003817b35cc999eae7399b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Seperate Feature And Label Values | |
y_train = train_data.compliance | |
X_train = train_data.drop('compliance',axis=1) | |
# Test Feature Data | |
X_test = test_data | |
# Scaling Features To Reduce Computation Time | |
scaler = MinMaxScaler() | |
X_train_scaled = scaler.fit_transform(X_train) # saved transform | |
X_test_scaled = scaler.transform(X_test) # apply tranform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment