What is the difference between `orange` and `Orange` when importing for the python machine learning package?

StackOverflow https://stackoverflow.com/questions/10792201

  •  11-06-2021
  •  | 
  •  

سؤال

Some parts of the docs have import orange and others have import Orange and they appear to have a different module organization. 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. See http://orange.biolab.si/blog/2011/12/20/orange-25-code-conversion/ for detail.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top