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

Failed to set number of max iterations to more than 10 #3

Closed
liboxun opened this issue Mar 2, 2020 · 2 comments
Closed

Failed to set number of max iterations to more than 10 #3

liboxun opened this issue Mar 2, 2020 · 2 comments

Comments

@liboxun
Copy link

liboxun commented Mar 2, 2020

When I tried to run Harmony using:

hm.run_harmony(data_mat, meta_data, vars_use, max_iter_harmony=50)

It still only ran 10 iterations and stopped prematurely before reaching convergence. Any idea how to harmonize a dataset with > 10 iterations?

Thanks in advance!

@slowkow slowkow closed this as completed in 3f24468 Mar 3, 2020
@slowkow
Copy link
Owner

slowkow commented Mar 3, 2020

Thanks for reporting the issue! I hope that the latest commit fixes it.

Could I please ask if you might be able to test the latest version from Github?

pip install git+https://github.com/slowkow/harmonypy

@liboxun
Copy link
Author

liboxun commented Mar 5, 2020

This update (0.0.4) fixed it! Thanks!

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

2 participants