You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
I think avgdl should be saved as an attribute after fitting so it's not estimated again if transform is called for one document instead of the 'training' corpus.
So
fit(X).transform(X)
makes sense because all documents in X use the same avgdl but
fit(X).transform(X)
transform(other_document)
then estimates avgdl for this document alone again.
The text was updated successfully, but these errors were encountered:
I think avgdl should be saved as an attribute after fitting so it's not estimated again if transform is called for one document instead of the 'training' corpus.
So
makes sense because all documents in X use the same avgdl but
then estimates avgdl for this document alone again.
The text was updated successfully, but these errors were encountered: