c2abce56431e874d0968658bffd56d589036445c,mlxtend/utils/counter.py,Counter,update,#Counter#,43
Before Change
self.curr_iter += 1
out = "%d iter | %d sec" % (self.curr_iter, time.time() -
self.start_time)
self.stream.write("\r%s" % out)
self.stream.flush()
After Change
out = "%d iter | %s sec" % (self.curr_iter,
self.precision % (self.end_time
- self.start_time))
if self.name is None:
self.stream.write("\r%s" % out)
else:
self.stream.write("\r %s: %s" % (self.name, out))
self.stream.flush()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: rasbt/mlxtend
Commit Name: c2abce56431e874d0968658bffd56d589036445c
Time: 2017-11-04
Author: mathew@mathewsavage.com
File Name: mlxtend/utils/counter.py
Class Name: Counter
Method Name: update
Project Name: comic/grand-challenge.org
Commit Name: f611b08542e7310872809d996bd00c836a1a5130
Time: 2019-02-26
Author: harm.van.zeeland@gmail.com
File Name: app/grandchallenge/retina_core/management/commands/setannotationpermissions.py
Class Name: Command
Method Name: handle
Project Name: anishathalye/neural-style
Commit Name: fb19ad45224628ccbfa00ef9ed53fbbd7e12870d
Time: 2018-03-28
Author: me@anishathalye.com
File Name: stylize.py
Class Name:
Method Name: stylize