Hi albert.
what is convertInstance function used for?
Another question is what about the original weight if it is not 1 as default?
//Online Sampling with replacement
def convertInstance(example: Example): Example = {
val weight = Utils.poisson(1.0, classifierRandom);
new Example(example.in, example.out, weight)
}
Hi albert. what is convertInstance function used for? Another question is what about the original weight if it is not 1 as default? //Online Sampling with replacement def convertInstance(example: Example): Example = { val weight = Utils.poisson(1.0, classifierRandom); new Example(example.in, example.out, weight) }