Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]] Former-commit-id:06a8b51d6d
Former-commit-id:9bb8decbcf
[formerly8e80217e59
] [formerly377dcd10b9
[formerly3360eb6c5f
]] Former-commit-id:377dcd10b9
Former-commit-id:e2ecdcfe33
88 lines
1.6 KiB
ReStructuredText
Executable file
88 lines
1.6 KiB
ReStructuredText
Executable file
================================================
|
|
Maximum entropy models (:mod:`scipy.maxentropy`)
|
|
================================================
|
|
|
|
.. automodule:: scipy.maxentropy
|
|
|
|
Models
|
|
======
|
|
.. autoclass:: scipy.maxentropy.basemodel
|
|
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
basemodel.beginlogging
|
|
basemodel.endlogging
|
|
basemodel.clearcache
|
|
basemodel.crossentropy
|
|
basemodel.dual
|
|
basemodel.fit
|
|
basemodel.grad
|
|
basemodel.log
|
|
basemodel.logparams
|
|
basemodel.normconst
|
|
basemodel.reset
|
|
basemodel.setcallback
|
|
basemodel.setparams
|
|
basemodel.setsmooth
|
|
|
|
.. autoclass:: scipy.maxentropy.model
|
|
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
model.expectations
|
|
model.lognormconst
|
|
model.logpmf
|
|
model.pmf_function
|
|
model.setfeaturesandsamplespace
|
|
|
|
.. autoclass:: scipy.maxentropy.bigmodel
|
|
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
bigmodel.estimate
|
|
bigmodel.logpdf
|
|
bigmodel.pdf
|
|
bigmodel.pdf_function
|
|
bigmodel.resample
|
|
bigmodel.setsampleFgen
|
|
bigmodel.settestsamples
|
|
bigmodel.stochapprox
|
|
bigmodel.test
|
|
|
|
.. autoclass:: scipy.maxentropy.conditionalmodel
|
|
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
conditionalmodel.dual
|
|
conditionalmodel.expectations
|
|
conditionalmodel.fit
|
|
conditionalmodel.lognormconst
|
|
conditionalmodel.logpmf
|
|
|
|
Utilities
|
|
=========
|
|
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
arrayexp
|
|
arrayexpcomplex
|
|
columnmeans
|
|
columnvariances
|
|
densefeaturematrix
|
|
densefeatures
|
|
dotprod
|
|
flatten
|
|
innerprod
|
|
innerprodtranspose
|
|
logsumexp
|
|
logsumexp_naive
|
|
robustlog
|
|
rowmeans
|
|
sample_wr
|
|
sparsefeaturematrix
|
|
sparsefeatures
|