Lines Matching refs:nbTrainSamples
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()
341 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, in FASTCOVER_ctx_init()
349 ctx->nbTrainSamples = nbTrainSamples; in FASTCOVER_ctx_init()
489 …const unsigned nbFinalizeSamples = (unsigned)(ctx->nbTrainSamples * ctx->accelParams.finalize / 10… in FASTCOVER_tryParameters()
491 …ctx->samples, ctx->samplesSizes, nbFinalizeSamples, ctx->nbTrainSamples, ctx->nbSamples, parameter… in FASTCOVER_tryParameters()
594 …const unsigned nbFinalizeSamples = (unsigned)(ctx.nbTrainSamples * ctx.accelParams.finalize / 100); in ZDICT_trainFromBuffer_fastCover()