def _apply_prediction(G, func, ebunch=None):
    if ebunch is None:
        ebunch = nx.non_edges(G)
    return ((u, v, func(u, v)) for u, v in ebunch)
Initialize autocompletion and configure the argument parser.
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/link_prediction.py/_apply_prediction--crossover with--dataset/ETHPy150Open Yelp/paasta/paasta_tools/cli/cli.py/parse_args