mbi.estimation.LBFGSState

class mbi.estimation.LBFGSState(potentials: CliqueVector, opt_state: Any)[source]

Bases: NamedTuple

State for L-BFGS optimization on potentials.

Create new instance of LBFGSState(potentials, opt_state)

Methods

__init__

count

Return number of occurrences of value.

index

Return first index of value.

Attributes

opt_state

Alias for field number 1

potentials

Alias for field number 0

potentials: CliqueVector

Alias for field number 0

opt_state: Any

Alias for field number 1