Spaces:
Runtime error
Runtime error
Create results.html
Browse files- results.html +49 -0
results.html
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Prediction Results</title>
|
| 7 |
+
<style>
|
| 8 |
+
body {
|
| 9 |
+
font-family: Arial, sans-serif;
|
| 10 |
+
background-color: #f0f8ff;
|
| 11 |
+
text-align: center;
|
| 12 |
+
margin-top: 50px;
|
| 13 |
+
}
|
| 14 |
+
h1 {
|
| 15 |
+
color: #333;
|
| 16 |
+
font-size: 32px;
|
| 17 |
+
}
|
| 18 |
+
.result {
|
| 19 |
+
margin-top: 30px;
|
| 20 |
+
padding: 20px;
|
| 21 |
+
background-color: #e8f4f8;
|
| 22 |
+
border-radius: 5px;
|
| 23 |
+
}
|
| 24 |
+
button {
|
| 25 |
+
padding: 10px 20px;
|
| 26 |
+
font-size: 16px;
|
| 27 |
+
background-color: #4CAF50;
|
| 28 |
+
color: white;
|
| 29 |
+
border: none;
|
| 30 |
+
cursor: pointer;
|
| 31 |
+
}
|
| 32 |
+
button:hover {
|
| 33 |
+
background-color: #45a049;
|
| 34 |
+
}
|
| 35 |
+
</style>
|
| 36 |
+
</head>
|
| 37 |
+
<body>
|
| 38 |
+
<h1>Prediction Results</h1>
|
| 39 |
+
<div class="result">
|
| 40 |
+
<h2>Model Predictions:</h2>
|
| 41 |
+
<p><strong>Logistic Regression:</strong> {{ logistic_regression }}</p>
|
| 42 |
+
<p><strong>SVM:</strong> {{ svm }}</p>
|
| 43 |
+
<p><strong>Random Forest:</strong> {{ random_forest }}</p>
|
| 44 |
+
<p><strong>KNN:</strong> {{ knn }}</p>
|
| 45 |
+
<p><strong>Neural Network:</strong> {{ neural_network }}</p>
|
| 46 |
+
<button onclick="window.location.href='/'">Try Again</button>
|
| 47 |
+
</div>
|
| 48 |
+
</body>
|
| 49 |
+
</html>
|