MindsDB的目标是使开发人员在他们的项目中使用人工神经网络的能力变得非常简单。
mindsdb-native的Python项目详细描述
在
MindsDB是一个可解释的AutoML框架,面向构建在Pytorch之上的开发人员。它使您能够用一行代码来构建、训练和测试最先进的ML模型。
在
试试看
- Installing MindsDB
- Learning from Examples
- MindsDB Explainability GUI
- Frequently Asked Questions
- Provide Feedback to Improve MindsDB
安装
- Desktop:您可以在一分钟内在自己的计算机上使用MindsDB,如果您已经设置了python环境,只需运行以下命令:
pip install mindsdb_native --user
Note: Python 64 bit version is required. Depending on your environment, you might have to use
pip3
instead ofpip
in the above command.*
如果由于某种原因失败了,不用担心,只需按照complete installation instructions进行操作,这将引导您完成一个更彻底的过程,该过程可以解决大多数问题。在
- Docker:如果您想在一个容器中运行它,只需:
用法
一旦安装了MindsDB,就可以按如下方式使用它:
导入MindsDB:
frommindsdb_nativeimportPredictor
一行代码train a model:
# 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))
一行代码使用模型:
# use the model to make predictionsresult=Predictor(name='home_rentals_price').predict(when_data={'number_of_rooms':2,'initial_price':2000,'number_of_bathrooms':1,'sqft':1190})# you can now print the resultsprint('The predicted price is between ${price} with {conf} confidence'.format(price=result[0].explanation['rental_price']['confidence_interval'],conf=result[0].explanation['rental_price']['confidence']))
请访问文档learn more
贡献
为了向MindsDB提供帮助,请检查Contribution guide。在
当前贡献者
用contributors-img制成。在
报告问题
{a19请您在使用SDB时提供帮助。在
许可证
- 项目
标签: