PyTorch implementation of the modified adsorption algorithm described by Talukdar and Crammer (2009; https://link.springer.com/content/pdf/10.1007/978-3-642-04174-7_29.pdf)