Skip to content

Commit 0bc74e2

Browse files
Create report_template.html
Signed-off-by: ๐Ž๐ง๐ž ๐…๐ข๐ง๐ž ๐’๐ญ๐š๐ซ๐ฌ๐ญ๐ฎ๐Ÿ๐Ÿ <onefinestarstuff@gmail.com>
1 parent 4e6355b commit 0bc74e2

1 file changed

Lines changed: 80 additions & 0 deletions

File tree

โ€Žreport_template.htmlโ€Ž

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>{{ title }}</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
margin: 20px;
11+
}
12+
h1 {
13+
color: #333;
14+
}
15+
h2 {
16+
color: #555;
17+
}
18+
table {
19+
width: 100%;
20+
border-collapse: collapse;
21+
margin: 20px 0;
22+
}
23+
table, th, td {
24+
border: 1px solid #ccc;
25+
}
26+
th, td {
27+
padding: 10px;
28+
text-align: left;
29+
}
30+
.plot {
31+
text-align: center;
32+
margin: 20px 0;
33+
}
34+
</style>
35+
</head>
36+
<body>
37+
<h1>{{ title }}</h1>
38+
39+
<h2>Data Summary</h2>
40+
<table>
41+
<tr>
42+
<th>Metric</th>
43+
<th>Value</th>
44+
</tr>
45+
<tr>
46+
<td>Standard Error</td>
47+
<td>{{ data_summary.standard_error }}</td>
48+
</tr>
49+
<tr>
50+
<td>Confidence Interval</td>
51+
<td>{{ data_summary.confidence_interval }}</td>
52+
</tr>
53+
<tr>
54+
<td>Mean Squared Error (MSE)</td>
55+
<td>{{ data_summary.mse }}</td>
56+
</tr>
57+
<tr>
58+
<td>T-statistic</td>
59+
<td>{{ data_summary.t_stat }}</td>
60+
</tr>
61+
<tr>
62+
<td>P-value</td>
63+
<td>{{ data_summary.p_value }}</td>
64+
</tr>
65+
</table>
66+
67+
<h2>Plots</h2>
68+
<div class="plot">
69+
<h3>Distribution Plot</h3>
70+
<img src="{{ plots.distribution_plot }}" alt="Distribution Plot">
71+
</div>
72+
<div class="plot">
73+
<h3>Confidence Interval Plot</h3>
74+
<img src="{{ plots.confidence_interval_plot }}" alt="Confidence Interval Plot">
75+
</div>
76+
77+
<h2>Conclusion</h2>
78+
<p>{{ conclusion }}</p>
79+
</body>
80+
</html>

0 commit comments

Comments
ย (0)