DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+6 =
Submit