Orange Forum • View topic - importing bagging not working

importing bagging not working

A place to ask questions about methods in Orange and how they are used and other general support.

importing bagging not working

Postby dannyshox » Mon Aug 05, 2013 14:48

Hi,

When I try and import bagging or any other ensemble methods I get this error:

Code: Select all
Traceback (most recent call last):
  File "C:\Users\Daniel\JAVAworkspace\ZigBee\ZBApp\WEKATest.py", line 1, in <module>
    import orange, bagging
ImportError: No module named bagging



This is the version of Orange I'm using:

Code: Select all
2.0b (04:37:00, Jul  2 2013)


I installed using the latest snapshot with python 2.7.2 32-bit,

I even tried this :

Code: Select all
import Orange.ensemble.bagging.BaggedClassifier as bagging


but I get errors also.

EDIT: I am using Eclipse Juno on Windows 8 with Django-1.5.1. It is loading some cfeatures of orange but not everything and I am only interested in Ensemble methods

Can anyone help me on this please?

Thanks

Re: importing bagging not working

Postby dannyshox » Mon Aug 05, 2013 16:58

I got his working but using this import (although it gives superficial errors in Eclipse):

import Orange, cPickle, orange, orngTree, orngEval, orngStat
import Orange.ensemble.bagging as bagging
import Orange.ensemble.boosting as boosting


Return to Questions & Support



cron