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: 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


Project Name: ilastik/ilastik
Commit Name: 589442365d133fb993b4ea14b45a9123c6973e46
Time: 2012-09-13
Author: christoph.straehle@iwr.uni-heidelberg.de
File Name: lazyflow/operators/obsolete/classifierOperators.py
Class Name: OpPredictRandomForest
Method Name: execute