easypheno.model.linearregression

Module Contents

Classes

LinearRegression

Implementation of a class for Linear respective Logistic Regression.

class easypheno.model.linearregression.LinearRegression(task, optuna_trial, encoding=None, n_outputs=1)

Bases: easypheno.model._sklearn_model.SklearnModel

Implementation of a class for Linear respective Logistic Regression.

See BaseModel for more information on the attributes.

Parameters
  • task (str) –

  • optuna_trial (optuna.trial.Trial) –

  • encoding (str) –

  • n_outputs (int) –

standard_encoding = 012
possible_encodings = ['012']
define_model(self)

Definition of the actual prediction model.

See BaseModel for more information.

define_hyperparams_to_tune(self)

See BaseModel for more information on the format.

Return type

dict