Mlrose-ky

Latest version: v1.1.6

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

Scan your dependencies

1.1.6

October 2024

Added
- Imported the `FourPeaksGenerator` class.
- Added `pr_agent.yml` for CI workflow automation.

Improvements
- **Enhanced/Fixed Algorithm Callback Functions**
- Enforced that `callback_user_info` parameters are of type `dict` across all algorithm functions (`genetic_alg`, `gradient_descent`, `hill_climb`, `mimic`, `random_hill_climb`, `simulated_annealing`). This ensures consistent and predictable callback behavior.
- Increased exception coverage by adding type checks and raising `TypeError` when `callback_user_info` is not a `dict`.
- Refactored code to replace list-based `user_data` with dictionary-based `callback_user_info` for better data management and clarity.
- Updated type hints and documentation to reflect these changes, improving code readability and maintainability.
- Added comprehensive unit tests to validate the new type enforcement and ensure robust error handling.

- Achieved 100% test coverage across multiple algorithms and modules.
- Enhanced documentation, including updated `README.md` with new badges and clearer descriptions.
- Refactored code for better organization, readability, and improved type hints.

Fixes
- Corrected coverage and PyPi badge URLs in `README.md`.
- Fixed known bugs in `skmlp_runner.py`.

Removed
- Eliminated the `RESTARTS` parameter from the `.algorithms.hc` module.

---

**Full Changelog**: https://github.com/knakamura13/mlrose-ky/compare/mlrose-ky-v1.1.5...mlrose-ky-v1.1.6

1.1.5

View the latest release on PyPi: https://pypi.org/project/mlrose-ky/1.1.5/

What's Changed
* Fixed docs and added new NeuralNetwork() example by nkapila6 in https://github.com/knakamura13/mlrose-ky/pull/19
* Update tutorial1.md by zerolinux5 in https://github.com/knakamura13/mlrose-ky/pull/16

New Contributors
* zerolinux5 made their first contribution in https://github.com/knakamura13/mlrose-ky/pull/16

**Full Changelog**: https://github.com/knakamura13/mlrose-ky/compare/mlrose-ky-v1.1.4...mlrose-ky-v1.1.5

1.1.4

What's Changed
* docs: added contrib section in root README.md by nkapila6 in https://github.com/knakamura13/mlrose-ky/pull/2
* some updates: updated actions workflow to reflect code coverage, updating docs by nkapila6 in https://github.com/knakamura13/mlrose-ky/pull/4
* Restore Class Names in decay and mutators Folders for Backward Compatibility by gitongah in https://github.com/knakamura13/mlrose-ky/pull/9
* Renamed the two classes the traveling sales and the synthetic data. by gitongah in https://github.com/knakamura13/mlrose-ky/pull/12
* Feat/revert all method names for backwards compatibility by knakamura13 in https://github.com/knakamura13/mlrose-ky/pull/14

New Contributors
* gitongah made their first contribution in https://github.com/knakamura13/mlrose-ky/pull/9
* knakamura13 made their first contribution in https://github.com/knakamura13/mlrose-ky/pull/14

**Full Changelog**: https://github.com/knakamura13/mlrose-ky/compare/mlrose-ky-v1.0.0...mlrose-ky-v1.1.4

1.0.0

What's Changed
* docs: initial addition of documentation by nkapila6 in https://github.com/knakamura13/mlrose-ky/pull/1


**Full Changelog**: https://github.com/knakamura13/mlrose-ky/commits/mlrose-ky-v1.0.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.