Skip to main content

Fréchet ChEMNet Distance

Project description

Fréchet ChemNet Distance

The new wave of successful generative models in machine learning has increased the interest in deep learning driven de novo drug design. However, assessing the performance of such generative models is notoriously difficult. Metrics that are typically used to assess the performance of such generative models are the percentage of chemically valid molecules or the similarity to real molecules in terms of particular descriptors, such as the partition coefficient (logP) or druglike- ness. However, method comparison is difficult because of the inconsistent use of evaluation metrics, the necessity for multiple metrics, and the fact that some of these measures can easily be tricked by simple rule-based systems. We propose a novel distance measure between two sets of molecules, called Fréchet ChemNet distance (FCD), that can be used as an evaluation metric for generative models. The FCD is similar to a recently established performance metric for comparing image generation methods, the Fréchet Inception Distance (FID). Whereas the FID uses one of the hidden layers of InceptionNet, the FCD utilizes the penultimate layer of a deep neural network called “ChemNet”, which was trained to predict drug activities. Thus, the FCD metric takes into account chemically and biologically relevant information about molecules, and also measures the diversity of the set via the distribution of generated molecules. The FCD’s advantage over previous metrics is that it can detect if generated molecules are a) diverse and have similar b) chemical and c) biological properties as real molecules. We further provide an easy-to-use implementation that only requires the SMILES representation of the generated molecules as input to calculate the FCD.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FCD-1.0.tar.gz (53.1 MB view details)

Uploaded Source

Built Distribution

FCD-1.0-py3-none-any.whl (53.1 MB view details)

Uploaded Python 3

File details

Details for the file FCD-1.0.tar.gz.

File metadata

  • Download URL: FCD-1.0.tar.gz
  • Upload date:
  • Size: 53.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for FCD-1.0.tar.gz
Algorithm Hash digest
SHA256 7fb300ed1190ae7666fd859136f37444e7f5da2db939b68475a2647d75db19da
MD5 482490fb34e41f5fa4771fb71d178297
BLAKE2b-256 3c4f0e667259805dc68cc6aeba178f3f5938ab3b974de8309e286b21589a557f

See more details on using hashes here.

File details

Details for the file FCD-1.0-py3-none-any.whl.

File metadata

  • Download URL: FCD-1.0-py3-none-any.whl
  • Upload date:
  • Size: 53.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for FCD-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1379efcd7610e64f19f3744ef1a9f9cfa39a98e0c6b4d619f466735ecc2e8600
MD5 5933590ae865985b7821c287f2a7e3e5
BLAKE2b-256 2ebb5d1e60f30c74b17918e2b62853d0fcba32c5de70c218a5e52358acaa3f55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page