File size: 26,548 Bytes
844c2d2 |
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dataset Repository Explorer</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3b82f6',
secondary: '#1e40af',
accent: '#60a5fa',
dark: '#0f172a',
light: '#f8fafc'
}
}
}
}
</script>
<style>
.file-tree {
transition: all 0.3s ease;
}
.file-item:hover {
background-color: rgba(59, 130, 246, 0.1);
}
.collapsible-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
}
.collapsible-content.active {
max-height: 500px;
}
.file-icon {
transition: transform 0.2s ease;
}
.file-icon.rotate {
transform: rotate(90deg);
}
.stats-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stats-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
</style>
</head>
<body class="bg-gradient-to-br from-gray-50 to-gray-100 min-h-screen">
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="mb-10 text-center">
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-3">Dataset Repository Explorer</h1>
<p class="text-gray-600 max-w-2xl mx-auto">Browse and explore your dataset repository structure with detailed file information</p>
</header>
<!-- Stats Overview -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-10">
<div class="stats-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
<div class="flex items-center">
<div class="p-3 rounded-lg bg-blue-100 text-blue-600 mr-4">
<i class="fas fa-folder fa-lg"></i>
</div>
<div>
<p class="text-gray-500 text-sm">Folders</p>
<p class="text-2xl font-bold">1</p>
</div>
</div>
</div>
<div class="stats-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
<div class="flex items-center">
<div class="p-3 rounded-lg bg-green-100 text-green-600 mr-4">
<i class="fas fa-file-csv fa-lg"></i>
</div>
<div>
<p class="text-gray-500 text-sm">CSV Files</p>
<p class="text-2xl font-bold">3</p>
</div>
</div>
</div>
<div class="stats-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
<div class="flex items-center">
<div class="p-3 rounded-lg bg-purple-100 text-purple-600 mr-4">
<i class="fas fa-database fa-lg"></i>
</div>
<div>
<p class="text-gray-500 text-sm">Total Size</p>
<p class="text-2xl font-bold">12.4 MB</p>
</div>
</div>
</div>
<div class="stats-card bg-white rounded-xl p-6 shadow-md border border-gray-100">
<div class="flex items-center">
<div class="p-3 rounded-lg bg-amber-100 text-amber-600 mr-4">
<i class="fas fa-code-branch fa-lg"></i>
</div>
<div>
<p class="text-gray-500 text-sm">Last Updated</p>
<p class="text-2xl font-bold">2 days ago</p>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex flex-col lg:flex-row gap-8">
<!-- File Explorer -->
<div class="lg:w-1/3">
<div class="bg-white rounded-2xl shadow-lg overflow-hidden">
<div class="bg-gradient-to-r from-primary to-secondary p-5">
<h2 class="text-xl font-bold text-white flex items-center">
<i class="fas fa-folder-tree mr-2"></i> Repository Structure
</h2>
</div>
<div class="p-5">
<div class="file-tree">
<!-- Root folder -->
<div class="file-item mb-2">
<div class="flex items-center cursor-pointer" onclick="toggleFolder(this)">
<i class="fas fa-folder text-yellow-500 mr-2 file-icon"></i>
<span class="font-medium">my_dataset_repository</span>
<span class="ml-auto text-gray-500 text-sm">4 items</span>
</div>
<!-- Folder contents -->
<div class="collapsible-content pl-6 mt-2">
<!-- README.md -->
<div class="file-item flex items-center py-2 px-3 rounded-lg">
<i class="fas fa-file-alt text-blue-500 mr-2"></i>
<span>README.md</span>
<span class="ml-auto text-gray-500 text-sm">2.4 KB</span>
</div>
<!-- train.csv -->
<div class="file-item flex items-center py-2 px-3 rounded-lg">
<i class="fas fa-file-csv text-green-500 mr-2"></i>
<span>train.csv</span>
<span class="ml-auto text-gray-500 text-sm">8.2 MB</span>
</div>
<!-- test.csv -->
<div class="file-item flex items-center py-2 px-3 rounded-lg">
<i class="fas fa-file-csv text-green-500 mr-2"></i>
<span>test.csv</span>
<span class="ml-auto text-gray-500 text-sm">2.1 MB</span>
</div>
<!-- validation.csv -->
<div class="file-item flex items-center py-2 px-3 rounded-lg">
<i class="fas fa-file-csv text-green-500 mr-2"></i>
<span>validation.csv</span>
<span class="ml-auto text-gray-500 text-sm">1.7 MB</span>
</div>
</div>
</div>
</div>
<div class="mt-6 pt-4 border-t border-gray-200">
<h3 class="font-bold text-gray-700 mb-3">Quick Actions</h3>
<div class="flex flex-wrap gap-2">
<button class="flex items-center bg-blue-100 hover:bg-blue-200 text-blue-700 px-3 py-2 rounded-lg text-sm transition">
<i class="fas fa-download mr-1"></i> Download All
</button>
<button class="flex items-center bg-green-100 hover:bg-green-200 text-green-700 px-3 py-2 rounded-lg text-sm transition">
<i class="fas fa-sync-alt mr-1"></i> Refresh
</button>
<button class="flex items-center bg-purple-100 hover:bg-purple-200 text-purple-700 px-3 py-2 rounded-lg text-sm transition">
<i class="fas fa-code-branch mr-1"></i> Clone
</button>
</div>
</div>
</div>
</div>
</div>
<!-- File Details -->
<div class="lg:w-2/3">
<div class="bg-white rounded-2xl shadow-lg overflow-hidden mb-8">
<div class="bg-gradient-to-r from-primary to-secondary p-5">
<h2 class="text-xl font-bold text-white flex items-center">
<i class="fas fa-info-circle mr-2"></i> File Details
</h2>
</div>
<div class="p-5">
<div class="flex items-start mb-6">
<div class="p-4 bg-blue-100 rounded-xl mr-4">
<i class="fas fa-file-csv text-3xl text-blue-600"></i>
</div>
<div>
<h3 class="text-2xl font-bold text-gray-800">train.csv</h3>
<p class="text-gray-600">Training dataset for machine learning model</p>
<div class="flex flex-wrap gap-2 mt-2">
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">CSV</span>
<span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded">Training Data</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">8.2 MB</span>
</div>
</div>
</div>
<!-- Example Element Image -->
<div class="mb-6">
<img id="BiOTOKEN1365800000587THAi" src="https://placehold.co/600x400?text=Dataset+Visualization" alt="Example Element" class="w-full rounded-xl shadow-md">
<p class="text-center text-gray-600 mt-2 text-sm">Dataset Visualization</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div class="bg-gray-50 p-4 rounded-xl">
<h4 class="font-bold text-gray-700 mb-2">Dataset Overview</h4>
<ul class="space-y-2">
<li class="flex justify-between">
<span class="text-gray-600">Rows:</span>
<span class="font-medium">42,840</span>
</li>
<li class="flex justify-between">
<span class="text-gray-600">Columns:</span>
<span class="font-medium">18</span>
</li>
<li class="flex justify-between">
<span class="text-gray-600">Missing Values:</span>
<span class="font-medium">0.2%</span>
</li>
<li class="flex justify-between">
<span class="text-gray-600">Last Modified:</span>
<span class="font-medium">2023-07-15</span>
</li>
</ul>
</div>
<div class="bg-gray-50 p-4 rounded-xl">
<h4 class="font-bold text-gray-700 mb-2">Column Types</h4>
<div class="space-y-2">
<div class="flex items-center">
<div class="w-3 h-3 bg-blue-500 rounded-full mr-2"></div>
<span class="text-gray-600">Numerical:</span>
<span class="ml-auto font-medium">12</span>
</div>
<div class="flex items-center">
<div class="w-3 h-3 bg-green-500 rounded-full mr-2"></div>
<span class="text-gray-600">Categorical:</span>
<span class="ml-auto font-medium">5</span>
</div>
<div class="flex items-center">
<div class="w-3 h-3 bg-amber-500 rounded-full mr-2"></div>
<span class="text-gray-600">Text:</span>
<span class="ml-auto font-medium">1</span>
</div>
</div>
</div>
</div>
<div class="border-t border-gray-200 pt-4">
<h4 class="font-bold text-gray-700 mb-3">Preview (First 5 rows)</h4>
<div class="overflow-x-auto">
<table class="min-w-full bg-white rounded-lg overflow-hidden">
<thead class="bg-gray-100">
<tr>
<th class="py-2 px-4 text-left text-gray-600 font-medium">ID</th>
<th class="py-2 px-4 text-left text-gray-600 font-medium">Feature 1</th>
<th class="py-2 px-4 text-left text-gray-600 font-medium">Feature 2</th>
<th class="py-2 px-4 text-left text-gray-600 font-medium">Target</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-100">
<td class="py-2 px-4">1</td>
<td class="py-2 px-4">0.84</td>
<td class="py-2 px-4">Category A</td>
<td class="py-2 px-4">1</td>
</tr>
<tr class="border-b border-gray-100">
<td class="py-2 px-4">2</td>
<td class="py-2 px-4">0.67</td>
<td class="py-2 px-4">Category B</td>
<td class="py-2 px-4">0</td>
</tr>
<tr class="border-b border-gray-100">
<td class="py-2 px-4">3</td>
<td class="py-2 px-4">0.92</td>
<td class="py-2 px-4">Category A</td>
<td class="py-2 px-4">1</td>
</tr>
<tr class="border-b border-gray-100">
<td class="py-2 px-4">4</td>
<td class="py-2 px-4">0.45</td>
<td class="py-2 px-4">Category C</td>
<td class="py-2 px-4">0</td>
</tr>
<tr>
<td class="py-2 px-4">5</td>
<td class="py-2 px-4">0.78</td>
<td class="py-2 px-4">Category B</td>
<td class="py-2 px-4">1</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white rounded-2xl shadow-lg overflow-hidden">
<div class="bg-gradient-to-r from-primary to-secondary p-5">
<h2 class="text-xl font-bold text-white flex items-center">
<i class="fas fa-history mr-2"></i> Recent Activity
</h2>
</div>
<div class="p-5">
<div class="space-y-4">
<div class="flex items-start">
<div class="p-2 bg-green-100 rounded-full mr-3">
<i class="fas fa-plus text-green-600"></i>
</div>
<div>
<p class="font-medium">New file added</p>
<p class="text-gray-600 text-sm">validation.csv was added to the repository</p>
<p class="text-gray-400 text-xs mt-1">2 days ago</p>
</div>
</div>
<div class="flex items-start">
<div class="p-2 bg-blue-100 rounded-full mr-3">
<i class="fas fa-edit text-blue-600"></i>
</div>
<div>
<p class="font-medium">File updated</p>
<p class="text-gray-600 text-sm">train.csv was modified with additional data</p>
<p class="text-gray-400 text-xs mt-1">5 days ago</p>
</div>
</div>
<div class="flex items-start">
<div class="p-2 bg-purple-100 rounded-full mr-3">
<i class="fas fa-file-alt text-purple-600"></i>
</div>
<div>
<p class="font-medium">Documentation updated</p>
<p class="text-gray-600 text-sm">README.md was updated with new information</p>
<p class="text-gray-400 text-xs mt-1">1 week ago</p>
</div>
</div>
</div>
</div>
</div>
<!-- Data Quality Report -->
<div class="bg-white rounded-2xl shadow-lg overflow-hidden mt-8">
<div class="bg-gradient-to-r from-primary to-secondary p-5">
<h2 class="text-xl font-bold text-white flex items-center">
<i class="fas fa-clipboard-check mr-2"></i> Data Quality Report
</h2>
</div>
<div class="p-5">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
<div class="bg-blue-50 p-5 rounded-xl border border-blue-100">
<div class="flex items-center">
<div class="p-3 bg-blue-100 rounded-lg mr-4">
<i class="fas fa-exchange-alt text-blue-600"></i>
</div>
<div>
<p class="text-gray-600">Overlapping Rows</p>
<p class="text-2xl font-bold">0</p>
</div>
</div>
<p class="text-gray-500 text-sm mt-3">Rows present in both train and test sets</p>
</div>
<div class="bg-green-50 p-5 rounded-xl border border-green-100">
<div class="flex items-center">
<div class="p-3 bg-green-100 rounded-lg mr-4">
<i class="fas fa-layer-group text-green-600"></i>
</div>
<div>
<p class="text-gray-600">Total Unique Rows</p>
<p class="text-2xl font-bold">85,680</p>
</div>
</div>
<p class="text-gray-500 text-sm mt-3">Combined unique rows from both datasets</p>
</div>
<div class="bg-amber-50 p-5 rounded-xl border border-amber-100">
<div class="flex items-center">
<div class="p-3 bg-amber-100 rounded-lg mr-4">
<i class="fas fa-percentage text-amber-600"></i>
</div>
<div>
<p class="text-gray-600">Overlap Percentage</p>
<p class="text-2xl font-bold">0%</p>
</div>
</div>
<p class="text-gray-500 text-sm mt-3">Percentage of overlapping rows</p>
</div>
</div>
<div class="bg-gray-50 p-5 rounded-xl">
<h3 class="font-bold text-gray-700 mb-3">Analysis Summary</h3>
<div class="flex items-start">
<div class="p-2 bg-green-100 rounded-full mr-3 mt-1">
<i class="fas fa-check-circle text-green-600"></i>
</div>
<div>
<p class="font-medium text-gray-800">No Data Leakage Detected</p>
<p class="text-gray-600 text-sm">There are no overlapping rows between training and test datasets, indicating proper data partitioning.</p>
</div>
</div>
<div class="flex items-start mt-4">
<div class="p-2 bg-blue-100 rounded-full mr-3 mt-1">
<i class="fas fa-info-circle text-blue-600"></i>
</div>
<div>
<p class="font-medium text-gray-800">Recommendation</p>
<p class="text-gray-600 text-sm">The dataset partitioning follows best practices. Proceed with confidence in your model evaluation process.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="mt-12 text-center text-gray-600 text-sm">
<p>Dataset Repository Explorer © 2023 | Created with Tailwind CSS</p>
</footer>
</div>
<script>
// Toggle folder visibility
function toggleFolder(element) {
const icon = element.querySelector('.file-icon');
const content = element.nextElementSibling;
icon.classList.toggle('rotate');
content.classList.toggle('active');
}
// Initialize with folder open
document.addEventListener('DOMContentLoaded', function() {
const folder = document.querySelector('.file-item > .flex');
if (folder) {
toggleFolder(folder);
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=APAOLO/googleedgeai-onmicrosoft-com" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |