Skip to content

Instantly share code, notes, and snippets.

@SajidLhessani
Created October 5, 2021 13:44
Show Gist options
  • Save SajidLhessani/90194951eaeea0eec610d353ac1a5313 to your computer and use it in GitHub Desktop.
Save SajidLhessani/90194951eaeea0eec610d353ac1a5313 to your computer and use it in GitHub Desktop.
# Instantiate the StandardScaler
ss1 = StandardScaler()
# Pass the scaled train data to the SVC classifier
cls.fit(ss1.fit_transform(X.iloc[:split]), y.iloc[:split])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment