The ROC curve of a constant or entirely random prediction model corresponds to the 45-degree line, whereas a perfect model will have a ROC curve that goes straight up from (0, 0) to (0, 1) and then across to (1, 1).