[英]What is the difference between `orange` and `Orange` when importing for the python machine learning package?
Some parts of the docs have import orange
and others have import Orange
and they appear to have a different module organization. 文档的某些部分具有
import orange
而其他部分具有import Orange
并且它们似乎具有不同的模块组织。 What's the difference? 有什么不同?
Thanks! 谢谢!
Uri 乌里
Orange
is the new top-level namespace introduced in 2.5 to unify the C++-based modules and Python-based modules, which were named as orange
and orngXxxx
. Orange
是2.5中引入的新的顶级命名空间,用于统一基于C ++的模块和基于Python的模块,这些模块被命名为orange
和orngXxxx
。 See http://orange.biolab.si/blog/2011/12/20/orange-25-code-conversion/ for detail. 有关详细信息,请参见http://orange.biolab.si/blog/2011/12/20/orange-25-code-conversion/ 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.