-
- {predictions.demand.predictedDaily.toFixed(1)} units/day
-
-
-
- {getConfidenceLabel(predictions.demand.confidence)} Confidence
-
-
- {predictions.demand.predictedWeekly && (
-
- ~{predictions.demand.predictedWeekly.toFixed(0)} units/week
-
- )}
- {predictions.demand.predictedMonthly && (
-
- ~{predictions.demand.predictedMonthly.toFixed(0)} units/month
-
- )}
- {predictions.demand.confidenceIntervals && (
-
- Range: {predictions.demand.confidenceIntervals.lower.toFixed(1)} -{" "}
- {predictions.demand.confidenceIntervals.upper.toFixed(1)} units/day
-
- )}
+
+
+ Architecture
+
+
+ Hybrid Ensemble (Deep Learning)
+
- ) : (
-
- {predictions.demand.message ||
- "Insufficient data for prediction"}
+ {stockPredictions?.predictions && (
+
+ Features
+
+ Multi-Feature Enabled
+
+
+ )}
+
+ Optimization
+
+
+ Performance Tuned
+
- )}
+
+ Model automatically retrains with new sales data.
+
+
@@ -399,28 +368,59 @@ export default function PredictionsChart({
-
- {predictions.sales.dailyPredictions.map((day) => (
-
+
+ ({
+ ...d,
+ formattedDate: format(new Date(d.date), "MMM d"),
+ value: d.predicted
+ }))}
+ margin={{
+ top: 5,
+ right: 10,
+ left: 0,
+ bottom: 0,
+ }}
>
-
-
-
-
- Day {day.day}
-
-
- {format(new Date(day.date), "MMM d, yyyy")}
-
-
-
-
- {formatGBP(day.predicted)}
-
-
- ))}
+
+
+
+
+
+
+
+
+
`£${value}`}
+ />
+ [formatGBP(value), "Revenue"]}
+ />
+
+
+