Skip to content

Commit

Permalink
json files
Browse files Browse the repository at this point in the history
  • Loading branch information
dil-shana committed Dec 10, 2024
1 parent 03ad2e8 commit fe24960
Show file tree
Hide file tree
Showing 14 changed files with 12,037 additions and 21 deletions.
8,071 changes: 8,071 additions & 0 deletions example/data/herg_10uM_NN_sliced_minus0_5to0_5.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/data/herg_10uM_NN_sliced_minus2to2.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"smiles","AR"
"smiles","actual"
"C[C@H](NC(=O)Nc1cccc(C(F)(F)F)c1)C(=O)O",0.0628800000000034
"COc1cc(CNC(C)(C)CO)ccc1OCC(=O)NC(C)(C)C",0.606580000000001
"Cc1cc(=O)[nH]c(NN=C2C3CC4CC(C3)CC2C4)n1",-1.07732
Expand Down
5 changes: 3 additions & 2 deletions example/dilshana-sweep-trial/herg_10_sliced.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"py/object": "dfpl.options.Options",
"inputFile": "/home/shanavas/PycharmProjects/deepFPlearn/example/data/herg_10uM_NN_sliced_minus2to2.csv",
"outputDir": "/data/bioinf/projects/data/2024_invitrodb_data/dilshana/home/PyCharm/sweep/trial",
"outputDir": "example/herg_10/wandb",
"ecModelDir": "/home/shanavas/PycharmProjects/deepFPlearn/example/models/generic_encoder/",
"type": "smiles",
"fpType": "topological",
Expand All @@ -20,6 +20,7 @@
"epochs": 5000,
"activationFunction": "tanh",
"fnnType": "REG",
"wabTracking": true
"wabTracking": true,
"normalize": true
}

2 changes: 1 addition & 1 deletion example/dilshana-sweep-trial/train_dilshana.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"py/object": "dfpl.options.Options",
"inputFile": "/home/shanavas/PycharmProjects/deepFPlearn/example/data/herg_10uM_NN_sliced_minus2to2.csv",
"outputDir": "/data/bioinf/projects/data/2024_invitrodb_data/dilshana/home/PyCharm/sweep/trial",
"outputDir": "example/herg_10/wandb",
"ecModelDir": "/home/shanavas/PycharmProjects/deepFPlearn/example/models/generic_encoder/",
"type": "smiles",
"fpType": "topological",
Expand Down
3,886 changes: 3,886 additions & 0 deletions example/filtered_data_AR.csv

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions example/herg10uM_sliced.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"py/object": "dfpl.options.Options",
"inputFile": "data/herg_10uM_NN_sliced_minus2to2.csv",
"outputDir": "example/herg_10/train/",
"inputFile": "data/herg_10uM_NN_sliced_minus0_5to0_5_cleaned.csv",
"outputDir": "example/herg_10/train_0_5/",
"ecModelDir": "example/models/generic_encoder/",
"type": "smiles",
"fpType": "topological",
Expand All @@ -17,11 +17,11 @@
"optimizer": "Adam",
"lossFunction": "Huber",
"epochs": 5000,
"batchSize": 512 ,
"activationFunction": "relu",
"dropout": 0.5,
"learningRate" : 0.0001,
"l2reg" : 0.0001,
"batchSize": 64 ,
"activationFunction": "selu",
"dropout": 0.1,
"learningRate" : 0.00001,
"l2reg" : 0.0,
"fnnType": "REG",
"normalize" : true
"normalize" : false
}
8 changes: 4 additions & 4 deletions example/predict_cytotox.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"py/object": "dfpl.options.Options",
"inputFile": "/home/shanavas/PycharmProjects/generate_dfpl_regression_data/data/cytoxicity_zscore.csv",
"outputDir": "/home/shanavas/PycharmProjects/generate_dfpl_regression_data/example/cytotox/new/predict_2/",
"inputFile": "example/filtered_data_AR.csv",
"outputDir": "/home/shanavas/PycharmProjects/generate_dfpl_regression_data/example/cytotox/new/predict_7/",
"ecModelDir": "example/models/generic_encoder/",
"outputFile": "predict_data.csv",
"fnnModelDir": "example/cytotox/new/train_2/actual_saved_model/",
"fnnModelDir": "example/cytotox/new/train_comp7/actual_saved_model/",
"compressFeatures": true,
"trainAC": false,
"trainFNN": false,
"scalerFilePath": "example/cytotox/new/train_2/scaler.pkl"
"scalerFilePath": "example/cytotox/new/train_comp7/scaler.pkl"
}
27 changes: 27 additions & 0 deletions example/train_AR.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"py/object": "dfpl.options.Options",
"inputFile": "example/filtered_data_AR.csv",
"outputDir": "example/AR/new/train_2",
"ecModelDir": "example/models/generic_encoder/",
"type": "smiles",
"fpType": "topological",
"fpSize": 2048,
"encFPSize": 256,
"enableMultiLabel": false,
"verbose": 2,
"trainAC": false,
"trainFNN": true,
"compressFeatures": true,
"kFolds": 5,
"testSize": 0.2,
"optimizer": "Adam",
"lossFunction": "Huber",
"epochs": 5000,
"batchSize": 64,
"activationFunction": "tanh",
"dropout": 0.01 ,
"learningRate" : 0.0005,
"l2reg" : 0.001,
"fnnType": "REG",
"normalize" : true
}
2 changes: 1 addition & 1 deletion sweep/sweep_herg10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ parameters:
min: 0.000001
max: 0.0005
wabTarget:
value: AR
value: actual

1 change: 0 additions & 1 deletion sweep_cytotox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ command:
- "/home/shanavas/PycharmProjects/deepFPlearn/example/dilshana-sweep-trial/trial_sweep.json"
- ${args}
method: random

metric:
name: val_loss
goal: minimize
Expand Down
32 changes: 32 additions & 0 deletions sweep_herg10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
program: dfpl
command:
- ${env}
- "/home/shanavas/miniforge3/envs/dfpl_env/bin/python"
- "-m"
- ${program}
- "train"
- "-f"
- "/home/shanavas/PycharmProjects/deepFPlearn/example/dilshana-sweep-trial/herg_10_sliced.json"
- ${args}
method: random
metric:
name: val_loss
goal: minimize
parameters:
dropout:
distribution: uniform
min: 0.001
max: 0.4
l2reg:
distribution: uniform
min: 0.000001
max: 0.00001
batchSize:
values: [32,64,128]
learningRate:
distribution: uniform
min: 0.000001
max: 0.0005
wabTarget:
value: actual

2 changes: 1 addition & 1 deletion wandb/debug-internal.log
2 changes: 1 addition & 1 deletion wandb/debug.log
2 changes: 1 addition & 1 deletion wandb/latest-run

0 comments on commit fe24960

Please sign in to comment.