Skip to main content

MindsDB's goal is to make it very simple for developers to use the power of artificial neural networks in their projects.

Project description

MindsDB

Build Status PyPI version PyPI - Downloads

MindsDB's goal is to give developers easy access to the power of artificial neural networks for their projects.Tweet

MindsDB as project is made out of the following:

  • Mindsdb-native: This repository, which is a python module that aims for auto-model building, training, testing in a single line of code.

  • Lightwood: Under the hood of mindsdb native there is lightwood, a Pytorch based framework to streamline the work of gluing together building blocks for ML lightwood's GITHUB.

  • MindsDB Scout: A graphical user interface to work with MindsDB, with a focus on interpretability and explainability.

MindsDB Native

Try it out

Installation

★ Desktop

You can use MindsDb on your own computer in under a minute, if you already have a python environment setup, just run:

 pip3 install mindsdb --user

otherwise simply follow the installation instructions.

★ Google Colab

MindsDB

★ Docker

sh -c "$(curl -sSL https://raw.githubusercontent.com/mindsdb/mindsdb/master/distributions/docker/build-docker.sh)"

Usage

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://s3.eu-west-2.amazonaws.com/mindsdb-example-data/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']))

Visit the documentation to learn more

Video Tutorial

Please click on the image below to load the tutorial:

here

(Note: Please manually set it to 720p or greater to have the text appear clearly)

Contributing

In order to make changes to mindsdb, the ideal approach is to fork the repository than clone the fork locally PYTHONPATH.

For example: export PYTHONPATH=$PYTHONPATH:/home/my_username/mindsdb.

To test if your changes are working you can try running the CI tests locally: cd tests/ci_tests && python3 full_test.py

Once you have specific changes you want to merge into master, feel free to make a PR.

Report Issues

Please help us by reporting any issues you may have while using MindsDB.

https://github.com/mindsdb/mindsdb/issues/new/choose

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MindsDB-1.7.15.tar.gz (60.5 kB view details)

Uploaded Source

File details

Details for the file MindsDB-1.7.15.tar.gz.

File metadata

  • Download URL: MindsDB-1.7.15.tar.gz
  • Upload date:
  • Size: 60.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for MindsDB-1.7.15.tar.gz
Algorithm Hash digest
SHA256 59be9a962175e9945dccd6889daa0c4dfbdd4b9dad6f55f82137c192c4e2e273
MD5 e1c53cb7086c72524c8045f057924884
BLAKE2b-256 4cedbc451b8d61afbda77133022992d21a2251cfe85820f3d4acf5f45d7c8b1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page