a library created by Samuel Brinkmann
- pre-installations (needed for smac library)
You need to install swig
for the smag library that is used for hyperparameter tuning.
Linux (see smac installation guide):
apt-get install swig
MacOS (with homebrew):
brew install swig
Windows (see swigwin)
- install the package to your activated virtual environment (python version 3.10 and higher is needed)
pip install "sam-ml-py[with_swig]"
- install the package to your activated virtual environment (python version 3.10 and higher is needed)
pip install sam-ml-py
- now you can import the package, e.g.:
from sam_ml.models.classifier import RFC
RandomForestClassifier = RFC()
--> Look into the docs of the repo for more information.