Discretized Interpretable Multi Layer Perceptron (DIMLP) and related algorithms
Project description
dimlpfidex
Discretized Interpretable Multi Layer Perceptron (DIMLP) and related algorithms
Contribution
Install C++ toolchain
Linux, macOS, Windows/WSL
Install with your package manager:
- a C++ compiler (gcc/g++)
- cmake
Windows
- Install MinGW-W64 with the online installer (64 bit, win32, ucrt)
- Install CMake:
winget install Kitware.CMake
Ensure cmake.exe
is accessible in the $PATH
environment variable.
cmake.exe --version
Install Python and Poetry
Linux, macOS, Windows/WSL
Use your package manager to install:
- python
- poetry
Windows
- Install Python
winget install Python.Python.3.10
- Install poetry and add it to your PATH.
Ensure python.exe
and poetry.exe
are accessible in the $PATH
environment variable.
To check the installation, check these commands return an output:
python.exe --version
poetry.exe --version
Compile
Activate the virtual environment:
poetry shell
Install python dependencies and compile:
poetry install
poetry build
If CMake complains about not finding pybind11, ensure to activate the shell first.
Note: If you still have an issue on Windows, try the following commands to build manually:
mkdir build && cd build
$path = (poetry env info | Select-String -Pattern 'Path:\s+(.*)').Matches.Groups[1].Value
cmake.exe -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH="$path" ..
cmake.exe --build .
Install Pre-commit hooks
Git hooks are used to ensure quality checks are run by all developers every time before a commit.
poetry shell
pre-commit install
Pre-commit hooks can be run manually with:
pre-commit run --all-files
Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for dimlpfidex-0.0.0-cp311-cp311-manylinux_2_38_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fda2e6d79e5f068a5f71bcf05cf27929ad02dbaee969a918c560a9792051ad2 |
|
MD5 | 0231a00a05a1331132b547a6bb823d32 |
|
BLAKE2b-256 | 446973eba09b1a61bd9f4147df164dd70b1ec5ac6ba81690603bfd4bc2e42d3d |
Hashes for dimlpfidex-0.0.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93c027cda49fcfd3f2eb0b21f49df2c08d8ed0528762f5fb94126da5e0ffde7b |
|
MD5 | 293c64feea1839c2d7ea283ebfff0639 |
|
BLAKE2b-256 | 927f3ef33c60cc7156f310be41be483318c8553b7ba350d4c6113b4cffc6039f |
Hashes for dimlpfidex-0.0.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60e938101a078d70c2aa2d39ba6f355dad6c4847f7b7176f69747b62b8368a5b |
|
MD5 | eb6ef127fe5f7031407d123cae8ccdfc |
|
BLAKE2b-256 | 06c6822e9d777c9012ee59618adfd003900c7f5b4426c80d665a29c6e179e02e |
Hashes for dimlpfidex-0.0.0-cp310-cp310-manylinux_2_38_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c49a271448a5c2f3a7e0b02c3d1c999c6b42fbd632d862aaa3199a6325de4f5 |
|
MD5 | 6255207a05f78037512d095b8de0f17a |
|
BLAKE2b-256 | e7f63684766e3d99b54e930ea9790ec86d77e16b208bb9a3df0a9540c6892dd8 |
Hashes for dimlpfidex-0.0.0-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 810a9d5741bd5ab2ec7baa63c82ca9b8fbff8df49adf4040c979d9cfc107abb2 |
|
MD5 | 9ba4cca34e750da7a9a1064340b595a8 |
|
BLAKE2b-256 | 84617b85b65cde9f5c3cc0c2c35059f304c4f4d5882b2c06e88121b629b56ee8 |
Hashes for dimlpfidex-0.0.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1605f4678c6266ab01e1ec49fe16fd261d4b45e6a0213c0f9ce09b5b1452b8b |
|
MD5 | 2b5000172de667e6474adde70c8e862c |
|
BLAKE2b-256 | 3889be0256327cc72c69b0e096fc892b7d22d068da0a488f21e6d5bf46f59aa9 |
Hashes for dimlpfidex-0.0.0-cp39-cp39-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d7f15cf70d0b6c244ee4c567bd27d79b95cb1e3ba784a646a4b6b2ee47322e2 |
|
MD5 | 9012d1d6008e9e069957a3a215aca713 |
|
BLAKE2b-256 | a7a840da203088043294f872b4b50849397ea8496b154b83f81951f01a20edc3 |
Hashes for dimlpfidex-0.0.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 651ccffd6671b2fecc5f671486d42bea8f15e7ec9952de577fae9692e52eb31c |
|
MD5 | e6c310e997b8a5b4ceae05f796c90f36 |
|
BLAKE2b-256 | f75b92b35f88ff08be4c69751a87ed5be85570dd79cf0615cbc24b1730714b9f |
Hashes for dimlpfidex-0.0.0-cp38-cp38-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 590202930907ca9cb335c7b8f13fa37a8a3b6e93cba0913dd217e41e3d39a488 |
|
MD5 | 81655467a6d92d091e6d05db04814f70 |
|
BLAKE2b-256 | ffab0dabf77927dc56387b62cc32e3afe40e653da4b296dfff9a0195940baf84 |
Hashes for dimlpfidex-0.0.0-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ecf58d920ad874965ce535b381d6f6c0280cd43e1d66f360fbec1549adc575d |
|
MD5 | 3dda0158672f634c8e447518e4e8941c |
|
BLAKE2b-256 | ec3b6a748c1cf9ec1940a8c877a6de599de22ec4652dc52be4a71734429339c2 |