Skip to main content

AOCL Data Analytics

The latest AMD plugin for scikit-learn is here!

AMD’s AOCL Data Analytics Library provides optimized building blocks for data analysis and classical machine learning applications. The package leverages the AMD optimizing CPU libraries (AOCL) to provide outstanding performance, not just on AMD processors but on other x86 hardware too.

Existing scikit-learn users can benefit from the performance of the AOCL Data Analytics Library without making any code changes, by simply patching existing scikit-learn code so that it automatically calls the library. The AOCL Data Analytics Library also comes with additional Python APIs, providing access to algorithms not included in scikit-learn, such as nonlinear least squares optimization.

Installation

The easiest way to access the AOCL Data Analytics Library is via the pip install command, which will download and install an appropriate wheel directly from PyPI.

Python wheels can also be downloaded directly from AMD’s AOCL-DA page and installed using pip.

For Linux users, Python packages can also be downloaded and built using Spack.

The AOCL Data Analytics Source code and compilation instructions are available at https://github.com/amd/aocl-data-analytics/.

Using the scikit-learn extension

Existing scikit-learn users can patch code to replace the scikit-learn symbols with AOCL Data Analytics symbols. This can be done by inserting the following lines prior to the scikit-learn import statement.

from aoclda.sklearn import skpatch, undo_skpatch
skpatch()

You can switch back to standard scikit-learn using

undo_skpatch()

Note that undo_skpatch restores the original classes on the scikit-learn submodules directly; you do not need to reimport them. Names imported directly into local scope are not restored, however:

skpatch()
from sklearn.neighbors import KNeighborsClassifier   # binds the AOCL-DA replacement
undo_skpatch()
clf = KNeighborsClassifier()   # still AOCL-DA — rebind explicitly if needed:
KNeighborsClassifier = sklearn.neighbors.KNeighborsClassifier

The skpatch and undo_skpatch functions can also be called with string or list arguments, specifying which scikit-learn package should be patched, for example:

skpatch("PCA")
skpatch(["LinearRegression", "Ridge"])

Alternatively, you may wish to use the aoclda.sklearn module from the command line, without making any changes to your own code:

python -m aoclda.sklearn your_python_script.py
python -m aoclda.sklearn -m your_python_module

Python APIs

In addition to the scikit-learn patch, AOCL Data Analytics contains its own set of Python APIs providing additional functionality. The package comes with numerous example scripts. To locate these examples, the following commands can be used in your Python interpreter:

>>> from aoclda.examples import info
>>> info.examples_path()
>>> info.examples_list()

Alternatively, from your command prompt, you can call aocl.examples.info as a module to obtain the same information:

python -m aoclda.examples.info

The examples can then be run as standard Python scripts from the command prompt. For example:

python path/to/examples/pca_ex.py

You can also inspect and run the examples from a Python interpreter. For example:

>>> from aoclda.examples import pca_ex
>>> import inspect
>>> print(''.join(inspect.getsourcelines(pca_ex)[0]))
>>> pca_ex.pca_example()

License

The EULA.txt and NOTICE.txt file is included in the licenses directory of the Python package installation. Copyrighted code in AOCL Data Analytics is subject to the licenses set forth in the source code file headers of such code.

Further information

Full documentation of the Python APIs can be found in the AMD technical information portal.

Note that Windows packages do not include the LBFGSB linear model solver or the nonlinear least squares solver. To access these, building from source is required. Source code and compilation instructions are available at https://github.com/amd/aocl-data-analytics/.

The AOCL Data Analytics library is part of AMD Zen Software Studio. It is developed and maintained by AMD. For support or queries, you can e-mail us on toolchainsupport@amd.com.

Metadata

Release files for aoclda 6.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for aoclda 6.0.0
File Actions
aoclda-6.0.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for aoclda-6.0.0-cp314-cp314-win_amd64.whl
aoclda-6.0.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for aoclda-6.0.0-cp314-cp314-manylinux_2_28_x86_64.whl
aoclda-6.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for aoclda-6.0.0-cp313-cp313-win_amd64.whl
aoclda-6.0.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for aoclda-6.0.0-cp313-cp313-manylinux_2_28_x86_64.whl
aoclda-6.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for aoclda-6.0.0-cp312-cp312-win_amd64.whl
aoclda-6.0.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for aoclda-6.0.0-cp312-cp312-manylinux_2_28_x86_64.whl
aoclda-6.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for aoclda-6.0.0-cp311-cp311-win_amd64.whl
aoclda-6.0.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for aoclda-6.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
aoclda-6.0.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for aoclda-6.0.0-cp310-cp310-win_amd64.whl
aoclda-6.0.0-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for aoclda-6.0.0-cp310-cp310-manylinux_2_28_x86_64.whl

