modules/utils/notebook_utils/label_matrix_helper.py
def label_candidates_db(labeler, cids_query, label_functions, apply_existing=False):
    """
    This function is designed to label candidates and place the annotations inside a database.
    Will be rarely used since snorkel metal doesn't use a database for annotations.
    Important to keep if I were to go back towards snorkel's original database version

    labeler - the labeler object
    cids_query - the query make for extracting candidate objects
    label_functions - a list of label functions to generate annotationslf_stats
    """
    if apply_existing:
        return labeler.apply_existing(cids_query=cids_query, parllelistm=5, clear=False)
    else:
        return labeler.apply(cids_query=cids_query, parallelism=5)

    This function is designed to label candidates and place the annotations inside a database.
    Will be rarely used since snorkel metal doesn't use a database for annotations.
    Important to keep if I were to go back towards snorkel's original database version

    labeler - the labeler object
    cids_query - the query make for extracting candidate objects
    label_functions - a list of label functions to generate annotationslf_stats
    
This function is designed to label candidates and place the annotations inside a database.
Will be rarely used since snorkel metal doesn't use a database for annotations.
Important to keep if I were to go back towards snorkel's original database version

the labeler object
cids_query - the query make for extracting candidate objects
label_functions - a list of label functions to generate annotationslf_stats
This function is designed to label candidates and place the annotations inside a database . Will be rarely used since snorkel metal doesn ' t use a database for annotations . Important to keep if I were to go back towards snorkel ' s original database version the labeler object cids_query - the query make for extracting candidate objects label_functions - a list of label functions to generate annotationslf_stats
def label_candidates_db(labeler, cids_query, label_functions, apply_existing=False):
    if apply_existing:
        return labeler.apply_existing(cids_query=cids_query, parllelistm=5, clear=False)
    else:
        return labeler.apply(cids_query=cids_query, parallelism=5)
def label_candidates_db ( labeler , cids_query , label_functions , apply_existing = False ) : if apply_existing : return labeler . apply_existing ( cids_query = cids_query , parllelistm = 5 , clear = False ) else : return labeler . apply ( cids_query = cids_query , parallelism = 5 )
This function is designed to label candidates and place the annotations inside a database.
This function is designed to label candidates and place the annotations inside a database .
"""
    This function is designed to label candidates and place the annotations inside a database.
    Will be rarely used since snorkel metal doesn't use a database for annotations.
    Important to keep if I were to go back towards snorkel's original database version

    labeler - the labeler object
    cids_query - the query make for extracting candidate objects
    label_functions - a list of label functions to generate annotationslf_stats
    """
labeler
cids_query
label_functions
apply_existing