Changeset 1632:9cf919d0f343 in orange-bioinformatics for Orange/bioinformatics/obiAssess.py


Ignore:
Timestamp:
04/16/12 19:53:28 (2 years ago)
Author:
mitar
Branch:
default
Message:

Fixing imports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/bioinformatics/obiAssess.py

    r1625 r1632  
    99""" 
    1010 
    11 import obiGsea 
    12 import obiGeneSets 
    13 import orange 
    14 import Orange 
    15 import stats 
    16 import statc 
     11from __future__ import absolute_import 
     12 
     13from collections import defaultdict 
     14import math 
     15 
    1716import numpy 
    18 import math 
    19 import obiExpression 
    20 import obiGene 
    21 from collections import defaultdict 
     17 
     18import orange, Orange, statc 
     19 
     20from . import obiExpression, obiGene, obiGsea, obiGeneSets, stats 
    2221 
    2322def normcdf(x, mi, st): 
     
    116115            return 0.0 #middle value 
    117116        #return first class probablity 
    118  
    119         import math 
    120117 
    121118        def saveplog(a,b): 
     
    578575 
    579576    #impute 
    580     import orngTree  
     577    from Orange.orng import orngTree  
    581578    imputer = orange.ImputerConstructor_model()  
    582579    imputer.learnerContinuous = imputer.learnerDiscrete = orange.MajorityLearner() 
Note: See TracChangeset for help on using the changeset viewer.