MCPcopy Create free account
hub / github.com/TalwalkarLab/leaf / print_metrics

Function print_metrics

models/main.py:163–182  ·  view source on GitHub ↗

Prints weighted averages of the given metrics. Args: metrics: dict with client ids as keys. Each entry is a dict with the metrics of that client. weights: dict with client ids as keys. Each entry is the weight for that client.

(metrics, weights, prefix='')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

print_statsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…