Package parsimony :: Package functions :: Module losses
[hide private]
[frames] | no frames]

Module losses

source code

The :mod:`parsimony.functions.losses` module contains the loss functions used throughout the package. These represent mathematical functions and should thus have properties used by the corresponding algorithms. These properties are defined in :mod:`parsimony.functions.properties`.

Loss functions should be stateless. Loss functions may be shared and copied and should therefore not hold anything that cannot be recomputed the next time it is called.

Created on Mon Apr 22 10:54:29 2013

Copyright (c) 2013-2014, CEA/DSV/I2BM/Neurospin. All rights reserved.


Author: Tommy Löfstedt, Vincent Guillemot, Edouard Duchesnay and Fouad Hadj-Selem

License: BSD 3-clause.

Classes [hide private]
  LinearRegression
The Linear regression loss function.
  RidgeRegression
The Ridge Regression function, i.e.
  LogisticRegression
The Logistic Regression loss function.
  RidgeLogisticRegression
The Logistic Regression loss function with a squared L2 penalty.
  LatentVariableVariance
  LinearFunction
A linear function.
Variables [hide private]
  __package__ = 'parsimony.functions'