Add Fashion-MNIST alternate problem suite for enhanced optimization benchmarking #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements a comprehensive alternate version of the MNIST problem suite using the Fashion-MNIST dataset, providing a more challenging and realistic benchmark for optimization algorithms.
What is Fashion-MNIST?
Fashion-MNIST is a dataset of Zalando's article images consisting of 60,000 training examples of clothing items (T-shirt, Trouser, Pullover, Dress, Coat, Sandal, Shirt, Sneaker, Bag, Ankle boot). It serves as a drop-in replacement for MNIST but offers:
Implementation Details
New Components Added:
src/benchmarks/fashion_mnist.rs: Complete Fashion-MNIST neural network implementation with automatic data downloadingtests/fashion_mnist_test.rs: Comprehensive test suite validating all functionalityexamples/fashion_mnist_demo.rs: Working demonstration showing usage and capabilitiesdocs/fashion_mnist.md: Complete documentation and usage guideProblem Variants Available:
The suite includes 6 different optimization problems with varying complexity:
Key Features:
Example Usage:
Testing & Validation:
All tests pass successfully:
The working example demonstrates successful data download, network creation, and optimization problem setup with realistic loss values.
This enhancement provides researchers and practitioners with a more challenging and meaningful benchmark for evaluating optimization algorithms on practical machine learning tasks.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.