1030562eed678ced952e7765f9907ee8eb5d8721,t2t_csaky/data_filtering/filter_problem.py,FilterProblem,run,#FilterProblem#,120

Before Change


  // main method that will run all the functions to do the filtering
  def run(self):
    // if we have already done the clustering, don"t redo it
    if os.path.isfile(os.path.join(self.output_data_dir, 
                                   self.tag+"Source_cluster_elements.txt")) \
      and os.path.isfile(os.path.join(self.output_data_dir, 
                                      self.tag+"Target_cluster_elements.txt")):

After Change


    // if we have already done the clustering, don"t redo it
    source_data=os.path.join(self.output_data_dir,
                             "..",
                             str(self.num_clusters["Source"])+"_clusters",
                             self.tag+"Source_cluster_elements.txt")
    target_data=os.path.join(self.output_data_dir,
                             "..",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 1030562eed678ced952e7765f9907ee8eb5d8721
Time: 2018-05-10
Author: ricsinaruto@hotmail.com
File Name: t2t_csaky/data_filtering/filter_problem.py
Class Name: FilterProblem
Method Name: run


Project Name: 1adrianb/face-alignment
Commit Name: f90efe38fb0b1019e5bdc06b8a325aefe44893ea
Time: 2018-12-19
Author: bulat.adrian@gmail.com
File Name: face_alignment/detection/sfd/sfd_detector.py
Class Name: SFDDetector
Method Name: __init__


Project Name: oddt/oddt
Commit Name: e626254b74ecb6dc71396c1b35237b53a5e35163
Time: 2017-08-23
Author: maciek@wojcikowski.pl
File Name: oddt/datasets.py
Class Name: pdbbind
Method Name: __init__