- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
类似的问题here但现在在 Python 包上。目前,Azure ML 中缺少 CVXPY。我还尝试让其他求解器(例如 GLPK、CLP 和 COINMP)在 Azure ML 中工作。
如何在 Azure ML 中安装 Python 包?
<小时/>有关尝试安装 Azure ML 中未找到的 Python 包的更新。
I did as instructed by Peter Pan but I think the 32bits CVXPY files are wrong for the Anaconda 4 and Python 3.5 in Azure ML, logs and errors are here.
[Information] Running with Python 3.5.1 |Anaconda 4.0.0 (64-bit)| (default, Feb 16 2016, 09:49:46) [MSC v.1900 64 bit (AMD64)]
使用 win_amd64 文件更新 2(粘贴 here )
[Information] Extracting Script Bundle.zip to .\Script Bundle
[Information] File Name Modified Size
[Information] cvxopt-1.1.9-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 1972074
[Information] __MACOSX/ 2017-06-07 01:26:28 0
[Information] __MACOSX/._cvxopt-1.1.9-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 452
[Information] cvxpy-0.4.10-py3-none-any.whl 2017-06-07 00:25:36 300880
[Information] __MACOSX/._cvxpy-0.4.10-py3-none-any.whl 2017-06-07 00:25:36 444
[Information] ecos-2.0.4-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:40 56522
[Information] __MACOSX/._ecos-2.0.4-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:40 450
[Information] numpy-1.13.0rc2+mkl-cp35-cp35m-win_amd64.whl 2017-06-07 01:25:02 127909457
[Information] __MACOSX/._numpy-1.13.0rc2+mkl-cp35-cp35m-win_amd64.whl 2017-06-07 01:25:02 459
[Information] scipy-0.19.0-cp35-cp35m-win_amd64.whl 2017-06-07 01:05:12 12178932
[Information] __MACOSX/._scipy-0.19.0-cp35-cp35m-win_amd64.whl 2017-06-07 01:05:12 452
[Information] scs-1.2.6-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 78653
[Information] __MACOSX/._scs-1.2.6-cp35-cp35m-win_amd64.whl 2017-06-07 01:03:34 449
[Information] [ READING ] 0:00:00
[Information] Input pandas.DataFrame #1:
[Information] Empty DataFrame
[Information] Columns: [1]
[Information] Index: []
[Information] [ EXECUTING ] 0:00:00
[Information] [ WRITING ] 0:00:00where
import cvxpy
,import cvxpy-0.4.10-py3-none-any.whl
orcvxpy-0.4.10-py3-none-any
do not work soHow can I use the following wheel files downloaded from here to use the external Python packages not found in Azure ML?
有关导入 cvxpy 的权限问题的更新(粘贴 here )
[Error] ImportError: No module named 'canonInterface'
where the ZIP Bundle is organised a bit differently, the content of each wheel downloaded to a folder and the content having all zipped as a ZIP Bundle.
最佳答案
根据Limitations
和 Technical Notes
在执行Python脚本
教程中,添加自定义Python模块的唯一方法是通过zip文件机制来打包模块和所有依赖项。
例如安装CVXPY
,如下。
CVXPY
的wheel文件及其依赖项如 CVXOPT
.cvxpy
和cvxopt
等中作为压缩文件。如果您使用的是 IPython,您还可以尝试通过代码 !pip install cvxpy
安装 Python 包。
还有一些类似的 SO 线程可能对您有帮助,如下所示。
希望有帮助。
<小时/>更新:
对于Azure ML的IPython接口(interface),您可以转到NOTEBOOKS
选项卡,通过页面底部的ADD TO PROJECT
按钮创建笔记本,如下图.
或者您可以直接登录网站https://notebooks.azure.com
使用。
关于python - 在 Azure ML 中安装 Python 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44371692/
如何将运算符传递给 ML 中的函数?例如,考虑这个伪代码: function (int a, int b, operator op) return a op b 这里,运算符可以是 op +
我尝试在 Google Cloud ML 上运行来自 github 的 word-RNN 模型。提交作业后,我在日志文件中收到错误。 这是我提交的训练内容 gcloud ml-engine jobs
在 a.ml 中定义了一个记录类型 t 并且也是透明地定义的 在 a.mli 中,即在 d 接口(interface)中,以便类型定义可用 到所有其他文件。 a.ml 还有一个函数 func,它返回一
关闭 ML.NET 模型生成器后,是否可以为创建的模型重新打开它? 我可以删除创建的模型并重新开始,但这并不理想。 最佳答案 不,不是真的。 AutoML/Model Builder 可以生成代码并将
我有一个关于训练可以预测名称是否为女性的 ML.NET 的问题。该模型可以使用这样的管道进行训练: var mlContext = new MLContext(); IDataView trainin
我在 ASP.NET Core 应用程序中使用 ML.NET,并在 Startup 中使用以下代码: var builder = services.AddPredictionEnginePool();
我使用 sklearn 创建了一个模型进行分类。当我调用函数 y_pred2 = clf.predict (features2) 时,它会返回一个包含我的预测的所有 id 的列表 y_pred2 =
我已向 cloud ml 提交了训练作业。但是,它找不到 csv 文件。它就在桶里。这是代码。 # Use scikit-learn to grid search the batch size and
我是 Azure Databricks 的新手,尽管我在 Databricks 方面有很好的经验,但仅限于 Data Engg 方面。我对 Databricks Runtime ML 和 ML Flo
为什么我尝试将经过训练的模型部署到 Google Cloud ML,却收到以下错误: Create Version failed.Model validation failed: Model meta
我是 Azure Databricks 的新手,尽管我在 Databricks 方面有很好的经验,但仅限于 Data Engg 方面。我对 Databricks Runtime ML 和 ML Flo
我是 Azure ML 新手。我有一些疑问。有人可以澄清下面列出的我的疑问吗? Azure ML 服务与 Azure ML 实验服务之间有什么区别。 Azure ML 工作台和 Azure ML St
我的 Cloud ML 训练作业已完成,输出如下: "consumedMLUnits": 43.24 我如何使用此信息来确定培训工作的成本?我无法在以下两个选项之间做出决定: 1)根据这个page ,
docs for setting up Google Cloud ML建议安装 Tensorflow 版本 r0.11。我观察到 r0.12 中新提供的 TensorFlow 函数在 Cloud ML
我正在关注一个来自 - https://spark.apache.org/docs/2.3.0/ml-classification-regression.html#multinomial-logist
我想使用 mosmlc 将我的 ML 程序编译成可执行二进制文件。但是,我找不到太多关于如何操作的信息。 我想编译的代码在这里http://people.pwf.cam.ac.uk/bt288/tic
假设我有两个 Azure ML 工作区: Workspace1 - 由一个团队(Team1)使用,该团队仅训练模型并将模型存储在 Workspace1 的模型注册表中 Workspace2 - 由另一
我尝试使用以下命令行在 Azure 上的 Linux(Ubuntu) 数据科学虚拟机上设置我的 Azure 机器学习环境: az ml 环境设置 但是,它显示错误为加载命令模块 ml 时出错。一直在谷
假设我有两个 Azure ML 工作区: Workspace1 - 由一个团队(Team1)使用,该团队仅训练模型并将模型存储在 Workspace1 的模型注册表中 Workspace2 - 由另一
我尝试使用以下命令行在 Azure 上的 Linux(Ubuntu) 数据科学虚拟机上设置我的 Azure 机器学习环境: az ml 环境设置 但是,它显示错误为加载命令模块 ml 时出错。一直在谷
我是一名优秀的程序员,十分优秀!