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
Merge requests
!135
test all the different loss functions in each test
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
test all the different loss functions in each test
test_loss_functions
into
master
Overview
6
Commits
7
Pipelines
17
Changes
2
Merged
Bas Nijholt
requested to merge
test_loss_functions
into
master
6 years ago
Overview
6
Commits
7
Pipelines
17
Changes
2
Expand
Improve the tests
test all the different loss functions in each test
add
Learner1D._recompute_losses_factor
to remove
xfail
from two tests
speed up the tests
Edited
6 years ago
by
Bas Nijholt
1
0
Merge request reports
Viewing commit
42d94191
Show latest version
2 files
+
21
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
42d94191
test all the different loss functions in each test
· 42d94191
Bas Nijholt
authored
6 years ago
adaptive/learner/learner1D.py
+
1
−
0
Options
@@ -123,6 +123,7 @@ def triangle_loss(xs, ys):
def
curvature_loss_function
(
area_factor
=
1
,
euclid_factor
=
0.02
,
horizontal_factor
=
0.02
):
# XXX: add a doc-string
@uses_nth_neighbors
(
1
)
def
curvature_loss
(
xs
,
ys
):
xs_middle
=
xs
[
1
:
3
]
Loading