more flexible grid search
computing ROC curve