# Module: tff.simulation.datasets.stackoverflow

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Libraries for the Stackoverflow dataset for federated learning simulation.

## Functions

[`create_synthetic_data_dictionary(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/create_synthetic_data_dictionary)

[`get_synthetic(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/get_synthetic): Returns a small synthetic dataset for testing.

[`get_synthetic_tag_counts(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/get_synthetic_tag_counts): Returns a small dictionary of tag counts.

[`get_synthetic_word_counts(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/get_synthetic_word_counts): Returns a small dictionary of word counts.

[`load_data(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/load_data): Loads the federated Stack Overflow dataset.

[`load_tag_counts(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/load_tag_counts): Loads the tag counts for the Stack Overflow dataset.

[`load_word_counts(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/simulation/datasets/stackoverflow/load_word_counts): Loads the word counts for the Stack Overflow dataset.