Skip to content

Add benches for GNB #33

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

Merged
merged 2 commits into from
Dec 5, 2020
Merged

Conversation

morenol
Copy link
Collaborator

@morenol morenol commented Nov 23, 2020

No description provided.

VolodymyrOrlov
VolodymyrOrlov previously approved these changes Dec 3, 2020
Copy link
Collaborator

@VolodymyrOrlov VolodymyrOrlov left a comment

Choose a reason for hiding this comment

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

Looks good! So what are the next steps? Were these tests helpful in highlighting bottlenecks and determining optimization plan?

n_samples,
|b, _| {
b.iter(|| {
GaussianNB::fit(&x, &y, Default::default()).unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

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

I do not really understand value of black_box but wondering, should we use it here for x and y. What do you think?

@morenol morenol merged commit 2650416 into smartcorelib:development Dec 5, 2020
@morenol morenol deleted the lmm/gnb_bench branch December 5, 2020 00:47
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.

2 participants