a60c0d90de304b8d2768da0e2110527edea96910,methods/scikit/linear_ridge_regression.py,LinearRidgeRegression,RunMetrics,#LinearRidgeRegression#Any#,116
Before Change
testData = LoadDataset(self.dataset[1])
truelabels = LoadDataset(self.dataset[2])
alpha = re.search("-t (\d+)", options)
alpha = 1.0 if not alpha else int(alpha.group(1))
predictedlabels = np.rint(self.BuildModel(trainData, labels, alpha=alpha).predict(testData))
After Change
testData = LoadDataset(self.dataset[1])
truelabels = LoadDataset(self.dataset[2])
opts = {}
if "alpha" in options:
opts["alpha"] = float(options.pop("alpha"))
if len(options) > 0:
Log.Fatal("Unknown parameters: " + str(options))
raise Exception("unknown parameters")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: mlpack/benchmarks
Commit Name: a60c0d90de304b8d2768da0e2110527edea96910
Time: 2017-06-29
Author: ryan@ratml.org
File Name: methods/scikit/linear_ridge_regression.py
Class Name: LinearRidgeRegression
Method Name: RunMetrics
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: b7b0af6b22296e9ced334647a3022553bd8fa459
Time: 2018-06-11
Author: ehankland@google.com
File Name: perfkitbenchmarker/linux_packages/ior.py
Class Name:
Method Name: ParseMdtestResults
Project Name: mlpack/benchmarks
Commit Name: a60c0d90de304b8d2768da0e2110527edea96910
Time: 2017-06-29
Author: ryan@ratml.org
File Name: methods/shogun/linear_ridge_regression.py
Class Name: LinearRidgeRegression
Method Name: RunMetrics