Lines Matching full:samples

36 * There are 32bit indexes used to ref samples, so limit samples size to 4GB
104 unsigned finalize; /* Percentage of training samples used for ZDICT_finalizeDictionary */
128 const BYTE *samples; member
181 const size_t idx = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.end, f, d); in FASTCOVER_selectSegment()
193 const size_t delIndex = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.begin, f, d); in FASTCOVER_selectSegment()
211 const size_t delIndex = FASTCOVER_hashPtrToIndex(ctx->samples + activeSegment.begin, f, d); in FASTCOVER_selectSegment()
220 const size_t i = FASTCOVER_hashPtrToIndex(ctx->samples + pos, f, d); in FASTCOVER_selectSegment()
281 * Calculate for frequency of hash value of each dmer in ctx->samples
297 const size_t dmerIndex = FASTCOVER_hashPtrToIndex(ctx->samples + start, f, d); in FASTCOVER_computeFrequency()
319 const BYTE* const samples = (const BYTE*)samplesBuffer; in FASTCOVER_ctx_init() local
321 /* Split samples into testing and training sets */ in FASTCOVER_ctx_init()
330 DISPLAYLEVEL(1, "Total samples size is too large (%u MB), maximum size is %u MB\n", in FASTCOVER_ctx_init()
335 /* Check if there are at least 5 training samples */ in FASTCOVER_ctx_init()
337 DISPLAYLEVEL(1, "Total number of training samples is %u and is invalid\n", nbTrainSamples); in FASTCOVER_ctx_init()
343 DISPLAYLEVEL(1, "Total number of testing samples is %u and is invalid.\n", nbTestSamples); in FASTCOVER_ctx_init()
349 DISPLAYLEVEL(2, "Training on %u samples of total size %u\n", nbTrainSamples, in FASTCOVER_ctx_init()
351 DISPLAYLEVEL(2, "Testing on %u samples of total size %u\n", nbTestSamples, in FASTCOVER_ctx_init()
354 ctx->samples = samples; in FASTCOVER_ctx_init()
448 memcpy(dict + tail, ctx->samples + segment.begin, segmentSize); in FASTCOVER_buildDictionary()
499 …ctx->samples, ctx->samplesSizes, nbFinalizeSamples, ctx->nbTrainSamples, ctx->nbSamples, parameter… in FASTCOVER_tryParameters()