zellerlab / stag

A hierarchical taxonomic classifier for metagenomic sequences
8 stars 2 forks source link

warning when training a STAG database: `Liblinear failed to converge` #22

Open AlessioMilanese opened 3 years ago

AlessioMilanese commented 3 years ago

During the training of some databases, STAG produced the following warning:

.../lib/python3.6/site-packages/sklearn/svm/_base.py:947: ConvergenceWarning: Liblinear failed to converge, increase the number of iterations.
  "the number of iterations.", ConvergenceWarning)

The warning come from line: https://github.com/zellerlab/stag/blob/master/stag/create_db.py#L467

It seems to be an issue for some clades. Not clear if it happen during training of the main clades or the part where we remove some clades.