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
Whether to exponentiate the variance weights before storing them in the dataset.
106
108
"""
107
109
ifnotself.has_variance_weights():
108
110
raiseValueError("This dataset does not have variance weights to update. Please use `add_variance_weights` to create and initialize the values in the Dataset's variance weight vector.")
raiseValueError("variance_weights must be a 1-dimensional numpy array.")
115
117
ifself.num_observations() !=n:
116
118
raiseValueError(f"The number of rows in the new variance_weights vector ({n}) must match the number of rows in the existing vector ({self.num_observations()}).")
Whether to exponentiate the variance weights before storing them in the dataset.
123
125
"""
124
126
ifnotself.has_variance_weights():
125
127
raiseValueError("This dataset does not have variance weights to update. Please use `add_variance_weights` to create and initialize the values in the Dataset's variance weight vector.")
raiseValueError(f"The number of rows in the new variance_weights vector ({n}) must match the number of rows in the existing vector ({self.num_observations()}).")
0 commit comments