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

Benchmarks #2

Closed
gdalle opened this issue Jun 6, 2023 · 4 comments
Closed

Benchmarks #2

gdalle opened this issue Jun 6, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@gdalle
Copy link
Owner

gdalle commented Jun 6, 2023

Compare with competitors on the efficiency of the 3 main algorithms (forward, Viterbi, Baum-Welch):

Scenarios:

  • dense / sparse
  • log / not log
@gdalle gdalle added the enhancement New feature or request label Jun 6, 2023
@tbeason
Copy link

tbeason commented Jun 9, 2023

seqHMM R package might also be a worthy competitor? That is what I was using previously (via RCall)

https://github.com/helske/seqHMM

They say

Maximum likelihood estimation via EM algorithm and direct numerical maximization with analytical gradients is supported. All main algorithms are written in C++ with parallel computation support via OpenMP.

@gdalle
Copy link
Owner Author

gdalle commented Jun 9, 2023

Unfortunately I don't know how to write R code ^^

Besides, I'm a little wary of benchmarking through an interface package like PythonCall or RCall. That is why, for my current benchmarks, the Python timings are measured from within Python itself.

If you want to submit a PR doing the same with seqHMM, I can't promise I'll merge but at least I'll study it!
From what I gather it only does categorical observations? Is that your primary use case? I could also add those to the benchmark sets.

@tbeason
Copy link

tbeason commented Jun 10, 2023

From what I gather it only does categorical observations? Is that your primary use case?

Yes to both, although I expect I could use this in the future for other purposes as well.

@gdalle
Copy link
Owner Author

gdalle commented Mar 27, 2024

Mostly solved for Python competitors, including the brand new dynamax (see upcoming JOSS paper)

@gdalle gdalle closed this as completed Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants