Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
adaptive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Quantum Tinkerer
adaptive
Commits
1a002b1b
Commit
1a002b1b
authored
6 years ago
by
Bas Nijholt
Browse files
Options
Downloads
Patches
Plain Diff
xfail(LearnerND) for test_learner_performance_is_invariant_under_scaling
parent
a995d832
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!128
LearnerND scale output values before computing loss
Pipeline
#13939
passed
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
adaptive/tests/test_learners.py
+3
-1
3 additions, 1 deletion
adaptive/tests/test_learners.py
with
3 additions
and
1 deletion
adaptive/tests/test_learners.py
+
3
−
1
View file @
1a002b1b
...
...
@@ -362,7 +362,9 @@ def test_expected_loss_improvement_is_less_than_total_loss(learner_type, f, lear
# XXX: This *should* pass (https://gitlab.kwant-project.org/qt/adaptive/issues/84)
# but we xfail it now, as Learner2D will be deprecated anyway
@run_with
(
Learner1D
,
xfail
(
Learner2D
),
LearnerND
)
# The LearnerND fails sometimes, see
# https://gitlab.kwant-project.org/qt/adaptive/merge_requests/128#note_21807
@run_with
(
Learner1D
,
xfail
(
Learner2D
),
xfail
(
LearnerND
))
def
test_learner_performance_is_invariant_under_scaling
(
learner_type
,
f
,
learner_kwargs
):
"""
Learners behave identically under transformations that leave
the loss invariant.
...
...
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