Unsupervised Learning
Unsupervised Learning with FedDDL
Learn by doing?
What you need to provide
Core class: UnsupervisedTrainingSession
UnsupervisedTrainingSessionnew UnsupervisedTrainingSession(
FINAL_OUTPUT_UNITS, // matches last layer units
TOTAL_SAMPLES, // number of training examples
INPUT_SIZE, // flattened input length
OUTPUT_SIZE, // flattened target length (often same as input)
TOTAL_ROUNDS, // federated rounds
BATCH_SIZE, // per-client batch size
EPOCHS_PER_ROUND, // local epochs per round
MIN_CLIENTS_TO_START, // quorum to begin training
input, output, // flattened training data (output optional if same as input)
model, // compiled tf model
testInput, testOutput // optional eval data
)Example workload (autoencoder-style)
Data shape and partitioning
Constraints and tips
What runs where
Last updated