70e1e9c9d0cda4c66e7f877e2d9e23dc3da236e8,pymanopt/solvers/trust_regions.py,TrustRegions,solve,#TrustRegions#Any#Any#Any#Any#Any#Any#,99

Before Change


            if k >= self._maxiter:
                if verbosity >= 1:
                    print("Terminated - max iterations reached after {:.2f} "
                          "seconds.".format(time.time() - time0))
                return x

    def _truncated_conjugate_gradient(self, problem, x, fgradx, eta, Delta,

After Change


                print("        rho : {:e}".format(rho))

            // ** CHECK STOPPING criteria
            stop_reason = self._check_stopping_criterion(
                time0, gradnorm=norm_grad, iter=k)

            if stop_reason:
                if verbosity >= 1:
                    print(stop_reason)
                    print("")
                break

        if self._logverbosity <= 0:
            return x
        else:
            self._stop_optlog(x, fx, stop_reason, time0,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pymanopt/pymanopt
Commit Name: 70e1e9c9d0cda4c66e7f877e2d9e23dc3da236e8
Time: 2016-02-23
Author: git@sweichwald.de
File Name: pymanopt/solvers/trust_regions.py
Class Name: TrustRegions
Method Name: solve


Project Name: Shawn1993/cnn-text-classification-pytorch
Commit Name: 609a73ddcee8d3a12a9ae2c7f6e06aac6013c422
Time: 2019-04-25
Author: rriva002@ucr.edu
File Name: cnn_text_classification.py
Class Name: CNNClassifier
Method Name: fit


Project Name: NifTK/NiftyNet
Commit Name: cd90b064de4b8d24e9419b3458c83626db356be7
Time: 2017-11-14
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_driver.py
Class Name: ApplicationDriver
Method Name: _inference_loop