zellerlab / siamcat

R package for Statistical Inference of Associations between Microbial Communities And host phenoType
https://siamcat.embl.de/
51 stars 16 forks source link

class.weights and cost parameters hard-coded #9

Closed KonradZych closed 4 years ago

KonradZych commented 4 years ago

in plm.utils both parameters are hard-coded!

jakob-wirbel commented 4 years ago

the cost parameter is not, it can be supplied to the train.model function.

The class.weights are indeed hardcoded... this should be made accessible to the user