安装

从 PyPI 安装:

pip install pysmatch

安装可选依赖:

pip install "pysmatch[tree]"   # 启用 CatBoost
pip install "pysmatch[tune]"   # 启用 Optuna
pip install "pysmatch[all]"    # 启用全部可选依赖

从源码安装:

git clone https://github.com/miaohancheng/pysmatch.git
cd pysmatch
pip install -e ".[all]"