Installation¶
Requirements¶
- Python >= 3.10
- PyTorch >= 2.0
- pandas >= 2.0
- scikit-learn >= 1.3
From PyPI¶
From Source¶
Clone the repository and install in development mode:
Optional Dependencies¶
For development and testing:
This includes: - pytest for testing - ruff for linting - mypy for type checking
Verifying Installation¶
import resolve
print(resolve.__version__)
# Quick check
from resolve import ResolveDataset, ResolveModel, Trainer
print("RESOLVE installed successfully!")
GPU Support¶
RESOLVE automatically detects CUDA availability:
To use GPU for training, simply specify the device:
Or let RESOLVE auto-detect: