12f048d741ba698f63860c4da48c6b85a599b606,sksurv/svm/minlip.py,MinlipSurvivalAnalysis,_fit,#MinlipSurvivalAnalysis#Any#Any#Any#,137

Before Change


        else:
            raise ValueError("unknown solver: {}".format(self.solver))

        if self.solver != "osqp":
            warnings.warn(("solver={!r} is deprecated and will be removed in future versions, "
                           "please use solver="osqp".".format(self.solver)),
                          category=DeprecationWarning, stacklevel=2)

        if self.timeit is not None:
            import timeit

            def _inner():

After Change



        max_iter = self.max_iter
        if max_iter is not None:
            max_iter = int(max_iter)
        if self.solver == "ecos":
            solver = EcosSolver(max_iter=max_iter, verbose=self.verbose)
        elif self.solver == "osqp":
            solver = OsqpSolver(max_iter=max_iter, verbose=self.verbose)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: sebp/scikit-survival
Commit Name: 12f048d741ba698f63860c4da48c6b85a599b606
Time: 2020-12-31
Author: sebp@k-d-w.org
File Name: sksurv/svm/minlip.py
Class Name: MinlipSurvivalAnalysis
Method Name: _fit


Project Name: scikit-learn-contrib/DESlib
Commit Name: ec396411be11d514a44a18813278f3a41c73ac5f
Time: 2018-09-23
Author: Natlem@users.noreply.github.com
File Name: deslib/des/meta_des.py
Class Name: METADES
Method Name: __init__


Project Name: scikit-image/scikit-image
Commit Name: d396fe6ff71637d2ee21d096482dcf5e094c8409
Time: 2018-10-23
Author: mark.harfouche@gmail.com
File Name: skimage/filters/rank/generic.py
Class Name:
Method Name: _handle_input