rime.models.zero_shot.tf_idf.TF_IDF

class rime.models.zero_shot.tf_idf.TF_IDF(item_df)[source]

Bases: object

create cosine similarity between the last user item and the item to recommend based on tf-idf embedding

__init__(item_df)[source]

Methods

__init__(item_df)

fit(*args, **kw)

transform(D)