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
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: 3
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: tensorflow/minigo
Commit Name: 50f6852a641f1cd2b280d06aef852d26ba350dae
Time: 2020-01-10
Author: tmadams@google.com
File Name: ml_perf/train_loop.py
Class Name:
Method Name: sample_training_examples