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

Visualize the results of the division of the data set #182

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

NigeloYang
Copy link

The show_data_distribution.py shows in a visual way how discrete the dataset is after running generate_mnist.py noniid - dir (alpha = 0.1 for the Dirichlet distribution in ./dataset/utils/dataset_utils.py)

TsingZ0

This comment was marked as duplicate.

Copy link
Owner

@TsingZ0 TsingZ0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide some examples and instructions in README.md, such as the command line to run the visualization code and the result figure?

@NigeloYang
Copy link
Author

In the new merge request, a description and picture are added to the README.md file

Copy link
Owner

@TsingZ0 TsingZ0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the final generated 'mnist_partition.png', we can only determine which data labels exist on the clients, rather than obtaining the distribution indicating the quantity of data for each label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants