Closed oroszgy closed 7 years ago
Hi, thanks for your contribution!
I have some remarks on this PR:
>=
instead of ==
)@giacbrd sorry for the bad PR. I'll close this one and will try it again as suggested.
Hi @oroszgy, don't worry.
On the classifier output for undefined predictions: I don't know which is the best choice. Returning None
allows the user to understand that he is incurring in bad predictions, but it is a value that can break code if it not properly managed. While returning the most frequent label hides this potential model problems to the user; moreover this makes the assumption that the estimated prior probability is the right choice for classifying "unpredictable" samples, I don't think this is always a desirable behaviour.
Indeed, it is a tricky question, how to handle undefined predictions, I was looking at this issue from the sklearn
compatibility point of view, which definetly needs the replacement of None
values.
Hi, first of all thanks for your awesome work!
I have performed a few usability improvements on your library:
requirements.txt
to make all the depencies explicitfastext.py
dependency to 0.8.3Fastext
default according to the original libraryNone
.