Skip to content

Commit 51429f2

Browse files
Carl Hvarfnerfacebook-github-bot
authored andcommitted
Completing StratifiedStandardize documentation (#3018)
Summary: Pull Request resolved: #3018 This diff completes the documentation for the `StratifiedStandardize` transform in the `botorch`. Reviewed By: saitcakmak Differential Revision: D82834762 fbshipit-source-id: 0919f22e0a40386db79fcd08fd9e11d626336191
1 parent fa3749c commit 51429f2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

botorch/models/transforms/outcome.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,14 +525,18 @@ def __init__(
525525
(including multi-task models that have a single output).
526526
527527
Args:
528-
task_values: `t`-dim tensor of task values.
529-
stratification_idx: The index of the stratification dimension.
528+
stratification_idx: The index of the stratification dimension in the
529+
input tensor X.
530+
observed_task_values: `t`-dim tensor of task values that were actually
531+
observed in the training data.
532+
all_task_values: `t`-dim tensor of all possible task values that could
533+
appear in the dataset.
530534
batch_shape: The batch_shape of the training targets.
531-
min_stddv: The minimum standard deviation for which to perform
535+
min_stdv: The minimum standard deviation for which to perform
532536
standardization (if lower, only de-mean the data).
537+
dtype: The data type for internal computations.
533538
default_task_value: The default task value that unexpected tasks are
534539
mapped to. This is used in `get_task_value_remapping`.
535-
536540
"""
537541
OutcomeTransform.__init__(self)
538542
self._stratification_idx = stratification_idx

0 commit comments

Comments
 (0)