Commit Graph

16 Commits

Author SHA1 Message Date
34019a67b0 feat(ga, api): Implement advanced GA strategy and refactor API for v0.4.0
Some checks failed
Run Python Tests / test (3.10) (pull_request) Failing after 16s
Run Python Tests / test (3.8) (pull_request) Failing after 41s
Run Python Tests / test (3.12) (pull_request) Has been cancelled
This commit introduces a major enhancement to the genetic algorithm's convergence logic and refactors key parts of the API for better clarity and usability.

- **feat(ga):** Re-implements the GA solver (CPU & CUDA) to use a more robust strategy based on Elitism, Crossover, and Mutation. This replaces the previous, less efficient model and is designed to significantly improve accuracy and convergence speed.

- **feat(api):** Updates `GA_Options` to expose the new GA strategy parameters:
    - Renames `mutation_percentage` to `mutation_strength` for clarity.
    - Adds `elite_ratio`, `crossover_ratio`, and `mutation_ratio`.
    - Includes a `__post_init__` validator to ensure ratios are valid.

- **refactor(api):** Moves `quadratic_solve` from a standalone function to a method of the `Function` class (`f1.quadratic_solve()`). This provides a cleaner, more object-oriented API.

- **docs:** Updates the README, `GA_Options` doc page, and `quadratic_solve` doc page to reflect all API changes, new parameters, and updated usage examples.

- **chore:** Bumps version to 0.4.0.
2025-10-27 10:12:45 -04:00
0536003dce Update README.md
Some checks failed
Publish Python Package to PyPI / deploy (push) Has been cancelled
2025-06-30 15:39:47 +00:00
ee18cc9e59 Added Branding (#14)
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 19s
Reviewed-on: #14
2025-06-19 17:54:07 +00:00
ce464cffd4 FEAT: Added support for float coefficients (#13)
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 13s
Reviewed-on: #13
Co-authored-by: Jonathan Rampersad <rampersad.jonathan@gmail.com>
Co-committed-by: Jonathan Rampersad <rampersad.jonathan@gmail.com>
2025-06-18 13:20:18 +00:00
c94d08498d Edited README to advise of function * function multiplication being available (#12)
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 17s
Reviewed-on: #12
2025-06-18 12:55:37 +00:00
8d6fe7aca0 Update README.md
Signed-off-by: Jonathan Rampersad <jonathan@jono-rams.work>
2025-06-17 18:37:17 +00:00
ac591f49ec docs: Added documentation for nth_derivative function
All checks were successful
Run Python Tests / test (3.12) (pull_request) Successful in 10s
Run Python Tests / test (3.10) (pull_request) Successful in 13s
Run Python Tests / test (3.8) (pull_request) Successful in 10s
2025-06-17 14:35:03 -04:00
d27497488f fix: differential in README.md renamed to derivative 2025-06-17 14:30:40 -04:00
GitHub Bridge Bot
1165c03955 Apply patch from GitHub PR #10 by jono-rams
Some checks failed
Run Python Tests / test (3.12) (pull_request) Successful in 9s
Run Python Tests / test (3.10) (pull_request) Successful in 14s
Run Python Tests / test (3.8) (pull_request) Successful in 9s
Publish Python Package to PyPI / deploy (push) Has been cancelled
2025-06-17 16:13:43 +00:00
GitHub Bridge Bot
0a36e955a1 Apply patch from GitHub PR #9 by allcontributors[bot]
Some checks failed
Run Python Tests / test (3.10) (pull_request) Successful in 10s
Run Python Tests / test (3.12) (pull_request) Successful in 12s
Run Python Tests / test (3.8) (pull_request) Successful in 9s
Publish Python Package to PyPI / deploy (push) Has been cancelled
2025-06-17 13:59:47 +00:00
b7073287e5 Update README.md 2025-06-17 13:53:34 +00:00
9c47db4e6a [GitHub PR #7 by jono-rams] All contributors/add jono rams (#6)
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 13s
**Mirrored from GitHub PR `#7` by `jono-rams`**

Original PR: https://github.com/jono-rams/PolySolve/pull/7

---

None

Co-authored-by: GitHub Bridge Bot <bot@yourdomain.com>
Reviewed-on: #6
Co-authored-by: gitea-bot <bot@jono-rams.work>
Co-committed-by: gitea-bot <bot@jono-rams.work>
2025-06-17 13:48:34 +00:00
8e8462d9d8 Add contribution badges
Some checks failed
Run Python Tests / test (3.10) (pull_request) Successful in 9s
Run Python Tests / test (3.8) (pull_request) Successful in 10s
Publish Python Package to PyPI / deploy (push) Has been cancelled
Run Python Tests / test (3.12) (pull_request) Successful in 12s
2025-06-17 09:23:26 -04:00
593a9de9e0 Removed cuda 11 version for consistency with automated tests
All checks were successful
Run Python Tests / test (3.10) (push) Successful in 11s
Run Python Tests / test (3.12) (push) Successful in 14s
Run Python Tests / test (3.8) (push) Successful in 10s
2025-06-16 19:27:24 -04:00
2dc39b6ae3 Initial Commit
Some checks failed
Run Python Tests / test (3.8) (push) Failing after 3s
Run Python Tests / test (3.10) (push) Failing after 12s
Run Python Tests / test (3.12) (push) Failing after 2m0s
2025-06-16 18:40:06 -04:00
d5c69cf285 Initial commit 2025-06-16 21:36:05 +00:00