Open cmosguy opened 2 years ago
If you see in chapter 14 of the book, we're trying to calculate the ROC/AUC metrics. For that, we're considering multiple thresholds between 0 and 1.
So I think this might work.
threshold = torch.linspace(1,0, steps = 5)
So I am getting the following error on this line :
https://github.com/deep-learning-with-pytorch/dlwpt-code/blob/d6c0210143daa133bbdeddaffc8993b1e17b5174/p2ch14/training.py#L410
Not sure why
linspace
was used if the threshold was supposed to be a constant. Does anyone know what the proper fix is?