Package: CRF 0.4-3

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.

Authors:Ling-Yun Wu [aut, cre]

CRF_0.4-3.tar.gz
CRF_0.4-3.zip(r-4.5)CRF_0.4-3.zip(r-4.4)CRF_0.4-3.zip(r-4.3)
CRF_0.4-3.tgz(r-4.4-x86_64)CRF_0.4-3.tgz(r-4.4-arm64)CRF_0.4-3.tgz(r-4.3-x86_64)CRF_0.4-3.tgz(r-4.3-arm64)
CRF_0.4-3.tar.gz(r-4.5-noble)CRF_0.4-3.tar.gz(r-4.4-noble)
CRF_0.4-3.tgz(r-4.4-emscripten)CRF_0.4-3.tgz(r-4.3-emscripten)
CRF.pdf |CRF.html
CRF/json (API)

# Install 'CRF' in R:
install.packages('CRF', repos = c('https://wulingyun.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/wulingyun/crf/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

48 exports 18 stars 4.62 score 2 dependencies 1 dependents 38 mentions 167 scripts 298 downloads

Last updated 5 years agofrom:9fef1d137a. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 27 2024
R-4.5-win-x86_64OKAug 28 2024
R-4.5-linux-x86_64OKAug 27 2024
R-4.4-win-x86_64OKAug 28 2024
R-4.4-mac-x86_64OKAug 28 2024
R-4.4-mac-aarch64OKAug 27 2024
R-4.3-win-x86_64OKAug 27 2024
R-4.3-mac-x86_64OKAug 28 2024
R-4.3-mac-aarch64OKAug 28 2024

Exports:clamp.crfclamp.resetcrf.nllcrf.updatedecode.blockdecode.chaindecode.conditionaldecode.cutsetdecode.exactdecode.greedydecode.icmdecode.ilpdecode.junctiondecode.lbpdecode.marginaldecode.rbpdecode.sampledecode.trbpdecode.treeduplicate.crfget.logPotentialget.potentialinfer.chaininfer.conditionalinfer.cutsetinfer.exactinfer.junctioninfer.lbpinfer.rbpinfer.sampleinfer.trbpinfer.treemake.crfmake.featuresmake.parmrf.nllmrf.statmrf.updatesample.chainsample.conditionalsample.cutsetsample.exactsample.gibbssample.junctionsample.treesub.crftrain.crftrain.mrf

Dependencies:latticeMatrix

CRF Tutorial

Rendered fromTutorial.Rmdusingknitr::rmarkdownon Aug 27 2024.

Last update: 2019-11-29
Started: 2016-08-27

Readme and manuals

Help Manual

Help pageTopics
CRF - Conditional Random FieldsCRF-package CRF
Chain CRF exampleChain
Make clamped CRFclamp.crf
Reset clamped CRFclamp.reset
Clique CRF exampleClique
Calculate CRF negative log likelihoodcrf.nll
Update CRF potentialscrf.update
Decoding method using block iterated conditional modes algorithmdecode.block
Decoding method for chain-structured graphsdecode.chain
Conditional decoding methoddecode.conditional
Decoding method for graphs with a small cutsetdecode.cutset
Decoding method for small graphsdecode.exact
Decoding method using greedy algorithmdecode.greedy
Decoding method using iterated conditional modes algorithmdecode.icm
Decoding method using integer linear programmingdecode.ilp
Decoding method for low-treewidth graphsdecode.junction
Decoding method using loopy belief propagationdecode.lbp
Decoding method using inferencedecode.marginal
Decoding method using residual belief propagationdecode.rbp
Decoding method using samplingdecode.sample
Decoding method using tree-reweighted belief propagationdecode.trbp
Decoding method for tree- and forest-structured graphsdecode.tree
Duplicate CRFduplicate.crf
Calculate the log-potential of CRFget.logPotential
Calculate the potential of CRFget.potential
Inference method for chain-structured graphsinfer.chain
Conditional inference methodinfer.conditional
Inference method for graphs with a small cutsetinfer.cutset
Inference method for small graphsinfer.exact
Inference method for low-treewidth graphsinfer.junction
Inference method using loopy belief propagationinfer.lbp
Inference method using residual belief propagationinfer.rbp
Inference method using samplinginfer.sample
Inference method using tree-reweighted belief propagationinfer.trbp
Inference method for tree- and forest-structured graphsinfer.tree
Loop CRF exampleLoop
Make CRFmake.crf
Make CRF featuresmake.features
Make CRF parametersmake.par
Calculate MRF negative log-likelihoodmrf.nll
Calculate MRF sufficient statisticsmrf.stat
Update MRF potentialsmrf.update
Rain dataRain
Sampling method for chain-structured graphssample.chain
Conditional sampling methodsample.conditional
Sampling method for graphs with a small cutsetsample.cutset
Sampling method for small graphssample.exact
Sampling method using single-site Gibbs samplersample.gibbs
Sampling method for low-treewidth graphssample.junction
Sampling method for tree- and forest-structured graphssample.tree
Small CRF exampleSmall
Make sub CRFsub.crf
Train CRF modeltrain.crf
Train MRF modeltrain.mrf
Tree CRF exampleTree