Learn R Programming

⚠️There's a newer version (0.4-3) of this package.Take me there.

CRF (version 0.3-6)

CRF - Conditional Random Fields

Description

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

Copy Link

Version

Install

install.packages('CRF')

Monthly Downloads

28

Version

0.3-6

License

GPL (>= 2)

Maintainer

LingYun Wu

Last Published

February 17th, 2014

Functions in CRF (0.3-6)

Small

Small CRF example
get.potential

Calculate the potential of CRF
clamp.crf

Make clamped CRF
crf.update

Update CRF potentials
get.logPotential

Calculate the log-potential of CRF
infer.cutset

Inference method for graphs with a small cutset
infer.sample

Inference method using sampling
decode.sample

Decoding method using sampling
infer.junction

Inference method for low-treewidth graphs
mrf.stat

Calculate MRF sufficient statistics
make.crf

Make CRF
decode.trbp

Decoding method using tree-reweighted belief propagation
decode.tree

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

Decoding method using greedy algorithm
clamp.reset

Reset clamped CRF
Loop

Loop CRF example
infer.exact

Inference method for small graphs
Rain

Rain data
sample.gibbs

Sampling method using single-site Gibbs sampler
Tree

Tree CRF example
decode.junction

Decoding method for low-treewidth graphs
Chain

Chain CRF example
decode.cutset

Decoding method for graphs with a small cutset
sample.conditional

Conditional sampling method
sample.tree

Sampling method for tree- and forest-structured graphs
make.features

Make CRF features
decode.chain

Decoding method for chain-structured graphs
infer.trbp

Inference method using tree-reweighted belief propagation
sample.chain

Sampling method for chain-structured graphs
sample.junction

Sampling method for low-treewidth graphs
decode.icm

Decoding method using iterated conditional modes algorithm
decode.lbp

Decoding method using loopy belief propagation
sub.crf

Make sub CRF
sample.cutset

Sampling method for graphs with a small cutset
decode.ilp

Decoding method using integer linear programming
decode.exact

Decoding method for small graphs
duplicate.crf

Duplicate CRF
infer.chain

Inference method for chain-structured graphs
make.par

Make CRF parameters
train.crf

Train CRF model
crf.nll

Calculate CRF negative log likelihood
decode.marginal

Decoding method using inference
infer.conditional

Conditional inference method
infer.tree

Inference method for tree- and forest-structured graphs
decode.block

Decoding method using block iterated conditional modes algorithm
Clique

Clique CRF example
mrf.update

Update MRF potentials
mrf.nll

Calculate MRF negative log-likelihood
CRF-package

CRF - Conditional Random Fields
train.mrf

Train MRF model
infer.lbp

Inference method using loopy belief propagation
decode.conditional

Conditional decoding method
sample.exact

Sampling method for small graphs