da15160c068d5ffd9ff8fd2fae06a5a3e08cece3,lexos/processors/analyze/information.py,CorpusInformation,__init__,#CorpusInformation#Any#Any#,11

Before Change



        // TODO: Correct the way to find standard error
        // 1 standard error analysis
        average_file_size = sum(file_sizes_list) / len(file_sizes_list)
        // Calculate the standard deviation
        std_dev_file_size = np.std(file_sizes_list)
        // Calculate the anomaly
        for file in l_files:

After Change


        file_sizes = np.sum(count_matrix, axis=1)
        // TODO: Correct the way to find standard error
        // 1 standard error analysis
        average_file_size = np.average(file_sizes)
        // Calculate the standard deviation
        std_dev_file_size = np.std(file_sizes)
        // Calculate the anomaly
        for count, label in enumerate(labels):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: WheatonCS/Lexos
Commit Name: da15160c068d5ffd9ff8fd2fae06a5a3e08cece3
Time: 2017-07-26
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/information.py
Class Name: CorpusInformation
Method Name: __init__


Project Name: J535D165/recordlinkage
Commit Name: a605cd3246ad3131553aee220689e4c3eb04fafa
Time: 2016-05-04
Author: jonathandebruinhome@gmail.com
File Name: recordlinkage/em_algorithm_.py
Class Name: ECMEstimate
Method Name: _maximization


Project Name: facebookresearch/pytext
Commit Name: fb58d207407d3d38587d18ace67d4dcd8be3c652
Time: 2019-04-08
Author: kmalik2@fb.com
File Name: pytext/metric_reporters/metric_reporter.py
Class Name: MetricReporter
Method Name: calculate_loss