You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,17 @@
1
1
# Changelog
2
2
3
+
# stochtree 0.2.1.9000
4
+
5
+
## Bug Fixes
6
+
7
+
* Fix prediction bug for R BART models with random effects with labels that aren't straightforward `1:num_groups` integers when only `y_hat` is requested ([#256](https://github.com/StochasticTree/stochtree/pull/256))
8
+
3
9
# stochtree 0.2.1
4
10
5
11
## Bug Fixes
6
12
7
13
* Fix prediction bug for univariate random effects models in R ([#248](https://github.com/StochasticTree/stochtree/pull/248))
14
+
* Fix prediction bug for Python BART and BCF models with random effects with labels that aren't straightforward `0:(num_groups-1)` integers ([#256](https://github.com/StochasticTree/stochtree/pull/256))
Copy file name to clipboardExpand all lines: NEWS.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,15 @@
1
+
# stochtree 0.2.1.9000
2
+
3
+
## Bug Fixes
4
+
5
+
* Fix prediction bug for R BART models with random effects with labels that aren't straightforward `1:num_groups` integers when only `y_hat` is requested ([#256](https://github.com/StochasticTree/stochtree/pull/256))
6
+
1
7
# stochtree 0.2.1
2
8
3
9
## Bug Fixes
4
10
5
11
* Fix prediction bug for univariate random effects models in R ([#248](https://github.com/StochasticTree/stochtree/pull/248))
12
+
* Fix prediction bug for Python BART and BCF models with random effects with labels that aren't straightforward `0:(num_groups-1)` integers ([#256](https://github.com/StochasticTree/stochtree/pull/256))
Map an array of integer-valued random effects group IDs to their groups' corresponding positions in the arrays that store random effects parameter samples.
441
+
442
+
Parameters
443
+
----------
444
+
group_ids : np.ndarray
445
+
Array of group identifiers (integer-valued) to be converted to an array position.
446
+
447
+
Returns
448
+
-------
449
+
np.ndarray
450
+
Numpy array of the position of `group_id` in the parameter sample arrays underlying the random effects container.
0 commit comments