aas icon indicating copy to clipboard operation
aas copied to clipboard

Chapter 3: ROC

Open tanthiamhuat opened this issue 2 years ago • 3 comments

sorry for the many questions, because I could not get through the code. How do you get ROC about 0.879? What are the details inside the function area_under_curve? I suppose we need to have the data for: cv_data, b_all_artist_ids, model.transform to be input for the area_under_curve function. But even that, I had error for b_all_artist_ids image

tanthiamhuat avatar Jul 05 '22 13:07 tanthiamhuat

@analyticalmonk will have to supply the full code listings. That line looks like a bug in the listing unfortunately - it can't be broadcasting an int. I assume the .count() should be removed on the line before.

srowen avatar Jul 05 '22 13:07 srowen

but it looks to me that the function 'area_under_curve' needs to be defined too, else how can it be used?

tanthiamhuat avatar Jul 06 '22 02:07 tanthiamhuat

Yes, that's what I said?

srowen avatar Jul 06 '22 03:07 srowen

@tanthiamhuat the area_under_curve code is available in the chapter 3 notebook on the pyspark branch.

analyticalmonk avatar Apr 16 '23 16:04 analyticalmonk