Skip to content

This repository implements the minimal finite covering problem and its application.

License

Notifications You must be signed in to change notification settings

TongCHEN779/MinimalFiniteCovering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Finite Covering

This repository implements the minimal finite covering problem and its application, and is the official source code for paper "Is Adversarial Training with Compressed Datasets Effective?" (Chen & Selvan. 2024). For more information, contact: Tong Chen (toch@di.ku.dk).

Requirements

torch, numpy, scipy, gurobipy (license is required)

Basic Usage

Finite covering with fixed number $k$ and minimum radius $\eta$.

sub_data, eta, sol = FC(data).gen_data(A, k=k, save=False)

Finite covering with fixed radius $\eta$ and minimum number $k$.

sub_data, eta, sol = FC(data).gen_data(A, eta=eta, save=False)

About

This repository implements the minimal finite covering problem and its application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages