Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -328,3 +328,9 @@ class OutlierDetective:
|
|
| 328 |
report += f"- Explanation: {result['explanation']}\n\n"
|
| 329 |
|
| 330 |
return report
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 328 |
report += f"- Explanation: {result['explanation']}\n\n"
|
| 329 |
|
| 330 |
return report
|
| 331 |
+
|
| 332 |
+
if __name__ == "__main__":
|
| 333 |
+
detector = OutlierDetective()
|
| 334 |
+
df = detector.load_data("your_dataset.csv") # <-- Replace with a real file
|
| 335 |
+
detector.analyze_outliers()
|
| 336 |
+
print(detector.generate_outlier_report())
|