Skip to main content

Syntheseus wrapper for retro* benchmark.

Project description

Syntheseus retro star benchmark

A wrapper for using the benchmark from retro* (Chen et al 2020) in syntheseus.

Usage:

from syntheseus_retro_star_benchmark import RetroStarReactionModel
model = RetroStarReactionModel()  # a syntheseus BackwardReactionModel object wrapping the pre-trained template classifier

from syntheseus_retro_star_benchmark import RetroStarInventory
inventory = RetroStarInventory()  # their inventory of ~23M purchasable molecules

from syntheseus_retro_star_benchmark import get_190_hard_test_smiles
test_smiles = get_190_hard_test_smiles()  # their recommended 190 test SMILES

from syntheseus_retro_star_benchmark import RetroStarValueMLP
value_fn = RetroStarValueMLP()  # their pre-trained search heuristic

Code was based on open source code from here. Some data was uploaded to figshare to ensure stable, consistent access.

Installation

Install either by cloning and using pip or running pip install syntheseus-retro-star-benchmark.

Development

Ensure to install all pre-commit hooks and run unit tests (provided by pytest).

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

syntheseus_retro_star_benchmark-0.1.2.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

syntheseus_retro_star_benchmark-0.1.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file syntheseus_retro_star_benchmark-0.1.2.tar.gz.

File metadata

File hashes

Hashes for syntheseus_retro_star_benchmark-0.1.2.tar.gz
Algorithm Hash digest
SHA256 47f7857f583581b68d0664b6d28dbc6642a7e6046f4f9ca484562bb9b3ef138c
MD5 ee315989ecdda8fefb5a2deaa9fa445c
BLAKE2b-256 448dcbc90cf7996f7d9cae2a70da2735edfbd3d30ec5d0ab107173fbfb996efa

See more details on using hashes here.

Provenance

The following attestation bundles were made for syntheseus_retro_star_benchmark-0.1.2.tar.gz:

Publisher: pypi-publish.yml on AustinT/syntheseus-retro-star-benchmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file syntheseus_retro_star_benchmark-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for syntheseus_retro_star_benchmark-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1de5a60a273199029522c1cd12a7387af10e2a867b95b77531043f7c62107b14
MD5 5581c3417c6a5054ef21472733e9776b
BLAKE2b-256 ee8eadf45d67b371280fbdc02157c38e69c94ea0abfed470272e3977758f4305

See more details on using hashes here.

Provenance

The following attestation bundles were made for syntheseus_retro_star_benchmark-0.1.2-py3-none-any.whl:

Publisher: pypi-publish.yml on AustinT/syntheseus-retro-star-benchmark

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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