Total release size: 300.2 MB

Release files / aoclda-6.0.0-cp314-cp314-win_amd64.whl

Download URL aoclda-6.0.0-cp314-cp314-win_amd64.whl
Size 21.0 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
e2f7e5459245403ea629189534c5401955714d95a311b93a73916f3371dbf6e5
BLAKE2b-256 checksum
How to use checksums
66eca9fdae90168086cf2e27fe3f4fc7bc4f9cc91053cb6fb8f00b28bdcd4746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL aoclda-6.0.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 39.0 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5eeb571587288356111e1f9d4fc05d45bc21d05b2463dea3d8ce6f70e3fce577
BLAKE2b-256 checksum
How to use checksums
f3933731cf583fd0bb101fcb39fe883799abc949256476d75f0fa085bd8ebf2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp313-cp313-win_amd64.whl

Download URL aoclda-6.0.0-cp313-cp313-win_amd64.whl
Size 21.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
73e594358a569ec33e0021294ecb85974a5057d795d3156c8a3508864793a7d9
BLAKE2b-256 checksum
How to use checksums
150c7eb64e4b8c14069d22fdde5c31fc0694800e295d8bdba98d4f3e1095bc31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL aoclda-6.0.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 39.0 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0fa22269e94a2b62d74755d26e71382beeb34ed59882e0987f3da1ba718faba9
BLAKE2b-256 checksum
How to use checksums
f74dbc49131dff7a87044825bd35fa08d7d9a6c95cba67e2dc2559906b1197b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp312-cp312-win_amd64.whl

Download URL aoclda-6.0.0-cp312-cp312-win_amd64.whl
Size 21.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
6cd4a669279fd52b34b0b3c7fe43ca785500bf1f3d3afd13e7e62b5c8d67857a
BLAKE2b-256 checksum
How to use checksums
270b08d4adbdd4529ad435aab9802e1662a52c44b2b22144b44bbd8890026ffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL aoclda-6.0.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 39.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dcc68d6948977797df213ee8b8b4f86c8aae7de6e58b14674ff8d3236d45277f
BLAKE2b-256 checksum
How to use checksums
66f5689401f1f681972cfa3ae67c5011dbd239191a377e7b19dfcc78217c7835
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp311-cp311-win_amd64.whl

Download URL aoclda-6.0.0-cp311-cp311-win_amd64.whl
Size 21.0 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d9f3b7a2cc40941a16292068a272e3a5af35e39888e1cc1afb504b1e0805565e
BLAKE2b-256 checksum
How to use checksums
2485ae3656e9578510134c609c14f3beb8f62ad65bb7a78551b3a724e51ed440
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL aoclda-6.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 39.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fce9c7a5752c45e657ea072ea4025fed94ea79bc6c23152fadb5549605b24c6b
BLAKE2b-256 checksum
How to use checksums
eca1abc85a33f254adab41cf62146f0deb183a9792523e40bf560b323776e76c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp310-cp310-win_amd64.whl

Download URL aoclda-6.0.0-cp310-cp310-win_amd64.whl
Size 21.0 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
120c3312338f949db04da13a0bacf6ca04b92b9eb28cdb33f758850e0a93bf22
BLAKE2b-256 checksum
How to use checksums
2807c6e8726a8038f2a7fa9ed28d8d9e960e99a1c1344c98992d2695f53ea094
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / aoclda-6.0.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL aoclda-6.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 39.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
426f7f358f174e0be7ced1ce37068653430e895e57048c8be4f21d5be3ec865b
BLAKE2b-256 checksum
How to use checksums
f252380e03c76a7d324be5c353526af0e113c3530364d7bf1d73c0ddc7c2df06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for aoclda 6.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page