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))
SimpleMSE = Metrics.SimpleMeanSquaredError(truelabels, predictedlabels)
After Change
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: 5
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: 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
Project Name: analysiscenter/batchflow
Commit Name: 4c50261df4847bdfd7c8067307e8532f96d04104
Time: 2019-08-02
Author: Tsimfer.SA@gazprom-neft.ru
File Name: batchflow/models/torch/encoder_decoder.py
Class Name: EncoderDecoder
Method Name: decoder