d2dd18df6f53c8667ba6621b842683e4500edf57,methods/scikit/logistic_regression.py,LogisticRegression,LogisticRegressionScikit,#LogisticRegression#Any#,72

Before Change


      q.put(time)
      return time

    return timeout(RunLogisticRegressionScikit, self.timeout)

  """
  Perform Logistic Regression. If the method has been successfully completed
  return the elapsed time in seconds.

After Change


      q.put((time, self.predictions))
      return time

    result = timeout(RunLogisticRegressionScikit, self.timeout)
    // Check for error, in this case the tuple doesn"t contain extra information.
    if len(result) > 1:
       self.predictions = result[1]

    return result[0]

  """
  Perform Logistic Regression. If the method has been successfully completed
  return the elapsed time in seconds.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 12

Instances


Project Name: mlpack/benchmarks
Commit Name: d2dd18df6f53c8667ba6621b842683e4500edf57
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/logistic_regression.py
Class Name: LogisticRegression
Method Name: LogisticRegressionScikit


Project Name: mlpack/benchmarks
Commit Name: 6c2b21e059450f4b0f118a7a3916875f0be5d985
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/qda.py
Class Name: QDA
Method Name: QDAScikit


Project Name: mlpack/benchmarks
Commit Name: a83542a85f11c8f7553c247a1ec72eda343cd127
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/dtc.py
Class Name: DTC
Method Name: DTCScikit


Project Name: mlpack/benchmarks
Commit Name: d2dd18df6f53c8667ba6621b842683e4500edf57
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/logistic_regression.py
Class Name: LogisticRegression
Method Name: LogisticRegressionScikit


Project Name: mlpack/benchmarks
Commit Name: 89b1dc5a9eed9e6def43dcd84893021dc82084cf
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/random_forest.py
Class Name: RANDOMFOREST
Method Name: RANDOMFORESTScikit


Project Name: mlpack/benchmarks
Commit Name: 43ae7a624aeb5c61d4b9c17a3705dcc9afb3623b
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/knc.py
Class Name: KNC
Method Name: KNCScikit


Project Name: mlpack/benchmarks
Commit Name: 9bbf83ae841f1d233dd280135b7bbb114c3d55ba
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/nbc.py
Class Name: NBC
Method Name: NBCScikit


Project Name: mlpack/benchmarks
Commit Name: 61ea02e4e664d8aba948838e03914168149c5da5
Time: 2017-07-10
Author: dewangsultania@gmail.com
File Name: methods/scikit/adaboost.py
Class Name: ADABOOST
Method Name: ADABOOSTScikit