bfbc7582aa9e6a3e1fde6679663232f1f3f1d1fa,methods/shogun/lda.py,SHOGUN_LDA,__init__,#SHOGUN_LDA#,23

Before Change


      mapping[label] = idx
      self.reverseMapping[idx] = label
      idx += 1
    for i in range(len(self.data_split[1])):
      self.data_split[1][i] = mapping[self.data_split[1][i]]

    self.train_feat = RealFeatures(self.data_split[0].T)
    self.train_labels = MulticlassLabels(self.data_split[1])
    self.test_feat = RealFeatures(self.data[1].T)

After Change


      self.store_cov = bool(method_param["store-covar"])

    self.solver = "auto"
    if "solver" in method_param:
      self.solver = str(method_param["solver"])

  """
  Return information about the benchmarking system.

  @rtype - str
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: mlpack/benchmarks
Commit Name: bfbc7582aa9e6a3e1fde6679663232f1f3f1d1fa
Time: 2019-04-24
Author: rukman.sai2@gmail.com
File Name: methods/shogun/lda.py
Class Name: SHOGUN_LDA
Method Name: __init__


Project Name: MycroftAI/padatious
Commit Name: a1383be585a1798a3333139c4c1be149d3c5a454
Time: 2017-09-15
Author: matthew3311999@gmail.com
File Name: padatious/util.py
Class Name:
Method Name: resolve_conflicts


Project Name: Kaixhin/Rainbow
Commit Name: 83c9130b8ac6e5cf76fb804282c652343ed2167d
Time: 2018-05-06
Author: design@kaixhin.com
File Name: env.py
Class Name: Env
Method Name: reset