scrapinghub / python-crfsuite

A python binding for crfsuite
MIT License
770 stars 222 forks source link

Trainer: Cross-validation #77

Open Kureman opened 6 years ago

Kureman commented 6 years ago

I was wondering about cross validation and I just would like to know if doing it this way (after splitting the corpus) actually updates the model: for i in range(10): trainer.train('crf.model', holdout=i)

Thanks