funclp.Estimator module

class funclp.Estimator(distribution=None, **kwargs)[source]

Bases: ABC, CudaReference

Class defining an estimator function for fitting data.

Parameters:
  • distribution (Distribution) – Distribution instance.

  • kwargs (dict) – Attributes to change.

deviance[source]

How well the model fits the data

Type:

method

loss[source]

Loss for gradient descent

Type:

method

observed[source]

Observed Hessian (negative second derivative)

Type:

method

fisher[source]

Expected Hessian (Fisher information)

Type:

method

abstract property cpukernel_deviance
abstract property cpukernel_fisher
abstract property cpukernel_loss
abstract property cpukernel_observed
abstractmethod deviance(raw_data, model_data, weights=1, **kwargs)[source]
abstractmethod fisher(raw_data, model_data, weights=1, **kwargs)[source]
abstract property gpukernel_deviance
abstract property gpukernel_fisher
abstract property gpukernel_loss
abstract property gpukernel_observed
abstractmethod loss(raw_data, model_data, weights=1, **kwargs)[source]
property name
abstractmethod observed(raw_data, model_data, weights=1, **kwargs)[source]

Estimators