9ededd5a45e2bf501e1c0aa9275c2ce4f54e9888,GPy/core/verbose_optimization.py,VerboseOptimization,print_out,#VerboseOptimization#,85

Before Change



    def print_out(self, seconds):
        if seconds<60:
            self.timestring = "{:0>5.2f}".format(seconds)
        else:
            m, s = divmod(seconds, 60)
            if m>59:
                h, m = divmod(m, 60)

After Change


    def print_out(self, seconds):
        if seconds<60:
            ms = (seconds%1)*100
            self.timestring = "{s:0>2d}s{ms:0>2d}".format(s=int(seconds), ms=int(ms))
        else:
            m, s = divmod(seconds, 60)
            if m>59:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: SheffieldML/GPy
Commit Name: 9ededd5a45e2bf501e1c0aa9275c2ce4f54e9888
Time: 2015-05-14
Author: ibinbei@gmail.com
File Name: GPy/core/verbose_optimization.py
Class Name: VerboseOptimization
Method Name: print_out


Project Name: deeptools/HiCExplorer
Commit Name: b773c3bf26cde0c8a3b848bc5ad082d3a271c092
Time: 2019-07-13
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/chicSignificantInteractions.py
Class Name:
Method Name: compute_new_p_values


Project Name: snorkel-team/snorkel
Commit Name: 283ecdfd495c8d5256c5ab07b470f36270d7f4a8
Time: 2017-07-22
Author: ajratner@gmail.com
File Name: snorkel/learning/gen_learning.py
Class Name: GenerativeModel
Method Name: train