Ktrain

Latest version: v0.41.3

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

Scan your dependencies

Page 6 of 29

0.31.7

new:
- N/A

changed
- re-arranged dep warnings for TF
- **ktrain** now pinned to `transformers==4.17.0`. Python 3.6 users can downgrade to `transformers==4.10.3` and still use **ktrain**.

fixed:
- N/A

0.31.6

new:
- N/A

changed
- updated dependencies to work with newer versions (but temporarily continue pinning to `transformers==4.10.1`)

fixed:
- fixes for newer `networkx`

0.31.5

new:
- N/A

changed
- N/A

fixed:
- fix release

0.31.4

new:
- N/A

changed
- `TextPredictor.explain` and `ImagePredictor.explain` now use a different fork of `eli5`: `pip install https://github.com/amaiya/eli5-tf/archive/refs/heads/master.zip`

fixed:
- Fixed `loss_fn_from_model` function to work with `DISABLE_V2_BEHAVIOR` properly
- `TextPredictor.explain` and `ImagePredictor.explain` now work with `tensorflow>=2.9` and `scipy>=1.9` (due to new `eli5-tf` fork -- see above)

0.31.3

new:
- N/A

changed
- added `alnum` check and period check to `KeywordExtractor`

fixed:
- fixed bug in `text.qa.core` caused by previous refactoring of `paragraph_tokenize` and `tokenize`

0.31.2

new:
- N/A

changed
- added `truncate_to` argument (default:5000) and `minchars` argument (default:3) argument to `KeywordExtractor.extract_keywords` method.
- added `score_by` argument to `KeywordExtractor.extract_keywords`. Default is `freqpos`, which means keywords are now ranked by a combination of frequency and position in document.


fixed:
- N/A

Page 6 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.