Change Log¶
All notable changes to PySS3 will be documented here.
[0.6.0] 2020-05-24¶
Added¶
PySS3 now fully support multi-label classification! :)
The
load_from_files_multilabel()
function was added to theDataset
class (7ece7ce, resolved #6)The
Evaluation
class now supports multi-label classification (resolved #5)The Live Test tool now supports multi-label classification as well (15657ee, b617bb7, resolved #9)
Category names are no longer case-insensitive (4ec009a, resolved #8)
[0.5.7] 2020-05-05¶
[0.5.5] 2020-03-02¶
Added¶
The
predict
method was optimized. Now it is 10x to 200x faster! This improvement also has a positive impact on other methods that usepredict
such asgrid_search
(37202d8).A new get_ngrams_length method was added to
SS3
class. It can be used to get the length of longest learned n-gram (b4f8827).The Evaluation 3D Plot’s GUI was improved (1bb1e5a).
[0.5.0] 2020-02-24¶
Added¶
A new
Evaluation
class topyss3.util
(8feeef5): Now the user can import theEvaluation
class 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.set_name()
toSS3
(5b1c355).train()
toSS3
as a user-friendly alias offit()
(74cb540).Print now supports nested verbosity regions (78176ab).
Fixed¶
Compatibility of progress bars with Jupyter Notebooks (7848b3e, 8d163d9, 2029c37, 2a700d5).
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).
[0.4.1] 2020-02-16¶
Added¶
Public methods for the SS3’s
cv
,gv
,lv
,sg
andsn
functions have been added to theSS3 class
(ef35b25). These functions were originally defined in Section 3.2.2 of the original paper.Slightly improving training time (due to previously disabled ‘by-default’ cache of “local value” function).
[0.4.0] 2020-02-11¶
Among other minor improvements and changes, the most important ones that were added are:
Added¶
SS3
class: - The classifier now explicitly supports multi-label classification:Created the following two methods in
SS3
class: classify_multilabel() and classify_label() (0759bca).A
multilabel
argument was added to thepredict
method (c5ac946).
A new extract_insight() method was added to the
SS3
class. This method, given a document, returns the pieces of text that were involved in the classification decision (eee1e29).Created four new methods to allow the user to set the delimiters (b632fe0): set_block_delimiters(), set_delimiter_paragraph, set_delimiter_sentence, and set_delimiter_word.
Live Test tool:
Improved how PySS3 handles verbosity levels (read 216be41 for more info ): created the set_verbosity() function.
[0.3.9] 2019-11-27¶
Added¶
Live Test: layout updated.
PySS3 Command Line:
frange
function added as an alias ofr
for thegrid_search
command.
Fixed¶
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
[0.3.8] 2019-11-25¶
Fixed¶
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)
[0.3.7] 2019-11-22¶
Added¶
Summary operators are not longer static.
Server.set_testset_from_files
lazy load.
Fixed¶
Evaluation plot: confusion matrices size when working with k-folds
[0.3.6] 2019-11-14¶
Added¶
Dataset
class added topyss3.util
as an interface to help the user to load/read datasets. MethodDataset.load_from_files
addedDocumentations updated
[0.3.5] 2019-11-12¶
Added¶
PySS3 Command Line Python 2 full compatibility support
Fixed¶
Matplotlib set_yaxis bug fixed