]> granicus.if.org Git - liblinear/commit
Add new region updating rule in TRON method
authorb92paul <b92paul@gmail.com>
Tue, 21 Feb 2017 08:52:58 +0000 (16:52 +0800)
committerb92paul <b92paul@gmail.com>
Tue, 21 Feb 2017 09:01:08 +0000 (17:01 +0800)
commitf4ea7bbc7c176185f8fa05f7d81890ea428f1afa
tree75fdca5d482609a6ef4f644047b4ddd591cdd10d
parent1dc3f2585ea11e4fd2e0051a841c6e5e25599433
Add new region updating rule in TRON method

The new rule will change delta to delta*sigma3 when
actred >= eta2*prered and step reach trust region boundary in CG
iterations.

Following lines are the changes:
- Add new argument reach_boundary in TRON::trcg method to return whether
step from CG iterations reached boundary or not.
- Add new enlarge rule using the result reach_boundary returned from
TRON::trcg in TRON::tron method.
tron.cpp
tron.h