Projected Gradient Descent (PGD) attacks are a type of adversarial attack used to test the robustness of machine learning models. This repository contains visualization tools to help researchers explain and understand PGD attacks.
-
Modify PlotCosineSimilarityGradExample
- Use actual X and Y data from the PCAClass plot.
- Modify the radius of the ring plotted to map perturbations of an input.
-
Replicate PlotCosineSimilarityGradExample as a Web Interface
- Create a web interface where green, yellow, and blue points are draggable objects that update the graph in real-time.
To get started with the visualization tools, follow the instructions below:
- Clone the repository:
git clone https://github.com/yourusername/PGDVisualisation.git
- Navigate to the project directory:
cd PGDVisualisation
- Install the required dependencies:
pip install -r requirements.txt