Skip to main content

A machine learning toolbox for communications engineering

Project description

tests codecov PyPI - Version docs

Machine Learning and Optimization for Communications (MOKka)

(german: Maschinelles Lernen und Optimierung für Kommunikationssysteme)

This Python package is intended to provide signal and information processing blocks in popular machine learning frameworks. Most of the functionality currently is provided for the PyTorch machine learning framework. Some parts are already implemented to interface with the Sionna Python package.

Prerequisites

This package leverages poetry for management of dependencies in a virtual environment. If you clone this repository you can install this package with all optional extras with poetry install --all-extras. Alternatively check which additional functionalities suit you in pyproject.toml.

Installation

Either install the package from PyPI with pip install mokka or install it from this source directory with the help of poetry poetry install --all-extras. To install the development dependencies (formatters, documentation checkers, etc.) install mokka with poetry install --with=dev. Please check the poetry documentation for other commands and usage of poetry here.

Usage

This package provides a range of modules, covering a range of functions within a communication system. To access functionality within a specific module first import mokka and then access of modules is possible, e.g. mokka.mapping.torch provides constellation mappers and demappers implemented with and compatible to the PyTorch framework.

Development

In order to allow for consistent development we use pre-commit to check formatting and documentation of source code before creating commits. To install required tools for development specify option [dev] during installation of mokka. E.g. if you are installing in editable mode from the git root of this repository you can run pip install ".[torch,dev]" to install dependencies for running mokka with torch and development tools.

To install the required pre-commit hooks you run pre-commit install from the git root, this will use the .pre-commit.yml file in the root to install hooks required to check formatting and documentation of newly commited source code.

Acknowledgment

This work has received funding from the European Research Council (ERC) under the European Union's Horizon2020 research and innovation programme (grant agreement No. 101001899).

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

mokka-1.1.0.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mokka-1.1.0-py3-none-any.whl (68.9 kB view details)

Uploaded Python 3

File details

Details for the file mokka-1.1.0.tar.gz.

File metadata

  • Download URL: mokka-1.1.0.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for mokka-1.1.0.tar.gz
Algorithm Hash digest
SHA256 99758b1083f7d3fb3a9347c9e0c02fc09dce7d007e00a2ea8ca1dfc9010bc356
MD5 8ff9c5b2e2b8d3fe4c6324cee721524d
BLAKE2b-256 c5e26d8cde382382ccf46c0cbecdd176e785e61314d6fa1bbe0b8d9b81bba91d

See more details on using hashes here.

File details

Details for the file mokka-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: mokka-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 68.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for mokka-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 694fc278948be0d9818bdb1868a30ce1db5a31b803d70d8b75b87f46b5d138bd
MD5 57103788465042e2d9b4ac3701fa13d2
BLAKE2b-256 91add47626ec52a0f3e7f2a94f45e6e47b20b663c3b6761dc56c1d5431cfc41c

See more details on using hashes here.

Supported by

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