You can control how the dataset is divided among clients (label distribution is even in this case)
You can also control how the lables are divided among clients
Use the config.json file to adjust however you want. Set "evenLabelDistributionByClient" to true in config.json if you want first option, and to false if you want second. Add "--config true" to use the added features
Keep in mind the ratios for feature 1. must add up to 1.0. For feature 2, the ratios for each label must also add up to 1.0. Otherwise an exception is thrown. Also make sure number of clients matches how many ratios you give.
Two main features added:
Use the config.json file to adjust however you want. Set "evenLabelDistributionByClient" to true in config.json if you want first option, and to false if you want second. Add "--config true" to use the added features
Keep in mind the ratios for feature 1. must add up to 1.0. For feature 2, the ratios for each label must also add up to 1.0. Otherwise an exception is thrown. Also make sure number of clients matches how many ratios you give.