tff.simulation.datasets.stackoverflow.load_tag_counts
Loads the tag counts for the Stack Overflow dataset.
tff.simulation.datasets.stackoverflow.load_tag_counts(
cache_dir=None
)
Args |
cache_dir
|
(Optional) directory to cache the downloaded file. If None ,
caches in Keras' default cache directory.
|
Returns |
A collections.OrderedDict where the keys are string tags, and the values
are the counts of unique users who have at least one example in the training
set containing with that tag. The dictionary items are in decreasing order
of tag frequency.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[]]