98b1fe8f5c1acccb31c10028bccaa797470279d2,bin/basenji_map.py,,main,#,47

Before Change


    options.target_indexes = [int(ti) for ti in options.target_indexes.split(",")]
    target_subset = options.target_indexes
  else:
    options.target_indexes = list(range(job["num_targets"]))
    target_subset = None

  // build model
  model = seqnn.SeqNN()

After Change


    target_indexes = targets_df.index
    target_subset = target_indexes
  else:
    if gene_data.num_targets is None:
      print("No targets to test against.", file=sys.stderr)
      exit(1)
    else:
      target_indexes = np.arange(gene_data.num_targets)
      target_subset = None

  // build model
  model = seqnn.SeqNN()
  model.build_feed(job, target_subset=target_subset)

  // determine latest pre-dilated layer
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: calico/basenji
Commit Name: 98b1fe8f5c1acccb31c10028bccaa797470279d2
Time: 2019-08-23
Author: drk@calicolabs.com
File Name: bin/basenji_map.py
Class Name:
Method Name: main


Project Name: EducationalTestingService/skll
Commit Name: 140f9765f4c4f5165fd546bea30b2c473b9abb10
Time: 2014-11-07
Author: dblanchard@ets.org
File Name: skll/utilities/join_features.py
Class Name:
Method Name: main


Project Name: polyaxon/polyaxon
Commit Name: 57a90c815b43fdfa6031597bbafa9fbcbfc00fe6
Time: 2017-12-13
Author: mouradmourafiq@gmail.com
File Name: polyaxon_cli/cli/cluster.py
Class Name:
Method Name: get_node_info