9b262f2dc9ea11ce93ea77d7a071873f2a09ba56,Orange/widgets/utils/scaling.py,ScaleData,_compute_scaled_data,#ScaleData#,41

Before Change



        Y = data.Y if data.Y.ndim == 2 else np.atleast_2d(data.Y).T
        self.original_data = np.hstack((data.X, Y)).T
        self.scaled_data = no_jit = self.original_data.copy()
        self.valid_data_array = np.isfinite(no_jit)
        for index in range(len(data.domain)):
            attr = data.domain[index]

After Change


        all_data = np.hstack(all_data).T
        self.scaled_data = self.data.copy()
        self.valid_data_array = np.isfinite(all_data)
        domain = self.domain
        for attr in chain(domain.attributes, domain.class_vars, domain.metas):
            c = self.scaled_data.get_column_view(attr)[0]
            if attr.is_discrete:
                c += 0.5
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 9b262f2dc9ea11ce93ea77d7a071873f2a09ba56
Time: 2017-11-09
Author: jerneju@gmail.com
File Name: Orange/widgets/utils/scaling.py
Class Name: ScaleData
Method Name: _compute_scaled_data


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 31d8093d13e7996713903874cc60d7f21ed5ac33
Time: 2017-12-10
Author: cuducos@gmail.com
File Name: rosie/chamber_of_deputies/tests/test_irregular_companies_classifier.py
Class Name: TestIrregularCompaniesClassifier
Method Name: TestIrregularCompaniesClassifier_1


Project Name: pgmpy/pgmpy
Commit Name: 97b2ccec94583a7876566a340f06e84a63340272
Time: 2015-03-26
Author: pratyaksh@me.com
File Name: pgmpy/inference/ExactInference.py
Class Name: VariableElimination
Method Name: induced_graph


Project Name: miso-belica/sumy
Commit Name: c0a5504ce6ff8a850eabd5a33488ccf535a55b4f
Time: 2013-05-21
Author: miso.belica@gmail.com
File Name: sumy/summarizers/edmundson_key.py
Class Name: EdmundsonKeyMethod
Method Name: _compute_significant_words


Project Name: biolab/orange3
Commit Name: b7545b3317db0ebcee547d9b80e36ec6dff9d625
Time: 2017-11-17
Author: lan.zagar@gmail.com
File Name: Orange/widgets/utils/scaling.py
Class Name: ScaleData
Method Name: _compute_scaled_data