5c94c8388d8e90398471707d40b941f4d53abd11,factor_analyzer/factor_analyzer.py,FactorAnalyzer,get_eigenvalues,#FactorAnalyzer#,823

Before Change


            np.fill_diagonal(corr, communalities)

            values, _ = sp.linalg.eig(corr)
            values = np.real(values)
            values = pd.DataFrame(sorted(values, reverse=True),
                                  columns=["Common_Factor_Eigenvalues"])

            return e_values, values

After Change


            np.fill_diagonal(corr, communalities)

            values, _ = sp.linalg.eigh(corr)
            values = pd.DataFrame(values[::-1],
                                  columns=["Common_Factor_Eigenvalues"])

            return e_values, values
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: EducationalTestingService/factor_analyzer
Commit Name: 5c94c8388d8e90398471707d40b941f4d53abd11
Time: 2018-04-13
Author: jbiggs@ets.org
File Name: factor_analyzer/factor_analyzer.py
Class Name: FactorAnalyzer
Method Name: get_eigenvalues


Project Name: EducationalTestingService/factor_analyzer
Commit Name: 5c94c8388d8e90398471707d40b941f4d53abd11
Time: 2018-04-13
Author: jbiggs@ets.org
File Name: factor_analyzer/factor_analyzer.py
Class Name: FactorAnalyzer
Method Name: _normalize_wls


Project Name: EducationalTestingService/factor_analyzer
Commit Name: 5c94c8388d8e90398471707d40b941f4d53abd11
Time: 2018-04-13
Author: jbiggs@ets.org
File Name: factor_analyzer/factor_analyzer.py
Class Name: FactorAnalyzer
Method Name: _fit_uls_objective