Fix type errors by converting all hyperopt methods to instance methods
This commit is contained in:
@@ -101,7 +101,8 @@ class FloatParameter(BaseParameter):
|
||||
opt_range: Sequence[float]
|
||||
|
||||
def __init__(self, low: Union[float, Sequence[float]], high: Optional[float] = None, *,
|
||||
default: float, space: Optional[str] = None, optimize: bool = True, load: bool = True, **kwargs):
|
||||
default: float, space: Optional[str] = None,
|
||||
optimize: bool = True, load: bool = True, **kwargs):
|
||||
"""
|
||||
Initialize hyperopt-optimizable parameter.
|
||||
:param low: Lower end (inclusive) of optimization space or [low, high].
|
||||
|
Reference in New Issue
Block a user