CRF: Conditional Random Fields

Implements modeling and computational tools for conditional random fields (CRF) model as well as other probabilistic undirected graphical models of discrete data with pairwise and unary potentials.

AuthorLing-Yun Wu [aut, cre]
Date of publication2017-02-01 08:52:27
MaintainerLing-Yun Wu <wulingyun@gmail.com>
LicenseGPL (>= 2)
Version0.3-14
https://github.com/wulingyun/CRF

View on CRAN

Man pages

Chain: Chain CRF example

clamp.crf: Make clamped CRF

clamp.reset: Reset clamped CRF

Clique: Clique CRF example

crf.nll: Calculate CRF negative log likelihood

CRF-package: CRF - Conditional Random Fields

crf.update: Update CRF potentials

decode.block: Decoding method using block iterated conditional modes...

decode.chain: Decoding method for chain-structured graphs

decode.conditional: Conditional decoding method

decode.cutset: Decoding method for graphs with a small cutset

decode.exact: Decoding method for small graphs

decode.greedy: Decoding method using greedy algorithm

decode.icm: Decoding method using iterated conditional modes algorithm

decode.ilp: Decoding method using integer linear programming

decode.junction: Decoding method for low-treewidth graphs

decode.lbp: Decoding method using loopy belief propagation

decode.marginal: Decoding method using inference

decode.sample: Decoding method using sampling

decode.trbp: Decoding method using tree-reweighted belief propagation

decode.tree: Decoding method for tree- and forest-structured graphs

duplicate.crf: Duplicate CRF

get.logPotential: Calculate the log-potential of CRF

get.potential: Calculate the potential of CRF

infer.chain: Inference method for chain-structured graphs

infer.conditional: Conditional inference method

infer.cutset: Inference method for graphs with a small cutset

infer.exact: Inference method for small graphs

infer.junction: Inference method for low-treewidth graphs

infer.lbp: Inference method using loopy belief propagation

infer.sample: Inference method using sampling

infer.trbp: Inference method using tree-reweighted belief propagation

infer.tree: Inference method for tree- and forest-structured graphs

Loop: Loop CRF example

make.crf: Make CRF

make.features: Make CRF features

make.par: Make CRF parameters

mrf.nll: Calculate MRF negative log-likelihood

mrf.stat: Calculate MRF sufficient statistics

mrf.update: Update MRF potentials

Rain: Rain data

sample.chain: Sampling method for chain-structured graphs

sample.conditional: Conditional sampling method

sample.cutset: Sampling method for graphs with a small cutset

sample.exact: Sampling method for small graphs

sample.gibbs: Sampling method using single-site Gibbs sampler

sample.junction: Sampling method for low-treewidth graphs

sample.tree: Sampling method for tree- and forest-structured graphs

Small: Small CRF example

sub.crf: Make sub CRF

train.crf: Train CRF model

train.mrf: Train MRF model

Tree: Tree CRF example

Functions

Chain Man page
clamp.crf Man page
clamp.reset Man page
Clique Man page
CRF Man page
crf.nll Man page
CRF-package Man page
crf.update Man page
decode.block Man page
decode.chain Man page
decode.conditional Man page
decode.cutset Man page
decode.exact Man page
decode.greedy Man page
decode.icm Man page
decode.ilp Man page
decode.junction Man page
decode.lbp Man page
decode.marginal Man page
decode.sample Man page
decode.trbp Man page
decode.tree Man page
duplicate.crf Man page
get.logPotential Man page
get.potential Man page
infer.chain Man page
infer.conditional Man page
infer.cutset Man page
infer.exact Man page
infer.junction Man page
infer.lbp Man page
infer.sample Man page
infer.trbp Man page
infer.tree Man page
Loop Man page
make.crf Man page
make.features Man page
make.par Man page
mrf.nll Man page
mrf.stat Man page
mrf.update Man page
Rain Man page
sample.chain Man page
sample.conditional Man page
sample.cutset Man page
sample.exact Man page
sample.gibbs Man page
sample.junction Man page
sample.tree Man page
Small Man page
sub.crf Man page
train.crf Man page
train.mrf Man page
Tree Man page

Files

