fffc67bc45e40607951af0a23f4a86bd7b4efae3,setup/prepare_data.py,,prepare,#,21

Before Change



                // Update partial stats or frequency of most frequent pair is less than saved minimum for partial stats
                if update_partial_stats or freq <= partial_stats_min:
                    partial_stats_min = partial_stats.most_common(500)[-1][1]
                    partial_stats = Counter()
                    for k, v in stats.most_common():
                        if v < partial_stats_min:

After Change



                // Update partial stats or frequency of most frequent pair is less than saved minimum for partial stats
                if update_partial_stats or freq < partial_stats_min:
                    partial_stats_min = stats.most_common(500)[-1][1]
                    partial_stats = Counter()
                    for k, v in stats.most_common():
                        if v < partial_stats_min:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: daniel-kukiela/nmt-chatbot
Commit Name: fffc67bc45e40607951af0a23f4a86bd7b4efae3
Time: 2018-03-24
Author: daniel@kukiela.pl
File Name: setup/prepare_data.py
Class Name:
Method Name: prepare


Project Name: scikit-learn-contrib/sklearn-pandas
Commit Name: 5ce407ce6c4bf6e9acc8466d47fc4e946f5f1bc8
Time: 2017-04-29
Author: dukebody@gmail.com
File Name: sklearn_pandas/categorical_imputer.py
Class Name: CategoricalImputer
Method Name: fit


Project Name: chartbeat-labs/textacy
Commit Name: 504410df92f74a6471247909d01f4ca4639b91d8
Time: 2016-08-11
Author: burton@chartbeat.com
File Name: tests/test_readme.py
Class Name: ReadmeTestCase
Method Name: test_term_counting