This is the codes of paper 《A Geometrical Characterization on the Feature Density of Datasets》.
data_load.py, dataset_gen.py, dataset_visual.py: Dataset load, write and visualization.
bone_moons.py: codes of the toy example on Moons dataset.
bone_swissroll.py: codes of the toy example on Swiss Roll dataset.
network.py: Neural networks used in experments.
bone_dataset_remaug.py: The body function and algorithms proposed in this paper.
main_rem_m.py: Code for dataset compresson on Mnist dataset.
main_rem_f.py: Code for dataset compresson on Fashion Mnist dataset.
main_rem_random.py: Code for random compression.
main_add_m.py: Code for dataset enhancement on Mnist dataset.
main_add_f.py: Code for dataset enhancement on Fashion Mnist dataset.
You should set the hyperparameter according to requirement.