Learn R Programming

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

CRF (version 0.3-7)

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

108

Version

0.3-7

License

GPL (>= 2)

Maintainer

LingYun Wu

Last Published

May 6th, 2014

Functions in CRF (0.3-7)

infer.cutset

Inference method for graphs with a small cutset
decode.conditional

Conditional decoding method
sample.tree

Sampling method for tree- and forest-structured graphs
sub.crf

Make sub CRF
infer.tree

Inference method for tree- and forest-structured graphs
Chain

Chain CRF example
make.crf

Make CRF
get.logPotential

Calculate the log-potential of CRF
decode.junction

Decoding method for low-treewidth graphs
sample.cutset

Sampling method for graphs with a small cutset
decode.sample

Decoding method using sampling
CRF-package

CRF - Conditional Random Fields
decode.marginal

Decoding method using inference
decode.tree

Decoding method for tree- and forest-structured graphs
crf.update

Update CRF potentials
mrf.stat

Calculate MRF sufficient statistics
infer.conditional

Conditional inference method
sample.gibbs

Sampling method using single-site Gibbs sampler
infer.junction

Inference method for low-treewidth graphs
decode.lbp

Decoding method using loopy belief propagation
Loop

Loop CRF example
make.features

Make CRF features
Clique

Clique CRF example
sample.junction

Sampling method for low-treewidth graphs
Small

Small CRF example
sample.chain

Sampling method for chain-structured graphs
decode.cutset

Decoding method for graphs with a small cutset
decode.exact

Decoding method for small graphs
duplicate.crf

Duplicate CRF
infer.chain

Inference method for chain-structured graphs
infer.sample

Inference method using sampling
infer.lbp

Inference method using loopy belief propagation
Tree

Tree CRF example
clamp.crf

Make clamped CRF
infer.trbp

Inference method using tree-reweighted belief propagation
Rain

Rain data
train.mrf

Train MRF model
decode.trbp

Decoding method using tree-reweighted belief propagation
mrf.nll

Calculate MRF negative log-likelihood
get.potential

Calculate the potential of CRF
train.crf

Train CRF model
sample.exact

Sampling method for small graphs
infer.exact

Inference method for small graphs
crf.nll

Calculate CRF negative log likelihood
decode.greedy

Decoding method using greedy algorithm
sample.conditional

Conditional sampling method
decode.ilp

Decoding method using integer linear programming
decode.chain

Decoding method for chain-structured graphs
decode.icm

Decoding method using iterated conditional modes algorithm
clamp.reset

Reset clamped CRF
decode.block

Decoding method using block iterated conditional modes algorithm
mrf.update

Update MRF potentials
make.par

Make CRF parameters