eb6f045d6067781b48641e25bb72085591c45c17,tests/ci_tests/tests.py,,basic_test,#Any#Any#Any#Any#Any#,6

Before Change



    // Create & Learn
    mdb = mindsdb.Predictor(name="home_rentals_price")
    mdb.learn(to_predict="rental_price",from_data="https://s3.eu-west-2.amazonaws.com/mindsdb-example-data/home_rentals.csv",backend=backend, stop_training_in_x_seconds=20,use_gpu=use_gpu)

    // Reload & Predict
    model_name = "home_rentals_price"
    if run_extra:

After Change


    for k in amd["force_vectors"][to_predict]["normal_data_distribution"]:
        assert(len(amd["force_vectors"][to_predict]["normal_data_distribution"][k]) > 0)

    for k in amd["force_vectors"][to_predict]["missing_data_distribution"]:
        for sk in amd["force_vectors"][to_predict]["missing_data_distribution"][k]:
            assert(len(amd["force_vectors"][to_predict]["missing_data_distribution"][k][sk]) > 0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: mindsdb/mindsdb
Commit Name: eb6f045d6067781b48641e25bb72085591c45c17
Time: 2019-11-19
Author: george@cerebralab.com
File Name: tests/ci_tests/tests.py
Class Name:
Method Name: basic_test


Project Name: mindsdb/mindsdb
Commit Name: 39db6028287ead55f71322ea4cd306c7acd62f0d
Time: 2020-06-25
Author: george@cerebralab.com
File Name: mindsdb/interfaces/native/predictor_process.py
Class Name: PredictorProcess
Method Name: run


Project Name: rlworkgroup/garage
Commit Name: 563acaf48cf475f4b125fd32374c6bb566049551
Time: 2019-11-06
Author: 43084978+yonghyuc@users.noreply.github.com
File Name: tests/benchmarks/garage/tf/algos/test_benchmark_ppo.py
Class Name:
Method Name: run_baselines


Project Name: biolab/orange3
Commit Name: 15688455310d8b6de97ff1c36157cf198bff0e5c
Time: 2014-07-28
Author: lan.zagar@fri.uni-lj.si
File Name: Orange/tests/test_naive_bayes.py
Class Name: NaiveBayesTest
Method Name: test_NaiveBayes


Project Name: mindsdb/mindsdb
Commit Name: ff6583db5ca535a6bea60afe94d510efc75b96a3
Time: 2019-07-03
Author: george@cerebralab.com
File Name: test.py
Class Name:
Method Name: