class_docstr: A SupervisedDataset with an additional field `Yvar` that stipulates
  observations variances so that `Y[i] ~ N(f(X[i]), Yvar[i])`.
  
  NOTE: This is deprecated. Use `SupervisedDataset` instead.
  Will be removed in a future release (~v0.11).
docstr: Initialize a `FixedNoiseDataset` -- deprecated!
code: def __init__(
      self,
      X: Union[BotorchContainer, Tensor],
      Y: Union[BotorchContainer, Tensor],
      Yvar: Union[BotorchContainer, Tensor],
      feature_names: List[str],
      outcome_names: List[str],
      validate_init: bool = True,
  ) -> None:
      r"""Initialize a `FixedNoiseDataset` -- deprecated!"""
      warnings.warn(
          "`FixedNoiseDataset` is deprecated. Use `SupervisedDataset` instead.",
          DeprecationWarning,
          stacklevel=2,
      )
      super().__init__(
          X=X,
          Y=Y,
          feature_names=feature_names,
          outcome_names=outcome_names,
          Yvar=Yvar,
          validate_init=validate_init,
      )
  
imports: from __future__ import annotations
  import collections
  import warnings
  from typing import Any, Dict, List, Optional, Union
  import torch
  from botorch.exceptions.errors import InputDataError, UnsupportedError
  from botorch.utils.containers import BotorchContainer, SliceContainer
  from torch import long, ones, Tensor
label_desc: Use image node_id 1 to create a new FixedNoiseDataset object from inherited base classes: SupervisedDataset with example: obj = FixedNoiseDataset(X, Y, Yvar, feature_names, outcome_names, validate_init)