e4e9dc165521687fa4f30271da1efde402574f13,pygsp/graphs/nngraphs/nngraph.py,,,#,10

Before Change


    import pyflann as pfl
    pfl_import = True
except Exception:
    print("ERROR: Could not import pyflann. "
          "Try to install it for faster kNN computations.")
    pfl_import = False


class NNGraph(Graph):

After Change


    _PFL_IMPORT = True
except Exception:
    _logger.warning("Cannot import pyflann (used for faster kNN computations):"
                    " {}".format(traceback.format_exc()))
    _PFL_IMPORT = False

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: epfl-lts2/pygsp
Commit Name: e4e9dc165521687fa4f30271da1efde402574f13
Time: 2017-08-28
Author: michael.defferrard@epfl.ch
File Name: pygsp/graphs/nngraphs/nngraph.py
Class Name:
Method Name:


Project Name: epfl-lts2/pygsp
Commit Name: ba37a7d456a1be62d3fde7faa491b036f5d5cdb2
Time: 2017-08-28
Author: michael.defferrard@epfl.ch
File Name: pygsp/plotting.py
Class Name:
Method Name:


Project Name: tensorflow/minigo
Commit Name: 6f6b0b30a04d95a26b297c219454bcd51f4f793e
Time: 2018-07-15
Author: andrew.m.jackson@gmail.com
File Name: rl_loop.py
Class Name:
Method Name: train