easypheno.model.bayes_ridge

Module Contents

Classes

BayesRidge

Implementation of a class for Bayesian Ridge Regression. R implementaiton of Bayes A, B and C is availabile via Docker workflow and weigh faster.

class easypheno.model.bayes_ridge.BayesRidge(task, encoding=None, iterations=100, warmup=10)

Bases: easypheno.model._bayesian_linreg.Bayes

Implementation of a class for Bayesian Ridge Regression. R implementaiton of Bayes A, B and C is availabile via Docker workflow and weigh faster.

Attributes

Inherited attributes

See Bayes for more information on the attributes.

Parameters
  • task (str) –

  • encoding (str) –

  • iterations (int) –

  • warmup (int) –

probability_model(self, X, y)

Implementation of probability model for Bayesian ridge regression

See Bayes for more information on the attributes.

Parameters
  • X (torch.tensor) –

  • y (torch.Tensor) –