fixed other CNN references
This commit is contained in:
@ -431,11 +431,11 @@ class EnhancedCNNModel(nn.Module):
|
||||
return {
|
||||
'action': action,
|
||||
'action_name': 'BUY' if action == 0 else 'SELL',
|
||||
'confidence': float(confidence),
|
||||
'confidence': confidence, # Already converted to float above
|
||||
'action_confidence': action_confidence,
|
||||
'probabilities': probs.tolist(),
|
||||
'regime_probabilities': regime.tolist(),
|
||||
'volatility_prediction': float(volatility),
|
||||
'volatility_prediction': volatility, # Already converted to float above
|
||||
'raw_logits': outputs['logits'].cpu().numpy()[0].tolist()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user