playground/compound_disease/transfer_learning_experiment/data/label_functions/compound_gene_lf.py
def LF_HETNET_DRUGCENTRAL(c):
    """
    This label function returns 1 if the given Disease Gene pair is
    located in the Drugcentral database
    """
    return 1 if (c.Gene_cid, c.Compound_cid, "DrugCentral") in knowledge_base else 0

    This label function returns 1 if the given Disease Gene pair is
    located in the Drugcentral database
    
This label function returns 1 if the given Disease Gene pair is
located in the Drugcentral database
This label function returns 1 if the given Disease Gene pair is located in the Drugcentral database
def LF_HETNET_DRUGCENTRAL(c):
    return 1 if (c.Gene_cid, c.Compound_cid, "DrugCentral") in knowledge_base else 0
def LF_HETNET_DRUGCENTRAL ( c ) : return 1 if ( c . Gene_cid , c . Compound_cid , "DrugCentral" ) in knowledge_base else 0
This label function returns 1 if the given Disease Gene pair is
located in the Drugcentral database
This label function returns 1 if the given Disease Gene pair is located in the Drugcentral database
"""
    This label function returns 1 if the given Disease Gene pair is
    located in the Drugcentral database
    """
c