All notable changes to PySS3 will be documented here.
predictmethod was optimized. Now it is 10x to 200x faster! This improvement also has a positive impact on other methods that use
A new get_ngrams_length method was added to
SS3class. It can be used to get the length of longest learned n-gram (b4f8827).
The Evaluation 3D Plot’s GUI was improved (1bb1e5a).
pyss3.util(8feeef5): Now the user can import the
Evaluationclass to perform model evaluation and hyperparameter optimization. This class not only provide methods to evaluate models but also keeps all the advantages previously provided only through the Command Line tool, such as an evaluation cache that automatically keeps track of the evaluation history and the generation of the interactive 3D evaluation plot.
SS3as a user-friendly alias of
Print now supports nested verbosity regions (78176ab).
Bug in SS3.fit when given an empty document (31eccbc).
Non-string category labels support (5b1c355).
Issue with verbosity level consistency (b38d8b0).
IndexError in classify_(multi)label (fa91952).
Python 2 UnicodeEncodeError issue (867026e).
Among other minor improvements and changes, the most important ones that were added are:
SS3class: - The classifier now explicitly supports multi-label classification:
Live Test tool:
Live Test: layout updated.
PySS3 Command Line:
frangefunction added as an alias of
PySS3 Command Line: live_test always lunch the server with no documents (even when before “live_test a/path”)
Live Test:sentences starting with “unknown” token were not included in the “Advanced” interactive chart
Server: fixed bug that stopped the server when receiving arbitrary bytes (not utf-8 strings)
PySS3 Command Line: fixed bug when loading live_test with a non existing path
Live Test: now the user can select one-letter words (and are also included in the “advanced” live chart)
Summary operators are not longer static.
Evaluation plot: confusion matrices size when working with k-folds
Datasetclass added to
pyss3.utilas an interface to help the user to load/read datasets. Method
PySS3 Command Line Python 2 full compatibility support
Matplotlib set_yaxis bug fixed
Summary operators: now it is possible to use user-defined summary operators, the following static methods were added to the
SS3class: summary_op_ngrams, summary_op_sentences, and summary_op_paragraphs.