Closed jwijffels closed 6 years ago
@jwijffels Hi, thanks for reporting. We'll update the query_predict to be able to handle trainMode 1.
Great. Looking forward to it.
Thanks for the proposed fix. I wonder how this would influence the result from the paper, if there are any influence whatsoever?
@jwijffels it should not affect the results from the paper, as the query_predict
functionality is not used in the paper.
That's good to hear! Thank you for the fix, I've tried it out and this now gives also predictions for trainmode 1. Many thanks.
I'm trying to build some examples using the R wrapper that I've created. I was building an example for pagespace (trainmode 1), training data looks as follows. And I
Based on the model, I would like to make a prediction (e.g. using query_predict for example), unfortunately this fails because query_predict basically does
The result is that
query_vec
always is of size 0 because the training only contains labels asparseDoc
which calls the parse functionality(bool DataParser::parse(const std::vector<std::string>& tokens, vector<Base>& rslts)
) from parser.cpp only identifies words, not labelsSo hence my question. Is it possible to get predictions with such a setting (trainmode 1, only labels) and how?