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

Unable to access bartpy.samplers #69

Open
UtkarshMitta opened this issue Jul 3, 2023 · 1 comment
Open

Unable to access bartpy.samplers #69

UtkarshMitta opened this issue Jul 3, 2023 · 1 comment

Comments

@UtkarshMitta
Copy link

I am having error of missing module when I try to import bartpy.sklearnmodel. This is because a module bartpy.samplers is called in that file but not able to import

This is the error I am getting:

[/usr/local/lib/python3.10/dist-packages/bartpy/sklearnmodel.py](https://localhost:8080/#) in <module>
      9 from bartpy.data import Data
     10 from bartpy.model import Model
---> 11 from bartpy.samplers.leafnode import LeafNodeSampler
     12 from bartpy.samplers.modelsampler import ModelSampler, Chain
     13 from bartpy.samplers.schedule import SampleSchedule

ModuleNotFoundError: No module named 'bartpy.samplers'

This is unusual because I checked the library and the module is present

@kazokid
Copy link

kazokid commented Jan 18, 2024

I am experiencing the same problem, were you able to fix it?

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