explicit dimensions, added **kwargs, updated docs

This commit is contained in:
Italo
2022-01-25 11:43:40 +00:00
parent a4dbdb549d
commit f7a5b2cb71
4 changed files with 27 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ class IHyperOpt(ABC):
IHyperOpt.ticker_interval = str(config['timeframe']) # DEPRECATED
IHyperOpt.timeframe = str(config['timeframe'])
def generate_estimator(self) -> EstimatorType:
def generate_estimator(self, dimensions, **kwargs) -> EstimatorType:
"""
Return base_estimator.
Can be any of "GP", "RF", "ET", "GBRT" or an instance of a class