JakeColtman / bartpy

Bayesian Additive Regression Trees For Python
https://jakecoltman.github.io/bartpy/
MIT License
219 stars 44 forks source link

No Module named bartpy.samplers #64

Closed jckkvs closed 1 year ago

jckkvs commented 1 year ago

Open to "import SklearnModel"

import bartpy
from bartpy.sklearnmodel import SklearnModel

ModuleNotFoundError                       Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_1232/2717476998.py in <module>
----> 1 from bartpy.sklearnmodel import SklearnModel

~\Anaconda3\envs\env\lib\site-packages\bartpy\sklearnmodel.py in 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'

jckkvs commented 1 year ago

it caused by download from pypi.