Closed egillax closed 3 months ago
It does so because here it adds the population size:
attr(trainData$covariateData, "metaData") <- list(populationSize = nrow(trainData$labels))
This line is unnecessary since both batchRestrict and limitCovariatesToPopulation already copy the metadata correctly from covariateData to trainData$covariateData / testData$covariateData , including the new population sizes.
batchRestrict
limitCovariatesToPopulation
covariateData
trainData$covariateData
testData$covariateData
Fixed in v6.3.7
It does so because here it adds the population size:
This line is unnecessary since both
batchRestrict
andlimitCovariatesToPopulation
already copy the metadata correctly fromcovariateData
totrainData$covariateData
/testData$covariateData
, including the new population sizes.