-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c059a9e
commit 92520ac
Showing
39 changed files
with
16,434 additions
and
11,371 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
2,276 changes: 1,125 additions & 1,151 deletions
2,276
docs/sphinx-builddir/doctrees/nbsphinx/notebooks/QSARtuna_Tutorial.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
-21.6 KB
(100%)
docs/sphinx-builddir/doctrees/notebooks/QSARtuna_Tutorial.doctree
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,191 changes: 1,089 additions & 1,102 deletions
2,191
docs/sphinx-builddir/html/notebooks/QSARtuna_Tutorial.html
Large diffs are not rendered by default.
Oops, something went wrong.
2,276 changes: 1,125 additions & 1,151 deletions
2,276
docs/sphinx-builddir/html/notebooks/QSARtuna_Tutorial.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"task": "building", | ||
"data": { | ||
"input_column": "canonical", | ||
"response_column": "molwt_gt_330", | ||
"training_dataset_file": "tests/data/DRD2/subset-50/train.csv", | ||
"test_dataset_file": "tests/data/DRD2/subset-50/test.csv" | ||
}, | ||
"metadata": { | ||
"cross_validation": 5, | ||
"best_trial": null, | ||
"best_value": null, | ||
"n_trials": 15 | ||
}, | ||
"descriptor": | ||
{ "name": "SmilesFromFile", | ||
"parameters": { | ||
} | ||
} | ||
, | ||
"settings": { | ||
"mode": "classification", | ||
"direction": "maximize" | ||
}, | ||
"algorithm": { | ||
"name": "CalibratedClassifierCVWithVA", | ||
"parameters": { | ||
"method": "vennabers", | ||
"n_folds": 2, | ||
"ensemble": "True", | ||
"estimator": { | ||
"name": "ChemPropHyperoptClassifier", | ||
"parameters": { | ||
"ensemble_size": 1, | ||
"epochs": 4, | ||
"features_generator": "none", | ||
"num_iters": 1, | ||
"search_parameter_level": "auto" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"task": "optimization", | ||
"data": { | ||
"input_column": "canonical", | ||
"response_column": "molwt", | ||
"training_dataset_file": "tests/data/DRD2/subset-50/train.csv" | ||
}, | ||
"descriptors": [ | ||
{ | ||
"name": "SmilesFromFile", | ||
"parameters": { | ||
} | ||
} | ||
], | ||
"settings": { | ||
"mode": "regression", | ||
"cross_validation": 2, | ||
"direction": "maximize", | ||
"n_trials": 3 | ||
}, | ||
"algorithms": [ | ||
{ | ||
"name": "ChemPropRegressorPretrained", | ||
"parameters": { | ||
"pretrained_model": "tests/data/DRD2/drd2_reg.pkl" | ||
} | ||
} | ||
] | ||
} |
29 changes: 29 additions & 0 deletions
29
examples/optimization/ChemProp_drd2_50_retrain_cls_error.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"task": "optimization", | ||
"data": { | ||
"input_column": "canonical", | ||
"response_column": "molwt", | ||
"training_dataset_file": "tests/data/DRD2/subset-50/train.csv" | ||
}, | ||
"descriptors": [ | ||
{ | ||
"name": "SmilesFromFile", | ||
"parameters": { | ||
} | ||
} | ||
], | ||
"settings": { | ||
"mode": "regression", | ||
"cross_validation": 2, | ||
"direction": "maximize", | ||
"n_trials": 3 | ||
}, | ||
"algorithms": [ | ||
{ | ||
"name": "ChemPropRegressorPretrained", | ||
"parameters": { | ||
"pretrained_model": "tests/data/DRD2/drd2_cls.pkl" | ||
} | ||
} | ||
] | ||
} |
36 changes: 36 additions & 0 deletions
36
examples/optimization/ChemProp_drd2_50_retrain_missingfile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"task": "optimization", | ||
"data": { | ||
"input_column": "canonical", | ||
"response_column": "molwt", | ||
"training_dataset_file": "tests/data/DRD2/subset-50/train.csv" | ||
}, | ||
"descriptors": [ | ||
{ | ||
"name": "SmilesFromFile", | ||
"parameters": { | ||
} | ||
} | ||
], | ||
"settings": { | ||
"mode": "regression", | ||
"cross_validation": 2, | ||
"direction": "maximize", | ||
"n_trials": 3, | ||
"random_seed": 643 | ||
}, | ||
"algorithms": [ | ||
{ | ||
"name": "ChemPropRegressorPretrained", | ||
"parameters": { | ||
"pretrained_model": "missing.pkl" | ||
} | ||
}, | ||
{ | ||
"name": "ChemPropRegressorPretrained", | ||
"parameters": { | ||
"pretrained_model": "tests/data/DRD2/drd2_reg.pkl" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"task": "optimization", | ||
"data": { | ||
"input_column": "Smiles", | ||
"response_column": "Class", | ||
"training_dataset_file": "tests/data/peptide/toxinpred3/train.csv", | ||
"test_dataset_file": "tests/data/peptide/toxinpred3/test.csv", | ||
"aux_column": "Peptide", | ||
"aux_transform": { | ||
"name": "ZScales", | ||
"parameters": { | ||
} | ||
} | ||
}, | ||
"descriptors": [ | ||
{ | ||
"name": "CompositeDescriptor", | ||
"parameters": { | ||
"descriptors": [ | ||
{ | ||
"name": "ECFP", | ||
"parameters": { | ||
"radius": 3, | ||
"nBits": 2048 | ||
} | ||
}, | ||
{ | ||
"name": "UnscaledZScalesDescriptors", | ||
"parameters": { | ||
} | ||
}, | ||
{ | ||
"name": "UnscaledPhyschemDescriptors", | ||
"parameters": {} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"settings": { | ||
"mode": "classification", | ||
"cross_validation": 5, | ||
"shuffle": true, | ||
"direction": "maximize", | ||
"n_trials": 15, | ||
"random_seed": 2, | ||
"n_jobs": 1 | ||
}, | ||
"algorithms": | ||
[ | ||
{ "name": "RandomForestClassifier", | ||
"parameters": { | ||
"max_depth": { | ||
"low": 10, | ||
"high": 20 | ||
}, | ||
"n_estimators": { | ||
"low": 10, | ||
"high": 100 | ||
}, | ||
"max_features": ["sqrt", "log2"] | ||
} | ||
}, | ||
{ | ||
"name": "KNeighborsClassifier", | ||
"parameters": { | ||
"n_neighbors": { | ||
"low": 1, | ||
"high": 3 | ||
}, | ||
"weights": ["uniform", "distance"], | ||
"metric": ["minkowski", "euclidean", "manhattan"] | ||
} | ||
}, | ||
{ "name": "SVC", | ||
"parameters": { | ||
"C": { | ||
"low": 1e-7, | ||
"high": 1e7 | ||
}, | ||
"gamma": { | ||
"low": 1e-9, | ||
"high": 1000 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"task": "optimization", | ||
"data": { | ||
"input_column": "Structure", | ||
"response_column": "Permeability", | ||
"training_dataset_file": "train/data/peptide/permeability/train.csv" | ||
}, | ||
"descriptors": [ | ||
{ | ||
"name": "ECFP", | ||
"parameters": { | ||
"radius": 3, | ||
"nBits": 2048 | ||
} | ||
}, | ||
{ | ||
"name": "SmilesFromFile", | ||
"parameters": { | ||
} | ||
} | ||
], | ||
"settings": { | ||
"mode": "regression", | ||
"cross_validation": 5, | ||
"shuffle": true, | ||
"direction": "maximize", | ||
"n_trials": 15, | ||
"random_seed": 2, | ||
"n_jobs": 1 | ||
}, | ||
"algorithms": [ | ||
{ | ||
"name": "RandomForestRegressor", | ||
"parameters": { | ||
"max_depth": { | ||
"low": 10, | ||
"high": 20 | ||
}, | ||
"n_estimators": { | ||
"low": 10, | ||
"high": 100 | ||
}, | ||
"max_features": [ | ||
"auto", | ||
"sqrt", | ||
"log2" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "KNeighborsRegressor", | ||
"parameters": { | ||
"n_neighbors": { | ||
"low": 1, | ||
"high": 3 | ||
}, | ||
"weights": ["uniform", "distance"], | ||
"metric": ["minkowski", "euclidean", "manhattan"] | ||
} | ||
}, | ||
{ | ||
"name": "SVR", | ||
"parameters": { | ||
"C": { | ||
"low": 1e-7, | ||
"high": 1e7 | ||
}, | ||
"gamma": { | ||
"low": 1e-9, | ||
"high": 1000 | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "Ridge", | ||
"parameters": { | ||
"alpha": { | ||
"low": 1, | ||
"high": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "Lasso", | ||
"parameters": { | ||
"alpha": { | ||
"low": 1, | ||
"high": 2 | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "ChemPropHyperoptRegressor", | ||
"parameters": { | ||
"ensemble_size": 1, | ||
"epochs": 4, | ||
"num_iters": 1 | ||
} | ||
} | ||
] | ||
} | ||
|
Oops, something went wrong.