Open onlynishant opened 2 years ago
Raw predictions are only available via the command line currently. I can see this being useful, and there are similar situations such as getting the scores as well as probabilities when using contextual bandits. Patches are welcome, but for something of this nature proposing a design would be necessary before building it.
@jackgerrits I saw there is already an old PR for it: https://github.com/VowpalWabbit/vowpal_wabbit/pull/1244
do you think it's still relevant and can be used?
The fact partial_prediction
is stashed into the cost sensitive label is already a pretty big hack, I would prefer we don't go forward with that design. In saying that though, raw predictions are not super well represented in the framework of predictions as they are effectively all one-off situations so I am not sure of a design at the moment
I am using Java API of vowpal wabbit to get predictions. I need raw prediction (same as
-r output.txt
) but I couldn't find any such method inVWMulticlassLearner
class. I am using belowarg
to train my model in python via cmd -and we are using below code in Java to get predictions -
None of the classes has any method which returns raw prediction.
I want the same prediction as below -
How can I get values that are in file test in Java as a method response? I don't want to read the file to get a response in Java which will be slow.