#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# n = 100 #NEWLINE# m = 4 #NEWLINE# np . random . seed ( 1234 ) #NEWLINE# self . data = np . random . randn ( n , m ) #NEWLINE# self . T = cKDTree ( self . data , leafsize = 2 ) #NEWLINE# self . x = np . random . randn ( m ) #NEWLINE# self . p = 2.0 #NEWLINE# self . eps = 0 #NEWLINE# self . d = 0.2