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

feat: WASM sample pmf and predict_and_sample #4579

Merged
merged 7 commits into from May 4, 2023

Conversation

olgavrou
Copy link
Collaborator

@olgavrou olgavrou commented May 2, 2023

No description provided.


assert(chosen1["uuid"] == uuid);
assert(chosen1["uuid"] == chosen2["uuid"]);
assert(chosen1["action"] == chosen2["action"]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: ===


model.learn(example);

let model_sumLoss = model.sumLoss();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: variable name should be camelCase

@olgavrou olgavrou merged commit 18d0f55 into VowpalWabbit:master May 4, 2023
115 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants