scikit-tree icon indicating copy to clipboard operation
scikit-tree copied to clipboard

How to import the experimental functions?

Open icy-23 opened this issue 2 years ago • 3 comments

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

icy-23 avatar Nov 21 '23 16:11 icy-23

from sktree.experimental import mutual_info_ksg works for me.

FYI this submodule is quite experimental and untested

adam2392 avatar Dec 03 '23 00:12 adam2392

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.

icy-23 avatar Dec 05 '23 15:12 icy-23

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=

adam2392 avatar Dec 05 '23 15:12 adam2392