0400755b84a4385ee86271ef96215b8ec7205539,docs/examples/basic/train.py,,,#,19

Before Change




// First we initiate MindsDB
mdb = MindsDB()

// We tell mindsDB what we want to learn and from what data
mdb.learn(
    from_file="https://raw.githubusercontent.com/mindsdb/main/master/docs/examples/basic/home_rentals.csv", // the path to the file where we can learn from

After Change


from mindsdb import *

// We tell mindsDB what we want to learn and from what data
MindsDB().learn(
    from_file="https://raw.githubusercontent.com/mindsdb/main/master/docs/examples/basic/home_rentals.csv", // the path to the file where we can learn from
    predict="rented_price", // the column we want to learn to predict given all the data in the file
    model_name="home_rentals" // the name of this model
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mindsdb/mindsdb
Commit Name: 0400755b84a4385ee86271ef96215b8ec7205539
Time: 2018-10-24
Author: jorge.torres.maldonado@gmail.com
File Name: docs/examples/basic/train.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: 3f74366d29c7d5264d04df96507bfc420bc6ec57
Time: 2018-10-23
Author: jorge.torres.maldonado@gmail.com
File Name: docs/examples/time_series/predict.py
Class Name:
Method Name:


Project Name: mindsdb/mindsdb
Commit Name: a88be1b33e9531bc2fe40c77369ef8c5166a04e7
Time: 2018-10-23
Author: jorge.torres.maldonado@gmail.com
File Name: docs/examples/time_series/train.py
Class Name:
Method Name: