Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python downsampling

df_ham_downsampled = df_ham.sample(df_spam.shape[0])
Source by www.analyticsvidhya.com #
 
PREVIOUS NEXT
Tagged: #python #downsampling
ADD COMMENT
Topic
Name
1+9 =