mindsdb的目标是使开发人员在项目中使用人工神经网络的能力变得非常简单。
MindsDB的Python项目详细描述
mindsdb的目标是让开发人员很容易获得他们项目的人工神经网络的能力。
- Installing MindsDB
- Learning from Examples
- Frequently Asked Questions
- Provide Feedback to Improve MindsDB
试试看
安装
您可以在一分钟内在自己的计算机上使用mindsdb,只需按照installation instructions操作,或者,如果您已经安装了python环境,只需运行:
pip3 install mindsdb --user
您可以在Google Colab上尝试mindsdb
您也可以使用docker运行mindsdb:sh -c "$(curl -sSL https://raw.githubusercontent.com/mindsdb/mindsdb/master/distributions/docker/build-docker.sh)"
如果你喜欢看视频教程,你可以找到它here。(注意:请手动将其设置为720p或更高,以使文本清晰显示)
有问题吗?请用an issue on github
使用量
一旦安装了mindsdb,您可以按如下方式使用它:
到train a模型:
frommindsdbimportPredictor# We tell mindsDB what we want to learn and from what dataPredictor(name='home_rentals_price').learn(to_predict='rental_price',# the column we want to learn to predict given all the data in the filefrom_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))
若要,请使用模型:
frommindsdbimportPredictor# use the model to make predictionsresult=Predictor(name='home_rentals_price').predict(when={'number_of_rooms':2,'number_of_bathrooms':1,'sqft':1190})# you can now print the resultsprint('The predicted price is ${price} with {conf} confidence'.format(price=result[0]['rental_price'],conf=result[0]['rental_price_confidence']))
访问文档learn more
贡献
为了对mindsdb进行更改,理想的方法是分叉存储库,而不是在本地克隆分叉。
例如:export PYTHONPATH=$PYTHONPATH:/home/my_username/mindsdb
。
要测试更改是否有效,可以尝试在本地运行CI测试:cd tests/ci_tests && python3 full_test.py
一旦您有了要合并到master中的特定更改,请随时制作一个pr。
报告问题
请通过报告您在使用mindsdb时可能遇到的任何问题来帮助我们。
https://github.com/mindsdb/mindsdb/issues/new/choose