I need to make a model by selecting the best set of rules (it's a model to predict the toxicity of chemical compounds).
Each rule predicts a different amount of compounds, with a relative precision:
PPV = True Positives / (True Positives + False Positives)
One way of selecting the best set of rules could be to order them by precision, but precision values calculated on very dfferent number of samples don't look very comparable...
In other words, a rule with 3 TP and 0 FP has a very good precision, but I would not trust it more than a rule with 100 TP and 1 FP, even if the resulting precision is lower. The question is: is there a way to keep into consideration the sample size, when comparing predictors?