class_docstr: A Student T likelihood/noise model for GP regression.
  It has two learnable parameters: :math:`\nu` - the degrees of freedom, and
  :math:`\sigma^2` - the noise
  
  :param batch_shape: The batch shape of the learned noise parameter (default: []).
  :param noise_prior: Prior for noise parameter :math:`\sigma^2`.
  :param noise_constraint: Constraint for noise parameter :math:`\sigma^2`.
  :param deg_free_prior: Prior for deg_free parameter :math:`\nu`.
  :param deg_free_constraint: Constraint for deg_free parameter :math:`\nu`.
  
  :var torch.Tensor deg_free: :math:`\nu` parameter (degrees of freedom)
  :var torch.Tensor noise: :math:`\sigma^2` parameter (noise)
class_docstr_tok: ["A","Student","T","likelihood\/noise","model","for","GP","regression",".","It","has","two","learnable","parameters",":",":","math",":","`","\\nu","`","-","the","degrees","of","freedom",",","and",":","math",":","`","\\sigma^2","`","-","the","noise",":","param","batch_shape",":","The","batch","shape","of","the","learned","noise","parameter","(","default",":","[","]",")",".",":","param","noise_prior",":","Prior","for","noise","parameter",":","math",":","`","\\sigma^2","`",".",":","param","noise_constraint",":","Constraint","for","noise","parameter",":","math",":","`","\\sigma^2","`",".",":","param","deg_free_prior",":","Prior","for","deg_free","parameter",":","math",":","`","\\nu","`",".",":","param","deg_free_constraint",":","Constraint","for","deg_free","parameter",":","math",":","`","\\nu","`",".",":","var","torch.Tensor","deg_free",":",":","math",":","`","\\nu","`","parameter","(","degrees","of","freedom",")",":","var","torch.Tensor","noise",":",":","math",":","`","\\sigma^2","`","parameter","(","noise",")"]
code: def deg_free(self, value: Tensor) -> None:
      self._set_deg_free(value)
  
file_path: gpytorch/gpytorch/likelihoods/student_t_likelihood.py
imports: from typing import Any, Optional
  import torch
  from torch import Tensor
  from torch.distributions import StudentT
  from ..constraints import GreaterThan, Interval, Positive
  from ..distributions import base_distributions
  from ..priors import Prior
  from .likelihood import _OneDimensionalLikelihood
label_desc: Use image node_id 3 for calling the StudentTLikelihood obj's underlying member method code with example usage: obj.deg_free(value) without return types