Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotting partition volumes and increase in decision regions #5

Open
digantamisra98 opened this issue Jun 17, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@digantamisra98
Copy link

Screenshot 2023-06-17 at 10 29 32 AM

What would be the way to plot these two figures?

@AhmedImtiazPrio
Copy link
Owner

Hi @digantamisra98

Thanks for your question and pardon me for my delays with getting back.

For the top figures, Im just taking random 2D slices centered on the origin while changing the input space dimensionality. Its computed for an NN with a single hidden layer for which Im also varying the width.

For the bottom figures, I took 2D slices centered on 50 test samples from tiny-Imagenet, computed partition statistics for networks pre-trained on tiny-Imagenet and plotted the histogram. The networks were pre-trained both with and without data augmentation.

I'll make the codes available soon but am quite backlogged.

@AhmedImtiazPrio AhmedImtiazPrio added the question Further information is requested label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants