Skip to content

Commit

Permalink
rename package name
Browse files Browse the repository at this point in the history
  • Loading branch information
GStechschulte committed Jan 7, 2025
1 parent 67b287d commit a19d764
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
shell: bash
run: |
set -e
pip install --find-links dist --force-reinstall 'pymc-bart[all]'
pip install --find-links dist --force-reinstall 'pymc-bart-rs[all]'
pip install pytest
pytest
- name: pytest
Expand All @@ -57,7 +57,7 @@ jobs:
pip3 install -U pip pytest
run: |
set -e
pip3 install --find-links dist --force-reinstall 'pymc-bart[all]'
pip3 install --find-links dist --force-reinstall 'pymc-bart-rs[all]'
pytest
windows:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
shell: bash
run: |
set -e
pip install "pymc-bart[all]" --find-links dist --force-reinstall
pip install "pymc-bart-rs[all]" --find-links dist --force-reinstall
pip install pytest
pytest
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
shell: bash
run: |
set -e
pip install 'pymc-bart[all]' --find-links dist --force-reinstall
pip install 'pymc-bart-rs[all]' --find-links dist --force-reinstall
pip install pytest
pytest
Expand Down
4 changes: 2 additions & 2 deletions benchmark/examples/bart_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import numpy as np
import pandas as pd
import pymc as pm
import pymc_bart as pmb
import pymc_bart_rs as pmb


RANDOM_SEED = 8457
Expand Down Expand Up @@ -74,7 +74,7 @@ def test_coal(args):
y_data = hist

with pm.Model() as model_coal:
mu = pmb.BART("mu", X=x_data, Y=np.log(y_data), m=args.trees)
mu = pmb.BART("mu", X=x_data, Y=np.log(y_data), m=args.trees, split_rules=["ContinuousSplit"])
exp_mu = pm.Deterministic("exp_mu", pm.math.exp(mu))
y_pred = pm.Poisson("y_pred", mu=exp_mu, observed=y_data)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"

[project]
name = "pymc_bart"
name = "pymc_bart_rs"
requires-python = ">=3.8, <3.13"
classifiers = [
"Programming Language :: Rust",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import pymc as pm

from pymc_bart.bart import BART
from pymc_bart.compile_pymc import CompiledPyMCModel
from pymc_bart.pgbart import PGBART
from pymc_bart.utils import (
from pymc_bart_rs.bart import BART
from pymc_bart_rs.compile_pymc import CompiledPyMCModel
from pymc_bart_rs.pgbart import PGBART
from pymc_bart_rs.utils import (
compute_variable_importance,
plot_convergence,
plot_dependence,
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions python/pymc_bart/pgbart.py → python/pymc_bart_rs/pgbart.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
from pymc.step_methods.compound import Competence
from pytensor.graph.basic import Variable

from pymc_bart.bart import BARTRV
from pymc_bart.compile_pymc import CompiledPyMCModel
from pymc_bart.pymc_bart import initialize, step
from pymc_bart_rs.bart import BARTRV
from pymc_bart_rs.compile_pymc import CompiledPyMCModel
from pymc_bart_rs.pymc_bart import initialize, step


class PGBART(ArrayStepShared):
Expand Down
File renamed without changes.

0 comments on commit a19d764

Please sign in to comment.