eff2340569072e4ca065a0e14a214d285ef53055,test.py,,,#,6

Before Change


mdb = Predictor(name="test_predictor")

//"""
mdb.learn(to_predict=["rental_price", "location"],from_data="https://mindsdb-example-data.s3.eu-west-2.amazonaws.com/home_rentals.csv",use_gpu=True,stop_training_in_x_seconds=30, backend="ludwig")
p_arr = mdb.predict(when_data="https://mindsdb-example-data.s3.eu-west-2.amazonaws.com/home_rentals.csv")


for p in p_arr:

After Change


    //print(exp)
    print(exp_s)
"""
print(mdb.predict(when={"number_of_rooms": 3, "number_of_bathrooms": 2, "neighborhood": "south_side", "sqft":2411}, run_confidence_variation_analysis=True)[0].explain())

//print(json.dumps(mdb.get_model_data("test_predictor")))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


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


Project Name: mindsdb/mindsdb
Commit Name: 3c21310377414aab01266254785510b7e8b6a3b1
Time: 2019-06-16
Author: george@cerebralab.com
File Name: test.py
Class Name:
Method Name:


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