Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error 'java/lang/NoClassDefFoundError': vowpalWabbit/responses/ActionProb #9

Open
pallavi080596 opened this issue Oct 5, 2023 · 0 comments

Comments

@pallavi080596
Copy link

Hi,

I am trying to run contextual MAB algo by creating this learner:
static VWActionProbsLearner learner = VWLearners.create("--cb_explore_adf -q UA --softmax --lambda 20 --noconstant --permutations --learning_rate 0.8 --readable_model path.txt --invert_hash path_1.txt -f saved_model.vw --holdout_off --early_terminate 2");
After this, I am trying to predict using this command:
ActionProbs[] testPreds = new ActionProbs[]{learner.predict(vwTextExample)};

While calling this, I am getting error:
Getting error 'java/lang/NoClassDefFoundError': vowpalWabbit/responses/ActionProb

Can you please help here, what can be the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant