Changeset 11707:48444bf27fd1 in orange


Ignore:
Timestamp:
09/16/13 12:49:56 (7 months ago)
Author:
janez@…
Branch:
default
Message:

Removed mathutil

Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/orng/orngDimRed.py

    r9671 r11707  
    1616#   - 2003/11/20: returning the parameters of the transform 
    1717 
    18 import numpy, mathutil 
     18import numpy 
    1919import numpy.linalg as LinearAlgebra 
    2020 
     
    8989        return skewness**2 
    9090 
    91 def BoxCoxTransform(vector,lambd=None): 
    92     v = -min(vector)+1+vector 
    93     print "shifting by ",-min(vector)+1 
    94     if lambd==None: 
    95         # find the value of lambda that will minimize skew 
    96         lambd = mathutil.minimum(_BCskewness(v)) 
    97         print "best-fitting lambda = ",lambd 
    98     return _BC(v,lambd) 
     91# def BoxCoxTransform(vector,lambd=None): 
     92#     v = -min(vector)+1+vector 
     93#     print "shifting by ",-min(vector)+1 
     94#     if lambd==None: 
     95#         # find the value of lambda that will minimize skew 
     96#         lambd = mathutil.minimum(_BCskewness(v)) 
     97#         print "best-fitting lambda = ",lambd 
     98#     return _BC(v,lambd) 
    9999 
    100100def RankConversion(vector,reverse=0): 
     
    140140    print "variance scaling" 
    141141    print VarianceScaling(v) 
    142     print "Box-Cox" 
    143     print BoxCoxTransform(v) 
     142#    print "Box-Cox" 
     143#    print BoxCoxTransform(v) 
  • install-scripts/debian/control-files/python-orange.install

    r9517 r11707  
    44usr/lib/python*/*-packages/orange/orng*.py 
    55usr/lib/python*/*-packages/orange/fileutil.py 
    6 usr/lib/python*/*-packages/orange/mathutil.py 
    76usr/lib/python*/*-packages/orange/orange2to25.py 
    87usr/lib/python*/*-packages/orange/widgetParser.py 
Note: See TracChangeset for help on using the changeset viewer.