CML

class openrec.legacy.recommenders.CML(batch_size, max_user, max_item, dim_embed, test_batch_size=None, l2_reg=None, opt='SGD', lr=None, init_dict=None, sess_config=None)[source]
_build_interactions(train=True)[source]

Call sub-functions to build interactions (do NOT override).

Parameters:train (bool) – An indicator for training or servining phase.
_build_post_training_ops()[source]

Build post-training operators (may be overriden).

Returns:A list of Tensorflow operators.
Return type:list