Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set Training Parameters #14

Open
shabir1 opened this issue Nov 28, 2017 · 0 comments
Open

How to set Training Parameters #14

shabir1 opened this issue Nov 28, 2017 · 0 comments

Comments

@shabir1
Copy link

shabir1 commented Nov 28, 2017

How to set parameters while training a model like model used, algorithm name, C1,C2, epsilon, etc
like in crfSuite
http://www.chokkan.org/software/crfsuite/manual.html
Training a model with L2 regularization (c1=0, c2=1.0).
$ crfsuite learn -m CRF.model -a lbfgs -p c2=1 train.txt
Training a model with L1 regularization (c1=1.0, c2=0).
$ crfsuite learn -m CRF.model -a lbfgs -p c1=1 -p c2=0 train.txt
Training a model with L1 and L2 regularization (c1=1.0, c2=1.0).
$ crfsuite learn -m CRF.model -a lbfgs -p c1=1 -p c2=1 train.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant