Ktrain

Latest version: v0.41.3

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

Scan your dependencies

Page 2 of 29

0.38.0

new:
- N/A

changed
- **Breaking Change**: The `generative_ai.LLM` class replaces `generative_ai.GenerativeAI` is now powered by our [OnPrem.LLM](https://github.com/amaiya/onprem) package (see [example notebook](https://nbviewer.org/github/amaiya/ktrain/blob/develop/examples/text/generative_ai_example.ipynb)).
- `GenerativeQA` now recomends `langchain==0.0.240`

fixed:
- N/A

0.37.6

new:
- N/A

changed
- N/A

fixed:
- Removed pin to `paper-qa==2.1.1` due to issue in latest `langchain` release. Added notification to install `langchain==0.0.180`

0.37.5

new:
- N/A

changed
- N/A

fixed:
- Removed pin on `scikit-learn`, as `eli5-tf` repo was updated to support `scikit-learn>=1.3` (505)
- pin to `paper-qa==2.1.1` due to breaking changes (506)

0.37.4

new:
- N/A

changed
- N/A

fixed:
- Temporarily pin to `scikit-learn<1.3` to avoid `eli5` import error (505)
- Temporarily changed `generative_qa` imports to avoid `OPENAI_API_KEY error (506)

0.37.3

new:
- N/A

changed
- N/A

fixed:
- fix `eda.py` topic visualization to work with `bokeh>=3.0.0` (504)

0.37.2

new:
- N/A

changed
- `text.models`, `vision.models`, and `tabular.models` now all automatically set metrics to use `binary_accuracy` for multilabel problems

fixed:
- fix `validate` to support multilabel classification problems (498)
- add a warning to `TransformerPreprocessor.get_classifier` to use `binary_accuracy` for multilabel problems (498)

Page 2 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.