ptranking icon indicating copy to clipboard operation
ptranking copied to clipboard

How to predict ranking on new data?

Open supercar1 opened this issue 2 years ago • 3 comments

Hello again! I've posted here before (https://github.com/wildltr/ptranking/issues/18), but my explanation of the issue was not good enough, and as the issue was closed (and not solved), I had no other option than to submit a new issue.

What I'm trying to understand, is how to rank a "new" dataset, that wasn't used for training, validation or testing. What I mean is that I can run the code, and I believe a ranking model is created (.pkl file), but that is based on the data that was used for training. What if I want to rank new data, that I can't even use for training because I don't know the "right" rank order? Or is this not possible with ptranking?

I hope I could explain myself better now, and thanks in advance!

supercar1 avatar Jul 04 '22 17:07 supercar1

@supercar1 Based on my understanding of your question, if your "new" dataset has the same format as the testing data's format, you can use the trained model for generating the ranking results.

ii-research-yu avatar Jul 15 '22 02:07 ii-research-yu

Yes, that's exactly what I want to do :) However, I don't understand how to do it, is there any specific function I should call? Or should I give an extra input on the command line?

Thank you!

supercar1 avatar Jul 15 '22 12:07 supercar1

@ii-research-yu, any update to previous question by @supercar1?

sathyarr avatar Jul 22 '23 07:07 sathyarr