Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

number of features classification model jupyter notebook

# split X and y into training and testing sets
from sklearn.cross_validation import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=0)
Source by www.ritchieng.com #
 
PREVIOUS NEXT
Tagged: #number #features #classification #model #jupyter #notebook
ADD COMMENT
Topic
Name
9+4 =