Adaptive Dynamics Toolkit: Adaptive π geometry, ARP optimizers, simulations, and compression.
Project description
Adaptive Dynamics Toolkit (ADT)
A unified framework for adaptive computing paradigms, including adaptive π geometry, ARP optimization, physics simulations, and compression algorithms.
Installation
pip install adaptive-dynamics
For development or to include optional dependencies:
pip install "adaptive-dynamics[torch,sympy,dev]"
# or with uv
uv venv && uv pip install -e ".[dev,docs,torch,sympy]"
Quick Examples
Curved Geometry with Adaptive π (πₐ)
from adaptive_dynamics.pi.geometry import AdaptivePi
# Create an instance with gentle positive curvature
pi = AdaptivePi(curvature_fn=lambda x, y: 1e-3)
# Calculate circumference in curved space
circumference = pi.circle_circumference(1.0)
print(f"Circumference of unit circle: {circumference:.6f}")
# Output: Circumference of unit circle: 3.144159
Neural Network Training with ARP Optimizer
import torch
import torch.nn as nn
from adaptive_dynamics.arp.optimizers import ARP
# Define a simple model
model = nn.Sequential(nn.Flatten(), nn.Linear(28*28, 10))
# Use ARP optimizer
opt = ARP(model.parameters(), lr=3e-3, alpha=0.01, mu=0.001)
# Training loop (example)
# X, y = ... load a batch ...
loss_fn = nn.CrossEntropyLoss()
loss = loss_fn(model(X), y)
loss.backward()
opt.step()
opt.zero_grad()
Examples
Documentation
Full documentation is available at https://RDM3DC.github.io/adaptive-dynamics-toolkit
Features
- Adaptive π Geometry: Curved space mathematics and Gauss-Bonnet inspired algorithms
- ARP Optimization: Resistance-conductance model for neural network optimization
- Physics Simulations: Gravity, beams, and ringdown simulations with adaptive precision
- Compression Tools: Adaptive compression for text, curves, and tensors
- TSP Solvers: Tools for 3D printing toolpath optimization
Pro Features
ADT Pro extends the toolkit with advanced features for enterprise and research:
- Advanced CUDA acceleration
- Premium simulation capabilities
- Enterprise-grade dashboards
- Specialized slicer algorithms
Contact us at contact@example.com for licensing information.
Contributing
Contributions are welcome! See CONTRIBUTING.md for details.
License
- Adaptive Dynamics Toolkit (Community Edition): MIT License
- ADT Pro: Commercial license (see pro/README_PRO.md)
Support & Services
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
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 adaptive_dynamics-0.1.0.tar.gz.
File metadata
- Download URL: adaptive_dynamics-0.1.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03f340b55b9bcbc44436ede1572e1d0a697cf26f8c9588c4049d4252dc6a2e39
|
|
| MD5 |
92277164853ca42fe9ce4ab462ef8a7f
|
|
| BLAKE2b-256 |
4f64e8fedb664285d8998b75d678a183d597175fb3d9640b4833d3672a2b4554
|
File details
Details for the file adaptive_dynamics-0.1.0-py3-none-any.whl.
File metadata
- Download URL: adaptive_dynamics-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db86ab6f40ff2e0e055201fde516180a68a166407382e867c46bed567cc9e605
|
|
| MD5 |
d07a10bc6e4ffac22e68d36e468340a0
|
|
| BLAKE2b-256 |
609daa291148b62da024a29552a05b2024f90f46ebf0cc5ad8b2070f13c1cc24
|