Simple optimization solvers (gradient descent, LP). Machine learning utilities.
Project description
pyoptimize
Optimization solvers
Installation
pip install pyoptimize
💡 Usage Examples
Basic Operations
from pylib_optimize import optimize
# Optimize function
def objective(x):
return x**2 + 2*x + 1
result = optimize(objective, bounds=[-10, 10])
# Optimal value and parameters
AI/ML Use Cases
from pylib_optimize import optimize
# Optimize hyperparameters
def model_score(params):
model = create_model(params)
return model.evaluate()
optimal_params = optimize(model_score, bounds=param_bounds)
📚 API Reference
See package documentation for complete API reference.
🤖 AI Agent Friendly
This package is optimized for AI agents and code generation tools:
- Clear function names and signatures
- Comprehensive docstrings with examples
- Type hints for better IDE support
- Common use cases documented
- Zero dependencies for reliability
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylib_optimize-0.1.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylib_optimize-0.1.0.tar.gz.
File metadata
- Download URL: pylib_optimize-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
350f82c75998dd8b1644dcf0c73c7513a90271e2f1596149d18a5f7c16dcf4d9
|
|
| MD5 |
6947155c9f4116518e43e78533569fc0
|
|
| BLAKE2b-256 |
6d92b4c11b33cf045588805059ecba5eae4f7a5041e173d895ea2ea8af58fb54
|
File details
Details for the file pylib_optimize-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pylib_optimize-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5042fc3b4ad6399fe82e6ca140f0b001326b778ea5e39b3fd78049fc9ae8dd
|
|
| MD5 |
4a6cde33de2d36667ebc9d1ea4d36451
|
|
| BLAKE2b-256 |
b7bdadee354326339a5a4b619a580c40cadab639dcf4c6622a78a6377468972f
|