mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-19 06:11:15 +00:00
chore: minor typing fix
This commit is contained in:
@@ -39,8 +39,8 @@ class BasePyTorchClassifier(BasePyTorchModel):
|
|||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
super().__init__(**kwargs)
|
super().__init__(**kwargs)
|
||||||
self.class_name_to_index = None
|
self.class_name_to_index = {}
|
||||||
self.index_to_class_name = None
|
self.index_to_class_name = {}
|
||||||
|
|
||||||
def predict(
|
def predict(
|
||||||
self, unfiltered_df: DataFrame, dk: FreqaiDataKitchen, **kwargs
|
self, unfiltered_df: DataFrame, dk: FreqaiDataKitchen, **kwargs
|
||||||
|
|||||||
Reference in New Issue
Block a user