6472faf3787ff54159f6bc6441054f31bc8340e2,test/unit_test/test_kmeans_model.py,,,#,177
Before Change
init_method=KMeansInit.k_means
)
// Pack all test components.
test_option_empty = KMeansTestOptions(
doc_term_matrix=dtm_empty,
front_end_option=front_end_option_special,
id_temp_label_map=id_temp_label_map_empty
)
// Create empty K-Means test.
test_empty = KMeansModel(test_options=test_option_empty)
// -----------------------------------------------------------------------------
// Create dtm special.
dtm_special = pd.DataFrame(data=[[1, 2], [1, 2]],
After Change
init_method=KMeansInit.k_means
)
// Pack all test components.
test_option_threeD = KMeansTestOptions(
doc_term_matrix=dtm_twoD,
front_end_option=front_end_option_threeD,
id_temp_label_map=id_temp_label_map_threeD
)
// Create test Model and get test result.
test_threeD = KMeansModel(test_options=test_option_threeD)
// noinspection PyProtectedMember
threeD_result = test_threeD._get_3d_scatter_result()
// ------------------------- 3D scatter test suite -----------------------------
// Get plot result.
threeD_scatter = threeD_result.plot
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 20
Instances
Project Name: WheatonCS/Lexos
Commit Name: 6472faf3787ff54159f6bc6441054f31bc8340e2
Time: 2018-06-18
Author: cusanelli_krisandra@wheatoncollege.edu
File Name: test/unit_test/test_kmeans_model.py
Class Name:
Method Name:
Project Name: WheatonCS/Lexos
Commit Name: f14ee579c4e23a7d6074a8810afe27b21a07de80
Time: 2019-05-14
Author: weltch1997@gmail.com
File Name: test/unit_test/test_kmeans_model.py
Class Name:
Method Name:
Project Name: WheatonCS/Lexos
Commit Name: 8c1fb3d50a2ffc6216d1f3ed4f783bcf0c0e8ea2
Time: 2018-06-18
Author: cusanelli_krisandra@wheatoncollege.edu
File Name: test/unit_test/test_kmeans_model.py
Class Name:
Method Name: