| Trees | Indices | Help |
|
|---|
|
|
1 # $Id: Standardize.py 2 2006-05-06 22:54:39Z glandrum $ 2 # 3 # Copyright (C) 2001-2006 greg Landrum 4 # 5 # @@ All Rights Reserved @@ 6 # 7 """ contains code for standardization of data matrices for clustering 8 9 10 """ 11 from Numeric import * 12 from ML.Data import Stats 1315 """ the standard deviation classifier 16 17 This uses _ML.Data.Stats.StandardizeMatrix()_ to do the work 18 19 """ 20 return Stats.StandardizeMatrix(mat)21 22 methods = [ 23 ("None",lambda x:x,"No Standardization"), 24 ("Standard Deviation",StdDev,"Use the standard deviation"), 25 ] 26
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:14 2008 | http://epydoc.sourceforge.net |