Skip to main content

Aidge logo

EPL 2.0 Examples PyPi Examples Documentation Status GitLab Contributors Open GitLab Issues Closed GitLab Issues

aidge_learning

In this module, you can find functions and classes to train your models:

  • Optimizer (SGD)
  • LRScheduler (ConstantLR, StepLR)
  • loss functions (MSE)

Quick Start

Prerequisite:

  • aidge_core
  • aidge_backend_cpu
    • Only needed for tests.
pip install aidge-learning

🛠 Build from Source

Prerequisite (in addition to previous one):

1. Python or C++ installation using setup scripts

Environment C++ Development Python Development
Windows .\setup.ps1 -Modules learning -Clean -Tests .\setup.ps1 -Modules learning -Clean -Tests -Python
Unix ./setup.sh -m learning --clean --tests ./setup.sh -m learning --clean --tests --python

[!TIP] Use Get-Help setup.ps1 (Windows) or ./setup.sh -h (Unix) for full documentation.

2. Python Installation using pip

Run these commands from the aidge_learning/ directory:

# Standard install
pip install . -v

# Install with testing dependencies
pip install .[test] -v && pytest

Editable Install (Experimental)

Use this for real-time development without re-installing.

pip install --no-build-isolation -ve . --config-settings=editable.rebuild=true -Cbuild-dir=build

3. C++ Installation (CMake)

A CMakePresets.json is provided for standard configurations.

# Configure, Build, and Install
cmake --preset clang-debug
cmake --build --preset clang-debug
cmake --install

# Run C++ Tests
ctest --test-dir build/

[!TIP] Create a CMakeUserPresets.json to define your own local build configurations.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

aidge_learning-0.10.0.post2-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_learning-0.10.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (798.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_learning-0.10.0.post2-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_learning-0.10.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (799.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_learning-0.10.0.post2-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_learning-0.10.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (796.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file aidge_learning-0.10.0.post2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 caa7447c4108d62ffcb5522621cead5f8251d9501f06119bb9ddd034ca1791c1
MD5 7058ee73806ec4fd577ac22d12a8d70e
BLAKE2b-256 1ef2c467c9e5c1a390fe875eee529106e64be66707f1fe67b6c097ff6a3a984e

See more details on using hashes here.

File details

Details for the file aidge_learning-0.10.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ca8b972d7258269c68961fd7cd0e71ccdfc4164e5a8ec89ed8ed0c25f3e9a0de
MD5 9b1d4452ffca8f5485478a21fe28bede
BLAKE2b-256 5a0935f0c8286da2fd6996ee0732d566b0eb874d9173dc5fa1e57727341486f0

See more details on using hashes here.

File details

Details for the file aidge_learning-0.10.0.post2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 656c6bde4e8913b37e8e0995b4c09da11f07e667b712d4d3180ea7f50bbd73ef
MD5 124c276c29b31b3fbc85ed2dc416e062
BLAKE2b-256 6b7b6f672dc3ba2e99685fb653adc78fe397853a6c74de892dcec7c2c23c6111

See more details on using hashes here.

File details

Details for the file aidge_learning-0.10.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 434f40243d502793bf02253cb1aec04101ce5e5530530d1698a6141788d15ec9
MD5 11d5bc340d91db361b97539a5fc62a34
BLAKE2b-256 4fa7c15b5f6cba48b04be8dc7be10e72432bee0cf512a88657ac1a042642656b

See more details on using hashes here.

File details

Details for the file aidge_learning-0.10.0.post2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 54db382e13e628de5043014ba724fe186a76528b4e298e0c27ed7267ce32ad99
MD5 1f72161b1e462c4447841edb9fd5cb2a
BLAKE2b-256 776985a6a19f9f7cb4857f4b6adf754ca178823f0a6dd1f9b889897916d167b6

See more details on using hashes here.

File details

Details for the file aidge_learning-0.10.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8cc03bc404be2182f302408c7201be66a6ae3c01538636be97b1e6d62cd7606f
MD5 73d2a1ded29a6445743eaf6f2ab83983
BLAKE2b-256 5fad5083a5ccc9ac434e31eb9076d44acbfc575f4b13f203f0b41e97667592d4

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