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

Function read_data

models/utils/model_utils.py:49–69  ·  view source on GitHub ↗

parses data in given train and test data directories assumes: - the data in the input directories are .json files with keys 'users' and 'user_data' - the set of train set users is the same as the set of test set users Return: clients: list of client ids

(train_data_dir, test_data_dir)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

setup_clientsFunction · 0.90

Calls 1

read_dirFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…