MindsDB's goal is to give developers easy access to the power of artificial neural networks for their projects.
- Installing MindsDB
- Learning from Examples
- Frequently Asked Questions
- Provide Feedback to Improve MindsDB
You can get started with your own computer within under a minute.
If you'd prefer to watch a video tutorial, you can find it here. (Note: Please manually set it to 720p or greater to have the text appear clearly)
Set up is simple, just use:
pip3 install mindsdb --user
Having issues? Learn More
Once you have MindsDB installed, you can use it as follows:
To train a model:
from mindsdb import Predictor
# We tell mindsDB what we want to learn and from what data
Predictor(name='home_rentals_price').learn(
to_predict='rental_price', # the column we want to learn to predict given all the data in the file
from_data="https://raw.githubusercontent.com/mindsdb/mindsdb/master/docs/examples/basic/home_rentals.csv" # the path to the file where we can learn from, (note: can be url)
)
To use the model:
from mindsdb import Predictor
# use the model to make predictions
result = Predictor(name='home_rentals_price').predict(when={'number_of_rooms': 2,'number_of_bathrooms':1, 'sqft': 1190})
# you can now print the results
print('The predicted price is ${price} with {conf} confidence'.format(price=result[0]['rental_price'], conf=result[0]['rental_price_confidence']))
Please help us by reporting any issues you may have while using MindsDB.