Torchortho

Latest version: v0.1.1

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

Scan your dependencies

0.1.1

**Enhancements:**
- **Mathematical Constants:** Replaced custom definitions of π with `math.pi` for consistency and clarity.
- **Code Maintenance:** Performed minor renaming and added logging to improve code readability and traceability.

**Testing and Continuous Integration:**
- **Tests Added:** Implemented tests for activation functions to ensure correctness and reliability.
- **CI/CD Workflow:** Established a CI/CD pipeline using GitHub Actions to automate testing and streamline development.

**Dependencies:**
- **Requirements File:** Introduced a `requirements.txt` file to specify project dependencies, facilitating easier setup and installation.


v.0.1.0
Release Notes - v1.0.0 (Initial Release)

- **torchortho** library for learnable activation functions based on:
- Hermite Polynomials
- Fourier Series
- Tropical Polynomials & Rational Functions
- Adaptive activations that improve expressivity, gradient flow, and generalization.
- Features:
- **Hermite Activation**: Smooth, variance-preserving polynomial activation.
- **Fourier Activation**: Captures periodic structures in data.
- **Tropical Polynomial and Rational Activation**: Convex activation for structured learning.
- Benchmarked on:
- ConvNeXt-T on ImageNet-1K (improves accuracy).
- GPT-2 on OpenWebText (reduces perplexity).
- Installation:
- `pip install torchortho`
- `pip install git+https://github.com/K-H-Ismail/torchortho.git`

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.