9981a167b4b27f2631c1a764242751cc691e9b31,test.py,,,#,5

Before Change



p_arr = mdb.predict(when_data="https://mindsdb-example-data.s3.eu-west-2.amazonaws.com/sensor_data.csv")

pdct = mdb.predict(when={"sensor 1": 0.5, "sensor 2": 2, "sensor 3": 0, "sensor4": 5})
print(pdct)

for p in p_arr:
    exp_s = p.epitomize()
    exp = p.explain()

After Change



mdb = Predictor(name="sensor123")

mdb.learn(to_predict="rental_price",from_data="https://mindsdb-example-data.s3.eu-west-2.amazonaws.com/home_rentals.csv",use_gpu=True,stop_training_in_x_seconds=15)

p_arr = mdb.predict(when_data="https://mindsdb-example-data.s3.eu-west-2.amazonaws.com/home_rentals.csv")

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mindsdb/mindsdb
Commit Name: 9981a167b4b27f2631c1a764242751cc691e9b31
Time: 2019-10-08
Author: george@cerebralab.com
File Name: test.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: e6b78c2248f4d17ad78dd31694ab016b6e8f731c
Time: 2019-04-02
Author: george@cerebralab.com
File Name: integration_testing/run_a_file.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: b3cb84ea4b7d1ec680eb5a630bb41f7dbdf2384c
Time: 2019-02-17
Author: jorge.torres.maldonado@gmail.com
File Name: mindsdb/libs/phases/data_extractor/data_extractor.py
Class Name:
Method Name: test