discriminative_lexicon_model 2.0.0
What's Changed
- Refactors functions in performance.py
- accuracy has now keyword-only arguments.
- predict_df has now keyword-only arguments.
accuracy (*, pred, gold, method='correlation')
(old:accuracy (hat, mat, distance=False)
)predict_df (*, pred, gold, n=1, method='correlation')
(old:predict_df (hat, mat, max_guess=1, distance=False, method='cosine')
)- Adds docstrings to
predict_df
.
Full Changelog: v1.4.3...v2.0.0