def algorithmCurvesInfo(alg_name, y_pred, y_test):
    algDict = {}
    algDict['alg_name'] = alg_name
    (algDict['fpr'], algDict['tpr'], algDict['roc_auc']) = ROCcurve(y_pred, y_test)
    (algDict['precision'], algDict['recall']) = precision_recall(y_test, y_pred)
    algDict['average_precision'] = average_precision_score(y_test, ypd(y_pred))
    return algDict
def algorithmCurvesInfo(alg_name, y_pred, y_test):
    algDict = {}
    algDict['alg_name'] = alg_name
    (algDict['fpr'], algDict['tpr'], algDict['roc_auc']) = ROCcurve(y_pred, y_test)
    (algDict['precision'], algDict['recall']) = precision_recall(y_test, y_pred)
    algDict['average_precision'] = average_precision_score(y_test, ypd(y_pred))
    return algDict