Module: tff.analytics.data_processing

A set of utility functions for data processing.

Functions

get_all_elements(...): Gets all the elements from the input dataset.

get_capped_elements(...): Gets the first max_user_contribution words from the input dataset.

get_top_elements(...): Gets the top max_user_contribution unique words from the input dataset.

get_unique_elements(...): Gets the unique elements from the input dataset.