Created
January 30, 2022 12:13
-
-
Save sunilkumardash9/012877fa7edb089848b754dc538df472 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
from sklearn.datasets import make_classification | |
X,y = make_classification(n_features=4) | |
#spliting train,test data | |
from sklearn.model_selection import train_test_split | |
X_tr,X_te,y_tr,y_te = train_test_split(X,y,test_size=0.15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment