Skip to content

Installation

Python package

Create a virtual environment, upgrade pip, and install SafeML:

python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install SafeML
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install SafeML

The package metadata declares numpy and spm1d as dependencies.

Clone the complete repository

The complete examples and non-Python implementations are stored in the repository:

git clone https://github.com/ISorokos/SafeML.git
cd SafeML

Tip

Use the packaged modules for small Python experiments. Clone the repository when following the MATLAB, R, notebook, or dataset-specific examples.