Upload 4 files
Browse filesFiles changed (3)
- Dockerfile+2-2
- static/css/style.css+7-3
- templates/report.html+10-15
10 unmodified lines1112131415161713 unmodified lines3132333410 unmodified lines# Install system dependencies for OpenCV and other toolsRUN apt-get update && apt-get install -y \libgl1-mesa-glx \libglib2.0-0 \&& rm -rf /var/lib/apt/lists/*13 unmodified linesEXPOSE 7860# Run the application with GunicornCMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "600", "app:app"]10 unmodified lines1112131415161713 unmodified lines3132333410 unmodified lines# Install system dependencies for OpenCV and other toolsRUN apt-get update && apt-get install -y \libgl1 \libglib2.0-0 \&& rm -rf /var/lib/apt/lists/*13 unmodified linesEXPOSE 7860# Run the application with GunicornCMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
189 unmodified lines1901911921931941951965 unmodified lines2022032042052062073 unmodified lines211212213214215216217218219220221222189 unmodified lines/* Metrics Dashboard */.metrics-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));gap: 1.5rem;margin: 2.5rem 0;}5 unmodified linespadding: 2rem;transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);}.metric-item:hover {3 unmodified lines}.metric-value {font-size: clamp(2.2rem, 5vw, 3.5rem);font-weight: 800;letter-spacing: -0.05em;display: block;color: white;margin-bottom: 0.5rem;}.metric-label {189 unmodified lines1901911921931941951965 unmodified lines2022032042052062072082092103 unmodified lines214215216217218219220221222223224225226189 unmodified lines/* Metrics Dashboard */.metrics-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 1.5rem;margin: 2.5rem 0;}5 unmodified linespadding: 2rem;transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);overflow: hidden;display: flex;flex-direction: column;}.metric-item:hover {3 unmodified lines}.metric-value {font-size: clamp(2.5rem, 6vw, 4.5rem);font-weight: 900;letter-spacing: -0.05em;display: block;color: white;margin-bottom: 0.5rem;line-height: 1;}.metric-label {
33 unmodified lines3435363738394041424344454647484950515253545556575859606162636465666733 unmodified lines<p class="label-mini">Performance Summary</p><div class="metrics-grid"><div class="metric-item"><span class="metric-value" style="font-size: 4rem; font-weight: 900;">{{ (metrics.accuracy *100)|round(2) }}%</span><span class="metric-label" style="font-size: 14px; font-weight: 800; opacity: 1;">ACCURACY</span><p class="metric-note">Percentage of correct predictions out of total samples.</p></div><div class="metric-item"><span class="metric-value" style="font-size: 4rem; font-weight: 900;">{{ metrics.f1|round(4)}}</span><span class="metric-label" style="font-size: 14px; font-weight: 800; opacity: 1;">WEIGHTED F1</span><p class="metric-note">Harmonic mean of precision and recall, weighted by class frequency.</p></div><div class="metric-item"><span class="metric-value" style="font-size: 4rem; font-weight: 900;">{{ metrics.macro_f1|round(4)}}</span><span class="metric-label" style="font-size: 14px; font-weight: 800; opacity: 1;">MACRO F1</span><p class="metric-note">Unweighted mean of F1 scores across all classes (highlights imbalanceissues).</p></div><div class="metric-item"><span class="metric-value" style="font-size: 4rem; font-weight: 900;">{{ metrics.precision|round(4)}}</span><span class="metric-label" style="font-size: 14px; font-weight: 800; opacity: 1;">PRECISION</span><p class="metric-note">Ability of the classifier not to label a negative sample as positive.</p></div><div class="metric-item"><span class="metric-value" style="font-size: 4rem; font-weight: 900;">{{ metrics.recall|round(4)}}</span><span class="metric-label" style="font-size: 14px; font-weight: 800; opacity: 1;">RECALL</span><p class="metric-note">Ability of the classifier to find all positive samples.</p></div></div>33 unmodified lines343536373839404142434445464748495051525354555657585960616233 unmodified lines<p class="label-mini">Performance Summary</p><div class="metrics-grid"><div class="metric-item"><span class="metric-value">{{ (metrics.accuracy * 100)|round(2) }}%</span><span class="metric-label">ACCURACY</span><p class="metric-note">Percentage of correct predictions out of total samples.</p></div><div class="metric-item"><span class="metric-value">{{ metrics.f1|round(4) }}</span><span class="metric-label">WEIGHTED F1</span><p class="metric-note">Harmonic mean of precision and recall, weighted by class frequency.</p></div><div class="metric-item"><span class="metric-value">{{ metrics.macro_f1|round(4) }}</span><span class="metric-label">MACRO F1</span><p class="metric-note">Unweighted mean of F1 scores across all classes (highlights imbalanceissues).</p></div><div class="metric-item"><span class="metric-value">{{ metrics.precision|round(4) }}</span><span class="metric-label">PRECISION</span><p class="metric-note">Ability of the classifier not to label a negative sample as positive.</p></div><div class="metric-item"><span class="metric-value">{{ metrics.recall|round(4) }}</span><span class="metric-label">RECALL</span><p class="metric-note">Ability of the classifier to find all positive samples.</p></div></div>
Dockerfile+2-2
static/css/style.css+7-3
templates/report.html+10-15