docstr: DEPRECATED: Use `SingleTaskMultiFidelityGP` instead.
  Will be removed in a future release (~v0.11).
docstr_tok: ["DEPRECATED",":","Use","`","SingleTaskMultiFidelityGP","`","instead",".","Will","be","removed","in","a","future","release","(","~v0.11",")","."]
code: def __init__(
      self,
      train_X: Tensor,
      train_Y: Tensor,
      train_Yvar: Tensor,
      iteration_fidelity: Optional[int] = None,
      data_fidelities: Optional[Union[List[int], Tuple[int]]] = None,
      data_fidelity: Optional[int] = None,
      linear_truncated: bool = True,
      nu: float = 2.5,
      outcome_transform: Optional[OutcomeTransform] = None,
      input_transform: Optional[InputTransform] = None,
  ) -> None:
      r"""DEPRECATED: Use `SingleTaskMultiFidelityGP` instead.
      Will be removed in a future release (~v0.11).
      """
      warnings.warn(
          "`FixedNoiseMultiFidelityGP` has been deprecated. "
          "Use `SingleTaskMultiFidelityGP` with `train_Yvar` instead.",
          DeprecationWarning,
      )
      super().__init__(
          train_X=train_X,
          train_Y=train_Y,
          train_Yvar=train_Yvar,
          iteration_fidelity=iteration_fidelity,
          data_fidelities=data_fidelities,
          data_fidelity=data_fidelity,
          linear_truncated=linear_truncated,
          nu=nu,
          outcome_transform=outcome_transform,
          input_transform=input_transform,
      )
  
imports: from __future__ import annotations
  import warnings
  from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
  from botorch.exceptions.errors import UnsupportedError
  from botorch.models.gp_regression import SingleTaskGP
  from botorch.models.kernels.downsampling import DownsamplingKernel
  from botorch.models.kernels.exponential_decay import ExponentialDecayKernel
  from botorch.models.kernels.linear_truncated_fidelity import LinearTruncatedFidelityKernel
  from botorch.models.transforms.input import InputTransform
  from botorch.models.transforms.outcome import OutcomeTransform
  from botorch.utils.datasets import SupervisedDataset
  from gpytorch.kernels.kernel import ProductKernel
  from gpytorch.kernels.rbf_kernel import RBFKernel
  from gpytorch.kernels.scale_kernel import ScaleKernel
  from gpytorch.likelihoods.likelihood import Likelihood
  from gpytorch.priors.torch_priors import GammaPrior
  from torch import Tensor
label_desc: Use image node_id 1 to create a new FixedNoiseMultiFidelityGP object from inherited base classes: SingleTaskMultiFidelityGP with example: obj = FixedNoiseMultiFidelityGP(train_X, train_Y, train_Yvar, iteration_fidelity, data_fidelities, data_fidelity, linear_truncated, nu, outcome_transform, input_transform)