File size: 1,493 Bytes
8003028 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cloud Workload Forecasting</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" />
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<h1 class="title">⚡ Cloud Workload Forecasting Dashboard</h1>
<div class="upload-box">
<input type="file" id="fileInput" accept=".csv" />
</div>
<div class="row">
<!-- LEFT PANEL -->
<div class="panel left-panel">
<h2>📊 First 10 Values</h2>
<pre id="dataPreview">Upload CSV...</pre>
<h3 style="margin-top:25px;">📉 Model Performance (MSE)</h3>
<p>Train MSE: <span id="trainMSE">--</span></p>
<p>Test MSE : <span id="testMSE">--</span></p>
</div>
<!-- RIGHT PANEL -->
<div class="panel right-panel">
<h2>🧠 Predictions</h2>
<div class="prediction">
<p>Last Value in Given Dataset: <span id="lastValue">--</span></p>
<p>Next Prediction: <span id="nextPred">--</span></p>
</div>
<h3>⏳ Future 20 Predictions</h3>
<pre id="futurePreds">--</pre>
</div>
</div>
<!-- GRAPH SECTION -->
<div class="graph-section">
<h2>📈 Forecast Graph</h2>
<canvas id="forecastChart"></canvas>
</div>
<script src="{{ url_for('static', filename='script.js') }}"></script>
</body>
</html>
|