c319bb5acd058333da904d6a7fb08c7fda64813c,tests/test_factor_analyzer.py,,test_calculate_kmo,#,30
Before Change
expected_overall = 0.81498469767761361
index = ["sex", "zygosity", "moed", "faed",
"faminc", "english", "math", "socsci",
"natsci", "vocab"]
values = [0.405516, 0.560049, 0.700033,
0.705446, 0.829063, 0.848425,
0.863502, 0.841143, 0.877076,
0.839272]
expected_by_item = pd.DataFrame(values,
columns=["KMO"],
index=index)
(kmo_by_item,
kmo_overall) = calculate_kmo(data)
After Change
0.863502, 0.841143, 0.877076,
0.839272]
expected_by_item = np.array(values)
(kmo_by_item,
kmo_overall) = calculate_kmo(data.values)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: EducationalTestingService/factor_analyzer
Commit Name: c319bb5acd058333da904d6a7fb08c7fda64813c
Time: 2019-04-02
Author: jbiggs@ets.org
File Name: tests/test_factor_analyzer.py
Class Name:
Method Name: test_calculate_kmo
Project Name: EducationalTestingService/factor_analyzer
Commit Name: c319bb5acd058333da904d6a7fb08c7fda64813c
Time: 2019-04-02
Author: jbiggs@ets.org
File Name: tests/test_factor_analyzer.py
Class Name: TestFactorAnalyzer
Method Name: test_smc_is_r_squared
Project Name: developmentseed/label-maker
Commit Name: 4163c4eb8cffd43b05931100fa2dd807a3b19fbb
Time: 2018-01-26
Author: geospatialanalystyi@gmail.com
File Name: examples/utils/tf_records_generation.py
Class Name:
Method Name: main