feat: add paramType to Strategy Parameters
This commit is contained in:
@@ -70,6 +70,10 @@ class BaseParameter(ABC):
|
|||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f"{self.__class__.__name__}({self.value})"
|
return f"{self.__class__.__name__}({self.value})"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def param_type(self) -> str:
|
||||||
|
return self.__class__.__name__
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def get_space(self, name: str) -> Union["Integer", "Real", "SKDecimal", "Categorical"]:
|
def get_space(self, name: str) -> Union["Integer", "Real", "SKDecimal", "Categorical"]:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user