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

Uploaded CPython 3.12Windows x86-64

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

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

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

Uploaded CPython 3.11Windows x86-64

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

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

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4297227b41ac2f5bc80d6eec0777bf2931ea4d7618ddd850bad5501fb8ea7f33
MD5 e98694453de5a97158189cb22b010004
BLAKE2b-256 3663aab58a362374f78690b6423842d0e54c06036c9a739cc4317ef9d1f82a3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1326a287e0bfbbad8eae83758b6042fba5c3e41d629351d8493dc7e7c0d7904c
MD5 eb4ca0926473327119e1393cc6a35ab3
BLAKE2b-256 f56f6e71df720be00e30a4ef00fd8c9e9c29b16399f607916a966c537b397a94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7666556b492539d4ed90642b036ab669c989d90f7cac1bcd09d89fd67b6386ce
MD5 c9353891ebaf87aa94b291b7e5d75027
BLAKE2b-256 71aed850be77a2144dcbde303a2f35fec0e89f22423eda4ed195c6373a671135

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25cf33f84fb7720e78dc548b46897c5e90bac63432609b540194e315015ad904
MD5 786f9898b7025673291c66457cc1e9ad
BLAKE2b-256 94ef770eeec5fddfdf464927fc022a36859c0c123d8c7ae809f8cf2f418cff8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6d561b67101a734476020a72029e7ea054decde95716d657cd89994e735417e3
MD5 d0a8951473bd3dd7343e4263b9c1b90f
BLAKE2b-256 dd7d832dd5f0587f67f8b90073bc29db3c529f3f7edc09a851fa5e7a2f207876

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_learning-0.10.0.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d779b2f40449d0918f9bb55ff9d46bf5d9f0b4a5bce63db1229ab41abb4afeb0
MD5 cad09b145d1ebe2fdcdf03921e99f744
BLAKE2b-256 00aa7f8d7632fb8e69849c1d9a7e1376a5cbb4e087dad1928eda6b82dfe7bbb9

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