Save one of the last spots in our Shell + Git + GitLab introdoctury course on Friday and Monday next week. 👉 Register here.

Commit 3fbaf14c authored by Jana Schor's avatar Jana Schor
Browse files

input transformation sped up

parent 7f3e5ac3
......@@ -12,18 +12,18 @@ importlib.reload(dfpl)
def train(args):
# for testing
# args = Namespace(i='/data/bioinf/projects/data/2020_deepFPlearn/dataSources/Sun_et_al/Sun_etal_dataset.csv',
# o='/data/bioinf/projects/data/2020_deepFPlearn/modeltraining/ACoutside/',
# t='smiles',
# k='topological',
# e=2000,
# s=2048,
# d=256,
# a='/data/bioinf/projects/data/2020_deepFPlearn/modeltraining/ACoutside/ACmodel.hdf5',
# m=False,
# l=0.2,
# K=5,
# v=2)
args = Namespace(i='/data/bioinf/projects/data/2020_deepFPlearn/dataSources/Sun_et_al/Sun_etal_dataset.csv',
o='/data/bioinf/projects/data/2020_deepFPlearn/modeltraining/ACoutside2/',
t='smiles',
k='topological',
e=10,
s=2048,
d=256,
a=None,#'/data/bioinf/projects/data/2020_deepFPlearn/modeltraining/ACoutside/ACmodel.hdf5',
m=False,
l=0.2,
K=5,
v=2)
# generate X and Y matrices
(xmatrix, ymatrix) = dfpl.XandYfromInput(csvfilename=args.i, rtype=args.t, fptype=args.k,
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment