pyfasttext icon indicating copy to clipboard operation
pyfasttext copied to clipboard

[question] How to validate model

Open inkrement opened this issue 7 years ago • 0 comments

Hi, is there a nice way to validate the model? Would be really nice, if the model would support something like this:

from sklearn.model_selection import cross_val_score
scores = cross_val_score(model, test['text'], test['label'], cv=5)

inkrement avatar Jan 28 '18 09:01 inkrement