|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
DataIter | The basic interface to be implemented by the user of this package for providing training and test data to the learner. |
DataSequence | A basic training/test instance needs to support the DataSequence interface. |
Feature | A single feature returned by the FeatureGenerator needs to support this interface. |
FeatureGenerator | The basic interface to be implemented by the user of this package for providing features of an individual data sequence. |
FeatureGeneratorNested |
Class Summary | |
CRF | CRF (conditional random fields) This class provides support for training and applying a conditional random field for sequence labeling problems. |
CrfParams | This class holds all parameters to control various aspects of the CRF model |
NestedCRF | |
Util |
Provides an implementation of Conditional Random Fields (CRF) for use in sequential classification tasks. This package can be used independent of the other packages in this distribution.
This implementation of CRF is as described in the following two papers.
The code relies on a sparse matrix operations available from the COLT distribution and an implementation of the Quasi-Newton optimization algorithm (LBFGS) available under the package name riso.numerical
The basic package is intentionally kept barebones without any code for data input/output and feature design. Before you can start using the package you need to provide implementations of the FeatureGenerator and DataIter classes. The best way to learn how to use this code is to examples in the package @see iitb.usingCRFs.Segment for Sequence annotations and @see iitb.usingCRFs.MaxentClassifier for a basic maximum entropy based classifier.
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |