Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NIFTy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
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
ift
NIFTy
Commits
3150ff53
There was a problem fetching the pipeline summary.
Commit
3150ff53
authored
8 years ago
by
Theo Steininger
Browse files
Options
Downloads
Patches
Plain Diff
Bug fixes.
parent
95df1f22
No related branches found
No related tags found
1 merge request
!97
Now descent minimizer and bugfix
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
nifty/minimization/__init__.py
+1
-1
1 addition, 1 deletion
nifty/minimization/__init__.py
nifty/minimization/line_searching/line_search_strong_wolfe.py
+2
-2
2 additions, 2 deletions
...y/minimization/line_searching/line_search_strong_wolfe.py
with
3 additions
and
3 deletions
nifty/minimization/__init__.py
+
1
−
1
View file @
3150ff53
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
from
line_searching
import
*
from
line_searching
import
*
from
conjugate_gradient
import
ConjugateGradient
from
conjugate_gradient
import
ConjugateGradient
from
descent_minimizer
import
QuasiNewton
Minimizer
from
descent_minimizer
import
Descent
Minimizer
from
steepest_descent
import
SteepestDescent
from
steepest_descent
import
SteepestDescent
from
vl_bfgs
import
VL_BFGS
from
vl_bfgs
import
VL_BFGS
from
relaxed_newton
import
RelaxedNewton
from
relaxed_newton
import
RelaxedNewton
This diff is collapsed.
Click to expand it.
nifty/minimization/line_searching/line_search_strong_wolfe.py
+
2
−
2
View file @
3150ff53
...
@@ -148,8 +148,8 @@ class LineSearchStrongWolfe(LineSearch):
...
@@ -148,8 +148,8 @@ class LineSearchStrongWolfe(LineSearch):
# extract the full energy from the line_energy
# extract the full energy from the line_energy
energy_star
=
energy_star
.
energy
energy_star
=
energy_star
.
energy
length_
direction
=
pk
.
norm
direction
_length
=
pk
.
norm
()
step_length
=
alpha_star
*
length_
direction
step_length
=
alpha_star
*
direction
_length
return
step_length
,
phi_star
,
energy_star
return
step_length
,
phi_star
,
energy_star
def
_zoom
(
self
,
alpha_lo
,
alpha_hi
,
phi_0
,
phiprime_0
,
def
_zoom
(
self
,
alpha_lo
,
alpha_hi
,
phi_0
,
phiprime_0
,
...
...
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