4c3ad884f3080b2bccb1c67358c8498f78d469c3,test/unit_test/test_stats_model.py,,,#,7

Before Change


test_corpus_result_one = test_stats_model_one.get_corpus_result()
test_file_result_one = test_stats_model_one.get_file_result()
// ------------------------------------------------------------------
print("STOP BABT")


labels = np.array(["file_one.txt", "file_two.txt"])

After Change


test_file_result_one = test_stats_model_one.get_file_result()
// ------------------------------------------------------------------
// ------------------------ Second test suite -----------------------
test_dtm_two = pd.DataFrame(
    data=np.array([(40, 20, 15, 5, 0, 0, 0, 0, 0, 0, 0, 0),
                   (0, 0, 0, 0, 1, 2, 3, 4, 5, 0, 0, 0),
                   (0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 12, 13)]),
    index=np.array([0, 1, 2]),
    columns=np.array(["A", "B", "C", "D", "E", "F", "G", "H",
                      "I", "J", "K", "L"]))
test_id_temp_table_two = {0: "F1.txt", 1: "F2.txt", 3: "F3.txt"}
test_stats_model_two = \
    StatsModel(test_dtm=test_dtm_two,
               test_id_temp_label_map=test_id_temp_table_two)
test_corpus_result_two = test_stats_model_two.get_corpus_result()
test_file_result_two = test_stats_model_two.get_file_result()
// ------------------------------------------------------------------

labels = np.array(["file_one.txt", "file_two.txt"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: WheatonCS/Lexos
Commit Name: 4c3ad884f3080b2bccb1c67358c8498f78d469c3
Time: 2017-11-10
Author: weltch1997@gmail.com
File Name: test/unit_test/test_stats_model.py
Class Name:
Method Name:


Project Name: Vaibhav/Stock-Analysis
Commit Name: ded118ad8554f0faedc61193e60fb9bbde026a4d
Time: 2018-08-15
Author: ishuvaibhav@gmail.com
File Name: Screener/QMAScreener.py
Class Name:
Method Name:


Project Name: cuemacro/finmarketpy
Commit Name: 06b35c94c30972be18444c03d145da03dc63ad8b
Time: 2015-07-29
Author: saeedamen@hotmail.com
File Name: pythalesians/timeseries/techind/techindicator.py
Class Name: TechIndicator
Method Name: create_tech_ind