elliot.prefiltering package

Submodules

elliot.prefiltering.standard_prefilters module

class elliot.prefiltering.standard_prefilters.PreFilter[source]

Bases: object

static filter(d: pandas.DataFrame, ns: types.SimpleNamespace)pandas.DataFrame[source]
static filter_items_by_popularity(d: pandas.DataFrame, threshold)pandas.DataFrame[source]
static filter_iterative_k_core(d: pandas.DataFrame, threshold)pandas.DataFrame[source]
static filter_ratings_by_global_average(d: pandas.DataFrame)pandas.DataFrame[source]
static filter_ratings_by_threshold(d: pandas.DataFrame, threshold)pandas.DataFrame[source]
static filter_ratings_by_user_average(d: pandas.DataFrame)pandas.DataFrame[source]
static filter_retain_cold_users(d: pandas.DataFrame, threshold)pandas.DataFrame[source]
static filter_rounds_k_core(d: pandas.DataFrame, threshold, n_rounds)pandas.DataFrame[source]
static filter_users_by_profile_size(d: pandas.DataFrame, threshold)pandas.DataFrame[source]
static single_filter(d: pandas.DataFrame, ns: types.SimpleNamespace)pandas.DataFrame[source]

Module contents

Module description: