Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Norman Ziegner
deepFPlearn
Commits
26b85e7e
Commit
26b85e7e
authored
Jul 08, 2020
by
Jana Schor
Browse files
test on 1st target only removed
parent
b6fb811d
Changes
1
Show whitespace changes
Inline
Side-by-side
dfplmodule.py
View file @
26b85e7e
...
...
@@ -1233,6 +1233,7 @@ def trainNNmodelsMulti(modelfilepathprefix, x, y, split=0.2, epochs=500, params=
if
'id'
in
y
.
columns
:
y
=
y
.
drop
(
'id'
,
axis
=
1
)
# drop compounds that are not measured for all target columns, transform to numpy
(
xmulti
,
ymulti
)
=
shuffleDataPriorToTraining
(
x
,
y
)
...
...
@@ -1537,6 +1538,7 @@ def trainNNmodels(modelfilepathprefix, x, y, split=0.2, epochs=50, params=None,
print
(
row_df
)
allscores
=
allscores
.
append
(
row_df
,
ignore_index
=
True
)
fold_no
=
fold_no
+
1
del
model
# now next fold
print
(
allscores
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment