コード例 #1
0
ファイル: pcg.py プロジェクト: invinciblejha/kaggle
def get_patient_dict():
    """Return dict whose keys are MemberIDs and patient sex and age 
        categories
    """
    return common.get_dict_all(get_patient_filename(), None)     
コード例 #2
0
ファイル: make_model.py プロジェクト: invinciblejha/kaggle
def get_drugcount_dict(year):
    """Return dict whose keys are MemberIDs and DrugCount DSFS and count 
        categories
    """
    return common.get_dict_all(get_drugcount_filename(year), int)     
コード例 #3
0
ファイル: pcg.py プロジェクト: invinciblejha/kaggle
def get_pcg_counts_dict(year):
    """Return dict whose keys are MemberIDs and values are PCG counts for all the PCG 
        categories
    """
    return common.get_dict_all(get_pcg_filename(year), int) 
コード例 #4
0
ファイル: make_model.py プロジェクト: invinciblejha/kaggle
def get_counts_dict(prefix, year):
    return common.get_dict_all(get_counts_filename(prefix, year), int)