Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
force-bdss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adham Hashibon
force-bdss
Commits
39033980
Commit
39033980
authored
6 years ago
by
Stefano Borini
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Adds a bit more logging to input and output values for the data sources."
This reverts commit
4642c2bc
.
parent
4642c2bc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
force_bdss/core_evaluation_driver.py
+1
-9
1 addition, 9 deletions
force_bdss/core_evaluation_driver.py
with
1 addition
and
9 deletions
force_bdss/core_evaluation_driver.py
+
1
−
9
View file @
39033980
...
...
@@ -133,9 +133,6 @@ def _compute_layer_results(environment_data_values,
# execute data source, passing only relevant data values.
log
.
info
(
"
Evaluating for Data Source {}
"
.
format
(
factory
.
name
))
log
.
info
(
"
Passed values:
"
)
for
idx
,
dv
in
enumerate
(
passed_data_values
):
log
.
info
(
"
{}: {}
"
.
format
(
idx
,
dv
))
try
:
res
=
data_source
.
run
(
model
,
passed_data_values
)
...
...
@@ -179,12 +176,7 @@ def _compute_layer_results(environment_data_values,
# If the name was not specified, simply discard the value,
# because apparently the user is not interested in it.
res
=
[
r
for
r
in
res
if
r
.
name
!=
""
]
results
.
extend
(
res
)
log
.
info
(
"
Returned values:
"
)
for
idx
,
dv
in
enumerate
(
res
):
log
.
info
(
"
{}: {}
"
.
format
(
idx
,
dv
))
results
.
extend
([
r
for
r
in
res
if
r
.
name
!=
""
])
# Finally, return all the computed data values from all evaluators,
# properly named.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment