Skip to main content

Latent Space Geometry for Neural Networks in Python

Project description

nlgm banner


[!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:

  1. Fork the repository.
  2. Install the pre-commit hooks using pre-commit install.
  3. Create a new branch for your changes.
  4. Make your changes in your branch.
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neural_geometry-0.1.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

neural_geometry-0.1.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file neural_geometry-0.1.2.tar.gz.

File metadata

  • Download URL: neural_geometry-0.1.2.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

Hashes for neural_geometry-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ef614c9d95e89402e99e7c7c69bab24ad901d7fbc23993cbb06e05025e9b1e18
MD5 326da5f6e45ea93e974e176460a35f0e
BLAKE2b-256 db7e0a63e237c549470427b7310da18399ba906008e6f2516a7f7a3a96c6a73f

See more details on using hashes here.

File details

Details for the file neural_geometry-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for neural_geometry-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 47d60f298ea47255c16f9e3dfd50e46f4a83f56555f571326377befee302d763
MD5 eb162e405664f261b33a0f626b7bc189
BLAKE2b-256 96317338a675225d3bfad5572432b7806860bcf726032630dd37c22e4c1a5bbd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page