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)
    def __init__(self, num_components=50, kernel="poly", degree=3, coef0=0.0, gamma=None):
        AbstractFeature.__init__(self)
        self._num_components = num_components
        self._kernel = kernel
        self._degree = degree
        self._coef0 = coef0
        self._gamma = gamma

        self._kpca = None
Beispiel #3
0
 def __init__(self, lbp_operator=ExtendedLBP(radius=1, neighbors=8)):
     AbstractFeature.__init__(self)
     self._lbp_operator = lbp_operator
Beispiel #4
0
 def __init__(self, size):
     AbstractFeature.__init__(self)
     self._size = size
Beispiel #5
0
 def __init__(self, num_bins=256):
     AbstractFeature.__init__(self)
     self._num_bins = num_bins
Beispiel #6
0
 def __init__(self):
     AbstractFeature.__init__(self)
     self._mean = 0.0
     self._std = 1.0
Beispiel #7
0
 def __init__(self, low=0, high=1):
     AbstractFeature.__init__(self)
     self._low = low
     self._high = high