6e8898b82f4591fe2256ca56be3c98836fe94b88,simhash/__init__.py,Simhash,__init__,#Simhash#Any#Any#Any#Any#,25

Before Change


            self.value = value.value
        elif isinstance(value, basestring):
            self.build_by_text(unicode(value))
        elif isinstance(value, collections.Iterable):
            self.build_by_features(value)
        elif isinstance(value, long):
            self.value = value
        else:
            raise Exception("Bad parameter with type {}".format(type(value)))

    def _slide(self, content, width=4):

After Change


        else:
            self.log = log

        self.log.info("Initializing %s data.", count)

        self.bucket = collections.defaultdict(set)

        for i, q in enumerate(objs):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: leonsim/simhash
Commit Name: 6e8898b82f4591fe2256ca56be3c98836fe94b88
Time: 2017-10-31
Author: akellne@users.noreply.github.com
File Name: simhash/__init__.py
Class Name: Simhash
Method Name: __init__


Project Name: theislab/scanpy
Commit Name: b3505e7e9e08a389dfff5788db2b6634abdeb1cd
Time: 2019-06-05
Author: flying-sheep@web.de
File Name: scanpy/preprocessing/_magic.py
Class Name:
Method Name: magic


Project Name: neurosynth/neurosynth
Commit Name: edb300280cd7854bb58e023d01ac24160bf6d98d
Time: 2014-11-07
Author: tyarkoni@gmail.com
File Name: neurosynth/analysis/cluster.py
Class Name: Clusterer
Method Name: __init__