5f34c2458578446506d35540f523031bb728ae74,libs/phases/data_extractor/data_extractor.py,,test,#,130

Before Change



    module = TestController("CREATE MODEL FROM (SELECT * FROM vitals_tgt) AS vitals PREDICT vitals ", PHASE_DATA_EXTRACTION)

    return

// only run the test if this file is called from debugger
if __name__ == "__main__":
    test()

After Change


def test():
    from libs.controllers.mindsdb_controller import MindsDBController as MindsDB

    mdb = MindsDB()
    mdb.learn(from_query="select * from position_tgt", group_by = "id", predict="position", model_name="mdsb_model", test_query=None, breakpoint = PHASE_DATA_EXTRACTION)

// only run the test if this file is called from debugger
if __name__ == "__main__":
    test()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mindsdb/mindsdb
Commit Name: 5f34c2458578446506d35540f523031bb728ae74
Time: 2018-08-23
Author: jorgetorres@Jorges-MacBook-Pro.local
File Name: libs/phases/data_extractor/data_extractor.py
Class Name:
Method Name: test


Project Name: mindsdb/mindsdb
Commit Name: 3629e4a6b60ee3486f550b30a1edf0d0b1fafc93
Time: 2018-09-04
Author: jorge.torres.maldonado@gmail.com
File Name: libs/phases/model_predictor/model_predictor.py
Class Name:
Method Name: test


Project Name: mindsdb/mindsdb
Commit Name: c540cae55aa1c43887ba120cf52c8a9d3a865d5e
Time: 2018-08-27
Author: jorgetorres@Jorges-MacBook-Pro.local
File Name: libs/phases/data_vectorizer/data_vectorizer.py
Class Name:
Method Name: test