WladimirSidorenko / CRFSuite

Tree-Structured, First- and Higher-Order Linear Chain, and Semi-Markov CRFs
Other
44 stars 11 forks source link

PA, AP, AROW and SGD training algorithms are not supported for tree-CRFs #1

Closed WladimirSidorenko closed 9 years ago

WladimirSidorenko commented 9 years ago
  1. Envoke crfsuite learn --type=tree -a {pa,ap,arow,sgd}.
  2. An error message appears.
WladimirSidorenko commented 9 years ago

Fixed

Commit: 9a6756b

Files touched: modified: lib/crf/src/crf1d_context.c modified: lib/crf/src/crf1d_encode.c modified: lib/crf/src/crf1d_feature.c modified: lib/crf/src/crfsuite.c modified: lib/crf/src/holdout.c modified: lib/crf/src/train_arow.c modified: tests/test_tree_2.test new file: tests/test_tree_2_3.expected new file: tests/test_tree_2_5.expected new file: tests/test_tree_2_7.expected new file: tests/test_tree_2_9.expected

Test cases added: modified: tests/test_tree_2.test new file: tests/test_tree_2_3.expected new file: tests/test_tree_2_5.expected new file: tests/test_tree_2_7.expected new file: tests/test_tree_2_9.expected