Change Log
All notable changes to PySS3 will be documented here.
[0.6.4] 2021-01-30
Fixed
Quick fix of default compatibility with foreign languages (#15).
[0.6.3] 2020-07-17
Fixed
Patches issue #11.
[0.6.1] 2020-05-26
Added
Fixed
Fixed a bug in SS3 hyperparameter initialization (e2e72f9).
[0.6.0] 2020-05-24
Added
PySS3 now fully support multi-label classification! :)
The
load_from_files_multilabel()function was added to theDatasetclass (7ece7ce, resolved #6)The
Evaluationclass 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
Added
[0.5.5] 2020-03-02
Added
The
predictmethod was optimized. Now it is 10x to 200x faster! This improvement also has a positive impact on other methods that usepredictsuch asgrid_search(37202d8).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).
Fixed
[0.5.0] 2020-02-24
Added
A new
Evaluationclass topyss3.util(8feeef5): Now the user can import theEvaluationclass 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()toSS3as 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,sgandsnfunctions 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).
Fix
[0.4.0] 2020-02-11
Among other minor improvements and changes, the most important ones that were added are:
Added
SS3class: - The classifier now explicitly supports multi-label classification:Created the following two methods in
SS3class: classify_multilabel() and classify_label() (0759bca).A
multilabelargument was added to thepredictmethod (c5ac946).
A new extract_insight() method was added to the
SS3class. 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:
frangefunction added as an alias ofrfor thegrid_searchcommand.
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_fileslazy load.
Fixed
Evaluation plot: confusion matrices size when working with k-folds
[0.3.6] 2019-11-14
Added
Datasetclass added topyss3.utilas an interface to help the user to load/read datasets. MethodDataset.load_from_filesaddedDocumentations updated
[0.3.5] 2019-11-12
Added
PySS3 Command Line Python 2 full compatibility support
Fixed
Matplotlib set_yaxis bug fixed
[0.3.4] 2019-11-12
Fixed
Dependencies and compatibility with python 2 Improved
[0.3.3] 2019-11-12
Fixed
Setup and tests fixed
[0.3.2] 2019-11-12
Added
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.
[0.3.1] 2019-11-11
Added
update: some docstrings were improved
update: the README.md / Pypi Description file.
Fixed
Python 2 and 3 compatibility problem with scikit-learn (using version 0.20.1 from now on)
PyPi: setup.py: long_description_content_type set to ‘text/markdown’