3b9042c743facfbd1e641784f21e29a95db2aac2,t2t_csaky/data_filtering/semantic_clustering.py,,,#,6

Before Change



_use_faiss = False

if DATA_FILTERING["use_faiss"]:
  try:

    import faiss

After Change


import numpy as np

import sys
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__))))

import filter_problem
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 3b9042c743facfbd1e641784f21e29a95db2aac2
Time: 2018-09-20
Author: purgai.patrik@gmail.com
File Name: t2t_csaky/data_filtering/semantic_clustering.py
Class Name:
Method Name:


Project Name: MLWave/kepler-mapper
Commit Name: dcf2b18671089d792ad25e3063b0829587fe08f4
Time: 2018-01-11
Author: mangham@gmail.com
File Name: kmapper/kmapper.py
Class Name: KeplerMapper
Method Name: visualize


Project Name: silvandeleemput/memcnn
Commit Name: 441ba8f82e54a935d16c110fbc61071c3739c6e8
Time: 2019-07-09
Author: silvandeleemput@gmail.com
File Name: docs/conf.py
Class Name:
Method Name: