I'm using Python (NumPy) and I want to plot a ROC curve given a 1D noise histogram and another 1D histogram for the signal+noise distribution. I am aware that various libraries like scikit-learn can generate ROC curves, but they use a supervised machine learning approach based on the predicted vs. actual labels. Instead what I have is 2 numpy arrays: 1 for the discrete probability density function (histogram) of the background noise distribution, and another histogram for the signal+noise distribution. I'm not doing any machine learning, instead I just want to make a ROC curve from the 2 histograms. Can scikit-learn or another python library do this?
Thanks