class Test(object): blank = Hyperparameter(name="some-name", data_type=int) elizabeth = Hyperparameter(name="elizabeth") validated = Hyperparameter(name="validated", validate=lambda value: value > 55, data_type=int)
class Test(object): blank = Hyperparameter(name='some-name', data_type=int) elizabeth = Hyperparameter(name='elizabeth') validated = Hyperparameter(name='validated', validate=lambda value: value > 55, data_type=int)
def hyperparameters(self): return hp.serialize_all(self)
def hyperparameters(self): return hp.serialize_all(self)
def hyperparameters(self): """Placeholder docstring""" return hp.serialize_all(self)
def hyperparameters(self): """Return the SageMaker hyperparameters for training this KMeans Estimator""" hp = dict(force_dense='True' ) # KMeans requires this hp to fit on Record objects hp.update(super(KMeans, self).hyperparameters()) return hp
def hyperparameters(self): """Return the SageMaker hyperparameters for training this KMeans Estimator""" hp = dict(force_dense='True') # KMeans requires this hp to fit on Record objects hp.update(super(KMeans, self).hyperparameters()) return hp
class Test(object): blank = Hyperparameter(name="some-name") elizabeth = Hyperparameter(name='elizabeth') validated = Hyperparameter(name="validated", validate=lambda value: value > 55)
def hyperparameters(self): """Return the SageMaker hyperparameters for training this ImageClassification Estimator""" hp = dict() hp.update(super(ImageClassification, self).hyperparameters()) return hp