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-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86-64

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

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

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

Uploaded CPython 3.11Windows x86-64

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

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

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

Uploaded CPython 3.10Windows x86-64

aidge_learning-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (796.7 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-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_learning-0.10.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a548cb2d9f77495ae648acfc66d6a1f865296702ba366d13f42b88736b2636c9
MD5 5d0bfc3b7b9a773cb2d4638c116e6f11
BLAKE2b-256 adf74b0ad57b01f7e381661c6c02bc27adaee911740283b8dbc32d2f4dafe758

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a9a81b939cebc9e8f275f5c587cd7842fd83ef549c3425897d7f0e1ffe87f3a
MD5 d30974597961a7cf7ca29a5f68dde1ab
BLAKE2b-256 001465519cc07420392b1f2c567726202b484b905414be149db02f275b4b6a84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 23e03c5ba564d625400be8dc1445519bd42ce4d935d6035c92921230c8c11b5b
MD5 5a890e197ef29632858585e41883b839
BLAKE2b-256 ef544170606f9a9698a2149bdb69a1e78174c65f76d222236c8167e0b2f3f57b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b748853686116690d153a0e271a39376d42c71f357b3ebf47e200700ce23450
MD5 195ced8b006944894162a5cce0b84f22
BLAKE2b-256 562ebc05288e57e7be165582654fce3d53ec0959a1a250b4536132568381eb6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d854133af364ead1605307327e41d2540ea7f479b62c9edf78c5d27b69cbbb97
MD5 aacc0d59412f787d89e4a0935f945ac3
BLAKE2b-256 dc8e03446e3ee81113bb26d99acd1920b7127e6d3a895656fee1486f95ef3447

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2bcc9edb0c42b62130af73c4c19fc2f120528dffa108a66881659e657aa29b5f
MD5 52a2657ff2a14b858b03b31192b9d119
BLAKE2b-256 55fcf34625e416235902901c199009195cccf8ae95d9757bf01390691048650d

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