bartpy icon indicating copy to clipboard operation
bartpy copied to clipboard

Unable to access ```bartpy.samplers```

Open UtkarshMitta opened this issue 1 year ago • 1 comments

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

UtkarshMitta avatar Jul 03 '23 14:07 UtkarshMitta

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

kazokid avatar Jan 18 '24 11:01 kazokid