Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Discretized Interpretable Multi Layer Perceptron (DIMLP) and related algorithms
pip install dimlpfidex
To get the latest source code, install git and clone the repository:
$ git clone https://github.com/HES-XPLAIN/dimlpfidex.git
To download the required dependencies on your system, run:
$ git submodule init
$ git submodule update
Install with your package manager:
[!TIP] Consider using Windows/WSL instead.
winget install Microsoft.VisualStudio.2022.Community
The MSVC compiler is necessary for proper packaging of the bindings.
winget install Kitware.CMake
Ensure cmake.exe
is accessible in the $PATH
environment variable.
cmake.exe --version
[!NOTE] You will have to restart your computer for the changes to take effect.
Install Python, version 3.9 or newer (3.11 is recommended):
python3
and python3-dev
winget install Python.Python.3.11
[!WARNING] On Windows, avoid installing Python through the Microsoft Store as the package has additional permission restrictions.
python -m venv .venv
source .venv/bin/activate
pip install .
[!NOTE] On Windows, use
.venv\Scripts\activate
instead.
To activate the virtualenv, use the standard methods:
source .venv/bin/activate
.venv\Scripts\activate
To leave the virtualenv, use deactivate
.
To add new dependencies to the project, add them to the pyproject.toml
file.
To add them to the virtualenv, use:
pip install .
Git hooks are used to ensure quality checks are run by all developers every time before a commit.
Install with pip install pre-commit
.
To enable pre-commit:
pre-commit install
Pre-commit hooks can be run manually with:
pre-commit run --all-files
Compile:
mkdir build && cd build
cmake ..
cmake --build .
[!NOTE] On Windows, you may have to use
cmake -DCMAKE_PREFIX_PATH="C:\<absolute\path\to>\.venv" ..
instead.
[!TIP] To speed up the compilation process, you can also add
-j X
withX
being your number of CPU cores.
[!WARNING] If you need to rebuild the project, you must erase the content of the
build/
directory.
Create archives for distribution, from the root of the project:
python -m build
Install Doxygen:
doxygen
winget install DimitriVanHeesch.Doxygen
Create the documentation:
mkdir build && cd build
cmake -DBUILD_DOCUMENTATION=ON ..
cmake --build .
The generated HTML documentation will be found in build/docs/sphinx
.
To publish the package on PyPI, refer to RELEASE.
Our test suite is using Obesity or CVD risk dataset from AravindPCoder (under CC BY-SA 4.0 license)
FAQs
Discretized Interpretable Multi Layer Perceptron (DIMLP) and related algorithms
We found that dimlpfidex demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.