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 publication2016-09-20 14:20:33
MaintainerLing-Yun Wu <wulingyun@gmail.com>
LicenseGPL (>= 2)
Version0.3-12
https://github.com/wulingyun/CRF

View on R-Forge

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

Files in this package

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

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

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