ed5eb500d5de213a325922ae11218de7ddef21e7,sksurv/svm/survival_svm.py,LargeScaleOptimizer,_hessian_func,#LargeScaleOptimizer#Any#Any#,451

Before Change


                hessp += self._regr_penalty * xsum * s_bias
                hessp_intercept = (self._regr_penalty * xc.shape[0] * s_bias
                                   + self._regr_penalty * numpy.dot(xsum, s_feat))
                hessp = numpy.concatenate(([hessp_intercept], hessp))

        return hessp

After Change


                hessp += self._regr_penalty * xsum * s_bias
                hessp_intercept = (self._regr_penalty * xc.shape[0] * s_bias
                                   + self._regr_penalty * numpy.dot(xsum, s_feat))
                hessp = numpy.r_[hessp_intercept, hessp]

        return hessp

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 8

Instances


Project Name: sebp/scikit-survival
Commit Name: ed5eb500d5de213a325922ae11218de7ddef21e7
Time: 2021-03-18
Author: sebp@k-d-w.org
File Name: sksurv/svm/survival_svm.py
Class Name: LargeScaleOptimizer
Method Name: _hessian_func


Project Name: sebp/scikit-survival
Commit Name: ed5eb500d5de213a325922ae11218de7ddef21e7
Time: 2021-03-18
Author: sebp@k-d-w.org
File Name: sksurv/svm/survival_svm.py
Class Name: NonlinearLargeScaleOptimizer
Method Name: _gradient_func


Project Name: sebp/scikit-survival
Commit Name: ed5eb500d5de213a325922ae11218de7ddef21e7
Time: 2021-03-18
Author: sebp@k-d-w.org
File Name: sksurv/nonparametric.py
Class Name:
Method Name: _compute_counts


Project Name: sebp/scikit-survival
Commit Name: ed5eb500d5de213a325922ae11218de7ddef21e7
Time: 2021-03-18
Author: sebp@k-d-w.org
File Name: sksurv/svm/survival_svm.py
Class Name: LargeScaleOptimizer
Method Name: _gradient_func


Project Name: sebp/scikit-survival
Commit Name: ed5eb500d5de213a325922ae11218de7ddef21e7
Time: 2021-03-18
Author: sebp@k-d-w.org
File Name: sksurv/svm/survival_svm.py
Class Name: NonlinearLargeScaleOptimizer
Method Name: _hessian_func