Latent Space Geometry for Neural Networks in Python
Project description
[!WARNING] This package is still in its early stages. Updates may cause breaking changes.
Neural Geometry is a Python library designed to explore and manipulate the geometric properties of neural network latent spaces. It provides a set of tools and methods to understand the complex, high-dimensional spaces that neural networks operate in, inspired by recent approaches (e.g. Borde et al., 2023).
The primary features of Neural Geometry include:
- An implementation of the neural latent geometry search framework. This framework provides a unique approach to product manifold inference, which can be beneficial in various fields such as machine learning and data analysis.
- A selection of optimization methods to cater to different needs and requirements. These methods can be used to fine-tune the performance of the neural latent geometry search framework.
This package is designed to be compatible with popular scientific computing libraries such as NumPy and PyTorch, making it a versatile tool for researchers and developers working in these environments. Comprehensive documentation is available at docs.
Installation
To install Neural Geometry, you can use pip:
pip install neural-geometry
You can install optional packages for development or visualization using:
pip install .[dev,vis] # install from pyproject.toml
pip install neural-geometry[dev,vis] # install from pypi
Usage
After installing, you can import the package and use it by following the example.
Contributing
Contributions to Neural Geometry are welcome! To contribute:
- Fork the repository.
- Install the pre-commit hooks using
pre-commit install
. - Create a new branch for your changes.
- Make your changes in your branch.
- Submit a pull request.
Before submitting your pull request, please make sure your changes pass all tests.
License
Neural Geometry is licensed under the MIT License. See the LICENSE file for more details.
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
File details
Details for the file neural_geometry-0.1.1.tar.gz
.
File metadata
- Download URL: neural_geometry-0.1.1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4559e906be02f71b29a01855250407fe587ea27c234d27931aa01240aa66f51b |
|
MD5 | 07965a40899881f1d597ac392ee40ba7 |
|
BLAKE2b-256 | c173aedbe1b62dfdccc0f3cfb9d9e0954547ab0b7063db8a06eb168a1863606f |
File details
Details for the file neural_geometry-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: neural_geometry-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479206e63b870ae5ec95865f433c2df84bc4f7099346ff06db1c779fdd1cf149 |
|
MD5 | 62238bbe33f574a342daab4c8a860992 |
|
BLAKE2b-256 | 77655d22c060c6452fb13869553e4c99d3369a5ee9c86bb507eff00fff776e93 |