Searched refs:nbTrainSamples (Results 1 – 3 of 3) sorted by relevance
/external/zstd/lib/dictBuilder/ |
D | fastcover.c | 124 size_t nbTrainSamples; member 283 assert(ctx->nbTrainSamples >= 5); in FASTCOVER_computeFrequency() 284 assert(ctx->nbTrainSamples <= ctx->nbSamples); in FASTCOVER_computeFrequency() 285 for (i = 0; i < ctx->nbTrainSamples; i++) { in FASTCOVER_computeFrequency() 314 …const unsigned nbTrainSamples = splitPoint < 1.0 ? (unsigned)((double)nbSamples * splitPoint) : nb… in FASTCOVER_ctx_init() local 315 const unsigned nbTestSamples = splitPoint < 1.0 ? nbSamples - nbTrainSamples : nbSamples; in FASTCOVER_ctx_init() 316 …const size_t trainingSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes, nbTrainSamples) : to… in FASTCOVER_ctx_init() 317 …const size_t testSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes + nbTrainSamples, nbTestS… in FASTCOVER_ctx_init() 328 if (nbTrainSamples < 5) { in FASTCOVER_ctx_init() 329 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid\n", nbTrainSamples); in FASTCOVER_ctx_init() [all …]
|
D | cover.c | 217 size_t nbTrainSamples; member 547 …const unsigned nbTrainSamples = splitPoint < 1.0 ? (unsigned)((double)nbSamples * splitPoint) : nb… in COVER_ctx_init() local 548 const unsigned nbTestSamples = splitPoint < 1.0 ? nbSamples - nbTrainSamples : nbSamples; in COVER_ctx_init() 549 …const size_t trainingSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes, nbTrainSamples) : to… in COVER_ctx_init() 550 …const size_t testSamplesSize = splitPoint < 1.0 ? COVER_sum(samplesSizes + nbTrainSamples, nbTestS… in COVER_ctx_init() 559 if (nbTrainSamples < 5) { in COVER_ctx_init() 560 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid.", nbTrainSamples); in COVER_ctx_init() 570 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, in COVER_ctx_init() 577 ctx->nbTrainSamples = nbTrainSamples; in COVER_ctx_init() 790 size_t nbTrainSamples, size_t nbSamples, in COVER_checkTotalCompressedSize() argument [all …]
|
D | cover.h | 95 size_t nbTrainSamples, size_t nbSamples,
|