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

How to import the experimental functions? #177

Open
icy-23 opened this issue Nov 21, 2023 · 3 comments
Open

How to import the experimental functions? #177

icy-23 opened this issue Nov 21, 2023 · 3 comments

Comments

@icy-23
Copy link

icy-23 commented Nov 21, 2023

from sktree.experimental.mutual_info import mutual_info_ksg doesn't work.

from sktree.experimental import mutual_info also doesn't work.

I'm looking to use mutual_info_ksg from here: https://docs.neurodata.io/scikit-tree/dev/_modules/sktree/experimental/mutual_info.html

Thank you,
Justin

@adam2392
Copy link
Collaborator

adam2392 commented Dec 3, 2023

from sktree.experimental import mutual_info_ksg works for me.

FYI this submodule is quite experimental and untested

@icy-23
Copy link
Author

icy-23 commented Dec 5, 2023

Just tried that. I get the following error:

ImportError: Error importing scikit-tree: you cannot import scikit-tree while being in scikit-tree source directory; please exit the scikit-tree source tree first and relaunch your Python interpreter.

Maybe I installed scikit-tree wrong, I only used pip.

Thanks.

@adam2392
Copy link
Collaborator

adam2392 commented Dec 5, 2023

Hmm hard to say, since I cannot reproduce said issue. Can you provide all the information required in a bug report?

https://github.com/neurodata/scikit-tree/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=

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