Ktrain

Latest version: v0.41.3

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

Scan your dependencies

Page 15 of 29

0.19.6

New:
- N/A

Changed
-N/A

Fixed:
- include metrics check in `is_classifier` function to support with non-standard loss functions

0.19.5

New:
- N/A

Changed
-N/A

Fixed:
- Ensure transition to `YTransform` is backwards compatibility for `StandardTextPreprocessor` and `BertPreprocessor`

0.19.4

New:
- N/A

Changed
- `TextPreprocessor` instances now use `YTransform` class to transform targets
- `texts_from_df`, `texts_from_csv`, and `texts_from_array` employ the use of either `YTransformDataFrame` or `YTransform`
- `images_from_df`, `images_from_fname`, `images_from_csv`, and `imagas_from_array` use `YTransformDataFrame` or `YTransform`
- Extra imports removed from PyTorch-based `zsl.core.ZeroShotClassifier` and `summarization.core.TransformerSummarizer`. If necessary,
both can now be used without having TensorFlow installed by installing ktrain using `--no-deps` and importing these modules using
a method like [this](https://stackoverflow.com/a/58423785).

Fixed:
- N/A

0.19.3

New:
- N/A/

Changed
- `NERPredictor.predict` was changed to accept an optional `custom_tokenizer` argument

Fixed:
- N/A

0.19.2

New:
- N/A

Changed
- N/A

Fixed:
- added missing `num_classes` argument to `to_categorical`

0.19.1

New:
- N/A

Changed
- Adjusted `no_grad` scope in `ZeroShotClassifier.predict`

Fixed:
- N/A

Page 15 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.