I am using the Conditional Random Fields CRF suite scikit-learn wrapper algorithm. I have read on the literature various approaches for feature selection, but I cannot find any on that package or, generally, available ones for CRF. Would you know any libraries (Python preferred) or easy to implement algorithms for this purpose?
I tried using the scikit-learn feature selector's library but does not work for 2 reasons: 1) the CRF takes as an input list of lists of dicts whereas the other take tabular data 2) the CRF does not have a
.coef or a
feature_importances_ attribute in order to perform feature selection.