CRF
CRF/inst
CRF/inst/doc
CRF/inst/doc/Tutorial.Rmd
CRF/inst/doc/Tutorial.pdf
CRF/tests
CRF/tests/ExampleSmall.R
CRF/tests/ExampleRain.R
CRF/tests/test.infer.R
CRF/tests/ExampleChain.R
CRF/tests/ExampleTree.R
CRF/tests/ExampleClique.R
CRF/tests/ExampleLoop.R
CRF/tests/test.mrf.R
CRF/tests/test.decode.R
CRF/tests/test.sample.R
CRF/tests/Rain_rain.csv
CRF/tests/test.crf.R
CRF/tests/Rain_months.csv
CRF/src
CRF/src/TRBP.cpp
CRF/src/misc.cpp
CRF/src/Decode_Greedy.cpp
CRF/src/Sample_Junction.cpp
CRF/src/Decode_Chain.cpp
CRF/src/Infer_Tree.cpp
CRF/src/Infer_Sample.cpp
CRF/src/Decode_LBP.cpp
CRF/src/LoopyBP.cpp
CRF/src/CRF.cpp
CRF/src/Sample_Exact.cpp
CRF/src/Infer_Cutset.cpp
CRF/src/Potential.cpp
CRF/src/misc.h
CRF/src/Sample_Tree.cpp
CRF/src/Infer_TRBP.cpp
CRF/src/Decode_Cutset.cpp
CRF/src/Infer_Chain.cpp
CRF/src/Train.cpp
CRF/src/JunctionTree.cpp
CRF/src/Decode_Junction.cpp
CRF/src/Decode_Sample.cpp
CRF/src/Decode_Tree.cpp
CRF/src/Infer_Junction.cpp
CRF/src/Decode_TRBP.cpp
CRF/src/CRF.h
CRF/src/Clamp.cpp
CRF/src/Sample_Gibbs.cpp
CRF/src/Decode_ICM.cpp
CRF/src/Infer_Exact.cpp
CRF/src/TreeBP.cpp
CRF/src/Sample_Chain.cpp
CRF/src/Decode_Exact.cpp
CRF/src/Make_AdjInfo.cpp
CRF/src/Infer_LBP.cpp
CRF/src/Sample_Cutset.cpp
CRF/src/BP.cpp
CRF/NAMESPACE
CRF/data
CRF/data/Tree.RData
CRF/data/Clique.RData
CRF/data/Small.RData
CRF/data/Rain.RData
CRF/data/Loop.RData
CRF/data/Chain.RData
CRF/R
CRF/R/CRF-package.R CRF/R/infer.R CRF/R/sample.R CRF/R/train.R CRF/R/decode.R CRF/R/misc.R CRF/R/clamp.R
CRF/vignettes
CRF/vignettes/Tutorial.Rmd
CRF/README.md
CRF/MD5
CRF/build
CRF/build/vignette.rds
CRF/DESCRIPTION
CRF/man
CRF/man/sample.gibbs.Rd CRF/man/infer.cutset.Rd CRF/man/clamp.reset.Rd CRF/man/decode.sample.Rd CRF/man/Chain.Rd CRF/man/sample.conditional.Rd CRF/man/decode.cutset.Rd CRF/man/get.potential.Rd CRF/man/decode.chain.Rd CRF/man/train.crf.Rd CRF/man/infer.lbp.Rd CRF/man/decode.lbp.Rd CRF/man/make.features.Rd CRF/man/sample.junction.Rd CRF/man/decode.ilp.Rd CRF/man/decode.greedy.Rd CRF/man/Tree.Rd CRF/man/decode.tree.Rd CRF/man/duplicate.crf.Rd CRF/man/infer.chain.Rd CRF/man/decode.trbp.Rd CRF/man/crf.update.Rd CRF/man/make.par.Rd CRF/man/infer.conditional.Rd CRF/man/mrf.stat.Rd CRF/man/decode.conditional.Rd CRF/man/Loop.Rd CRF/man/infer.tree.Rd CRF/man/Small.Rd CRF/man/decode.exact.Rd CRF/man/Clique.Rd CRF/man/infer.trbp.Rd CRF/man/decode.marginal.Rd CRF/man/get.logPotential.Rd CRF/man/decode.junction.Rd CRF/man/mrf.nll.Rd CRF/man/crf.nll.Rd CRF/man/infer.exact.Rd CRF/man/sub.crf.Rd CRF/man/sample.chain.Rd CRF/man/mrf.update.Rd CRF/man/make.crf.Rd CRF/man/decode.block.Rd CRF/man/infer.sample.Rd CRF/man/clamp.crf.Rd CRF/man/Rain.Rd CRF/man/CRF-package.Rd CRF/man/sample.exact.Rd CRF/man/infer.junction.Rd CRF/man/train.mrf.Rd CRF/man/decode.icm.Rd CRF/man/sample.cutset.Rd CRF/man/sample.tree.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.