Skip to content

Unable to access bartpy.samplers #69

@UtkarshMitta

Description

@UtkarshMitta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions