8000 Issue #339: minor optimization by acompa · Pull Request #971 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Issue #339: minor optimization #971

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 1 commit into from
Jul 20, 2012
Merged

Issue #339: minor optimization #971

merged 1 commit into from
Jul 20, 2012

Conversation

acompa
Copy link
@acompa acompa commented Jul 20, 2012

Profiling shows tests.test.train_hmm_and_keep_track_of_log_likelihood()
takes 3.5s. This is a "quick win" optimization, and cuts the number in half by running the above method fewer times.

Profiling shows tests.test.train_hmm_and_keep_track_of_log_likelihood
takes 3s to run. This decreases that number a bit.
@amueller
Copy link
Member

Seems reasonable. What do others think?

@ogrisel
Copy link
Member
ogrisel commented Jul 20, 2012

+1 I will push the green button. We can always revert if it breaks on other machines such as jenkins...

ogrisel added a commit that referenced this pull request Jul 20, 2012
Issue #339: minor optimization
@ogrisel ogrisel merged commit bbd1350 into scikit-learn:master Jul 20, 2012
@ogrisel
Copy link
Member
ogrisel commented Jul 20, 2012

Thanks for the PR @acompa

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.

3 participants
0