Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

train dev test split sklearn

train, validate, test = np.split(df.sample(frac=1), [int(.6*len(df)), int(.8*len(df))])
Source by datascience.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #train #dev #test #split #sklearn
ADD COMMENT
Topic
Name
8+6 =