Split samples into train and test sets

This commit is contained in:
Jennifer Liu
2018-06-29 12:33:34 -07:00
parent 1ab57a7ce1
commit 0ef06f2e8a
2 changed files with 55 additions and 15 deletions
+1
View File
@@ -86,6 +86,7 @@ typedef struct {
unsigned d; /* dmer size : constraint: 0 < d <= k : Reasonable range [6, 16] */
unsigned steps; /* Number of steps : Only used for optimization : 0 means default (32) : Higher means more parameters checked */
unsigned nbThreads; /* Number of threads : constraint: 0 < nbThreads : 1 means single-threaded : Only used for optimization : Ignored if ZSTD_MULTITHREAD is not defined */
double splitPoint; /* Percentage of samples used for training: the first nbSamples * splitPoint samples will be used to training */
ZDICT_params_t zParams;
} ZDICT_cover_params_t;