cnn training stats on dash
This commit is contained in:
@ -124,6 +124,15 @@ class Config:
|
||||
'epochs': 100,
|
||||
'validation_split': 0.2,
|
||||
'early_stopping_patience': 10
|
||||
},
|
||||
'cold_start': {
|
||||
'enabled': True,
|
||||
'min_ticks': 100,
|
||||
'min_candles': 100,
|
||||
'inference_interval': 0.5,
|
||||
'training_interval': 2,
|
||||
'heavy_adjustments': True,
|
||||
'log_cold_start': True
|
||||
}
|
||||
}
|
||||
|
||||
@ -210,6 +219,19 @@ class Config:
|
||||
'early_stopping_patience': self._config.get('training', {}).get('early_stopping_patience', 10)
|
||||
}
|
||||
|
||||
@property
|
||||
def cold_start(self) -> Dict[str, Any]:
|
||||
"""Get cold start mode settings"""
|
||||
return self._config.get('cold_start', {
|
||||
'enabled': True,
|
||||
'min_ticks': 100,
|
||||
'min_candles': 100,
|
||||
'inference_interval': 0.5,
|
||||
'training_interval': 2,
|
||||
'heavy_adjustments': True,
|
||||
'log_cold_start': True
|
||||
})
|
||||
|
||||
def get(self, key: str, default: Any = None) -> Any:
|
||||
"""Get configuration value by key with optional default"""
|
||||
return self._config.get(key, default)
|
||||
|
Reference in New Issue
Block a user