问题标签 [orange]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
226 浏览

python - 为python机器学习包导入时,`orange`和`Orange`有什么区别?

文档的某些部分有import orange,其他部分有import Orange,它们似乎有不同的模块组织。有什么不同?

谢谢!

乌里

0 投票
1 回答
4677 浏览

python - 导入橙色返回“ImportError:没有名为橙色的模块”

我想使用 Orange 软件包进行科学分析。安装在x86_64 Ubuntu 12.04, with上Python 2.7.3, 顺利, 使用sudo easy_install orange. 但是,该软件包似乎无法直接使用:

但是,在从适当的 dist-packages 子目录运行 Python 时导入包可以正常工作:

问题是什么?当从文件系统中的任何地方调用 python 时,包含在 dist-packages 中的其他包工作正常。

0 投票
2 回答
873 浏览

database - 橙色文本挖掘

我正在使用 Orange 数据挖掘软件来尝试查看文本文件中的数据,看看我是否能发现任何东西。当我添加文本文件时,它要求一个 .app 文件。我不知道如何转换文本文档,甚至不知道如何将数据库导出为 .app 文件。非常感谢所有帮助!

0 投票
0 回答
194 浏览

python - Orange information score maximum value, in the context of bayesian and tree classifiers

I am working with the Orange package and have written the following code based on the tutorials available:

This results in the following print:

Based on the following description of Information Score

Let the correct class of an instance be C. Recall that P(C) is the prior probability of class C and P'(C) is the posterior probability returned by the classifier. We consider two cases: (a) P'(C) > P(C) Here the probability of class C has changed in the right direction, therefore we will call such an answer useful. It should be awarded a positive score. Co) P'(C) < P(C) Here the probability of class C has changed in the wrong direction, therefore we will call such an answer misleading. It should be assigned a negative score.

Following:

Is a value greater than 1.0 invalid for information score? Or is it the case that I have used the incorrect classifier on this type of data set, there are three distinct categories of data in the iris.tab data set.

0 投票
1 回答
642 浏览

python - 橙色 Python 数据加载错误:“无效长度示例”

我正在尝试使用 python 和 Orange(机器学习包)加载 .csv 文件并出现错误。我有 208 列,但在错误中我只看到几列,之后什么也没有。错误是什么意思?

0 投票
1 回答
322 浏览

python - 如何在 MAC 上将 Orange 导入 Python Site-Package

我需要在 MAC 上将橙色导入 python,即这样做:

当我尝试 easy_install orange 时,写入 /Library/Python/2.7/site-packages/ 的权限被拒绝。有人可以为新手提供一些解决此问题的方法吗?

我还可以使用与位于 /Applications/Orange.app/Contents/MacOS 中的橙色捆绑在一起的 python。但是,如果我在终端上导航到那里,是否有一种简单的方法可以获取隐藏在 Documents 文件夹中的源文件?

我已经检查了几个小时的网站,但似乎没有明确的途径来完成这项工作。

0 投票
0 回答
833 浏览

python - 如何在 mac 中安装 Orange 2.7 用于 python 脚本

我的 Mac 上预装了 python 2.7。我已经从http://orange.biolab.si/download/下载了橙色快照。但是,在 IDLE 中打开 python shell 并键入“import Orange”时,它会给出错误“不存在这样的模块”。

进一步尝试通过在终端上键入“easy_install numpy && easy_install orange”来执行easy_install,我收到以下错误。我在这里错过了一些基本的东西吗?期待输入。

0 投票
0 回答
369 浏览

python - 在 Windows 7 中安装 Orange 时出现导入错误

它应该很简单,但我无法让它工作。

0 投票
0 回答
465 浏览

python - 使用制表符作为橙色篮子格式的分隔符

Orange 的篮子格式规定单个事务(行)中的各种项目用逗号分隔。但是,我将元组用作单个项目,因此逗号作为分隔符不是我的选择。有人知道如何使用分隔符Orange.data.Table.basket文件中读取吗?tab

0 投票
0 回答
2543 浏览

python - Python中带加权输入的套索回归

我对在 Python 中做 Lasso Regression 技术很感兴趣。但是,我想为算法加权输入数据。您能否推荐一些可以在考虑输入权重的情况下执行 Lasso 回归的库?

我在这里发现scikit-learn提供加权岭回归,但不提供加权套索回归。