Skip to content

Instantly share code, notes, and snippets.

@khaledadrani
Created January 17, 2022 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khaledadrani/f69f7019de8ef3333bab0ecede82d4bb to your computer and use it in GitHub Desktop.
Save khaledadrani/f69f7019de8ef3333bab0ecede82d4bb to your computer and use it in GitHub Desktop.
crf = sklearn_crfsuite.CRF(
algorithm='lbfgs',
c1=0.1,
c2=0.1,
max_iterations=100,
all_possible_transitions=True
)
crf.fit(X_train, y_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment