Scikit-psl

Latest version: v0.7.0

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.5.0

Added

- _ClassifierAtK
- Sigmoid calibration additional to isotonic
- PSL classifier
- Make optimization loss configurable
- Small `searchspace_analyisis(·)` function makes lookahead choice more informed

Fixed

- Fixed lookahead search space and considering global loss for model-sequence evaluation

Changed

- Updated dependencies and added black
- Moved Binarizer to different module
- Moved PSL hyperparameters to constructor

0.4.2

Fixed

- _ClassifierAtK
- Expected entropy for stage 0 now also calculated wrt. base 2
- Data with only 0 or 1 is now also interpret as binary data

0.4.1

Fixed

- Small import error

0.4.0

Added

- Add brute force threshold optimization method to find the global optimum, bisect optimizer remains default method

Changed

- Restructured source files

0.3.1

Fixed

- PSL is now correctly handles when all instances belong to the negative class
- [1](../../issues/1) if the first feature is assigned a negative score, it is now assigned the most negative score

0.3.0

Added

- PSL classifier can now run with continuous data and optimally (wrt. expected entropy) select thresholds to binarize
the data

Changed

- Significantly improved optimum calculation for MinEntropyBinarizer (the same optimization algorithm is shared with the
psls internal binarization algorithm)

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.