Beispiel #1
0
 def __init__(self, alpha = 0.1, tau = 10.0, gamma = 0.2, sigma0 = 1.0, sigma1 = 2.0):
     AbstractFeature.__init__(self)
     self._alpha = float(alpha)
     self._tau = float(tau)
     self._gamma = float(gamma)
     self._sigma0 = float(sigma0)
     self._sigma1 = float(sigma1)
Beispiel #2
0
 def __init__(self):
     AbstractFeature.__init__(self)
     self._mean = 0.0 
     self._std = 1.0
Beispiel #3
0
 def __init__(self, low=0, high=1):
     AbstractFeature.__init__(self)
     self._low = low
     self._high = high
Beispiel #4
0
 def __init__(self, num_bins=256):
     AbstractFeature.__init__(self)
     self._num_bins = num_bins
Beispiel #5
0
 def __init__(self, lbp_operator = ExtendedLBP(radius=1, neighbors=8)):
     AbstractFeature.__init__(self)
     self._lbp_operator = lbp_operator
Beispiel #6
0
 def __init__(self, size):
     AbstractFeature.__init__(self)
     self._size = size
Beispiel #7
0
 def __init__(self, size):
     AbstractFeature.__init__(self)
     self._size = size
 def __init__(self, percentiles):
     AbstractFeature.__init__(self)
     self._percentiles = percentiles
 def __init__(self, percentiles):
     AbstractFeature.__init__(self)
     self._percentiles = percentiles