hyperopt中文文档:Installation-Notes安装说明

安装说明

hyperopt安装说明
Font Tian translated this article on 23 December 2017

有关MongoDB的部分

Hyperopt要求mongodb(有时候简称“mongo”)来执行并行搜索。据我所知,hyperopt与2.xx系列中的所有版本兼容,这是目前的(在这里下载最新版本)。它甚至可能与mongodb的所有版本兼容,我不知道mongo的任何特定的版本要求。

在linux和OSX上,一旦你下载了mongodb并解压,只需将它链接到bin/你的virtualenv 的子目录中,然后安装完成。

    # from the root of your virtualenv
    # (or basically any folder with an active bin/ subdirectory)
    (cd bin && { for F in ../mongodb-linux-x86_64-2.2.2/bin/* ; do echo "linking $F" ; ln -s $F ; done } )

通过运行完整的单元测试套件或者只是mongo文件来验证hyperopt是否可以使用mongodb

    # cd to the hyperopt project root
    nosetests hyperopt/tests/test_mongoexp.py
  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值