Skip to main content

A package for chemprobe

Project description

chemprobe

installation

pip install chemprobe

download data

bash download_data.sh

preprocess

python preprocess.py \
    --data_path ../data

train

python train.py \
    --name TEST \
    --exp film \
    --fold 0 \
    --n_blocks 4 \
    --data_path ../data/preprocessed \
    --batch_size 16384 \
    --gpus 0,1,2,3 \
    --num_workers 4 \
    --lr 1e-3

permuted label model

python train.py \
--study_path /scratch/wconnell/danger/chemprobe/optuna/exp=film/fold=0/ \
--data_path ../data/preprocessed \
--name perm-fold=0 \
--exp film \
--fold 0 \
--max_epochs 5 \
--batch_size 16384 \
--gpus 3, \
--permute_labels

optimize

python optimize.py \
    --study_path /srv/danger/scratch/wconnell/chemprobe/optuna/ \
    --data_path ../data/preprocessed \
    --exp film \
    --fold 0 \
    --n_trials 20 \
    --prune \
    --batch_size 16384 \
    --gpus 1,

predict

python predict.py \
    --cpds ceranib-2 CAY10618 \
    --data_path ../data/hani \
    --batch_size 128 \
    --gpus 2,

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

chemprobe-0.1.2.tar.gz (82.0 kB view details)

Uploaded Source

Built Distribution

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

chemprobe-0.1.2-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chemprobe-0.1.2.tar.gz
  • Upload date:
  • Size: 82.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for chemprobe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4eb8e30e52ec72e3fb91e0008faaa1a045c6a5558189c7af0f8a729911c231b4
MD5 3c7f928ee5e2f8f03e6ab42416cb30b4
BLAKE2b-256 1e58ffb486704553a8ed831c6732722e353c49591ae349f361edc4f60ce10982

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chemprobe-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 85.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for chemprobe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9813301fb7caf22cd99e8e156d0371f9ce506e54aea52f60a1efa47df370717d
MD5 c8a6cf700674dc34fb770ab828aa33ff
BLAKE2b-256 90bee60ca61946e6e89a5d3e2da1da49ff27d73232f3db104c54c26d6738b43c

See more details on using hashes here.

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