-
Notifications
You must be signed in to change notification settings - Fork 0
License
chaluemwut/non-newsworthy-remove
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
import numpy as np from sklearn.cross_validation import train_test_split X, y,indices = (0.1*np.arange(10)).reshape((5, 2)),range(10,15),range(5) print X print y X_train, X_test, y_train, y_test,indices_train,indices_test = train_test_split(X, y,indices, test_size=0.33, random_state=42) print X_train print X_test print indices_train,indices_test
About
No description, website, or topics provided.
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published