项目作者: ShenDezhou
项目描述 :
A Conditional Random Field Model based Chinese Word Segmentation Project.
高级语言: Python
项目地址: git://github.com/ShenDezhou/CRF.git
CRF
A Conditional Random Field Model based Chinese Word Segmentation Project.
Introduction
CRF model takes advantage of contextual information, thus compared to HMM model, CRF improves the accuracy and recall.
Supported Keras Loss and Optimizer
Loss:
- supports loss function:”mean_squared_error”,”mean_absolute_error”,”mean_absolute_percentage_error”,”mean_squared_logarithmic_error”,”squared_hinge”,”hinge”,”categorical_crossentropy”,”sparse_categorical_crossentropy”,”binary_crossentropy”,”kullback_leibler_divergence”,”poisson”,”cosine_proximity”
- NOT support function:”categorical_hinge”,”logcosh”
- Training error function:”sparse_categorical_crossentropy”,
Optimizer: - supports optimizer function:’sgd’,’rmsprop’,’adadelta’,’adam’,’adamax’,’nadam’
- NOT support function:’adagrad’,
- NOT support serialization: ‘tfoptimizer’.