Ejemplo n.º 1
0
 def __init__(self, gamma=1.0, n_components=100, random_state=None):
     self._hyperparams = {
         'gamma': gamma,
         'n_components': n_components,
         'random_state': random_state
     }
     self._wrapped_model = Op(**self._hyperparams)
Ejemplo n.º 2
0
 def __init__(self, skewedness=1.0, n_components=100, random_state=None):
     self._hyperparams = {
         'skewedness': skewedness,
         'n_components': n_components,
         'random_state': random_state
     }
     self._wrapped_model = Op(**self._hyperparams)
Ejemplo n.º 3
0
 def __init__(self,
              kernel='rbf',
              gamma=None,
              coef0=None,
              degree=None,
              kernel_params=None,
              n_components=100,
              random_state=None):
     self._hyperparams = {
         'kernel': kernel,
         'gamma': gamma,
         'coef0': coef0,
         'degree': degree,
         'kernel_params': kernel_params,
         'n_components': n_components,
         'random_state': random_state
     }
     self._wrapped_model = Op(**self._hyperparams)
Ejemplo n.º 4
0
 def __init__(self, **hyperparams):
     self._hyperparams = hyperparams
     self._wrapped_model = Op(**self._hyperparams)
Ejemplo n.º 5
0
 def __init__(self, sample_steps=2, sample_interval=None):
     self._hyperparams = {
         'sample_steps': sample_steps,
         'sample_interval': sample_interval
     }
     self._wrapped_model = Op(**self._hyperparams)