ptranking
ptranking copied to clipboard
How to predict ranking on new data?
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 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.
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!
@ii-research-yu, any update to previous question by @supercar1?