aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/linear_regression/linear_regression.h
diff options
context:
space:
mode:
authormihaild <mihaild@yandex-team.ru>2022-02-10 16:46:59 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:59 +0300
commit246417ad6168d3f7ab4a0cf1c79ba4259f7c45ae (patch)
tree2a65611ade91c8ae2f55647107c1a11ea743abd5 /library/cpp/linear_regression/linear_regression.h
parent5598c5e7bc7619bd51d87fea7b880b7788ad0b47 (diff)
downloadydb-246417ad6168d3f7ab4a0cf1c79ba4259f7c45ae.tar.gz
Restoring authorship annotation for <mihaild@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/linear_regression/linear_regression.h')
-rw-r--r--library/cpp/linear_regression/linear_regression.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/linear_regression/linear_regression.h b/library/cpp/linear_regression/linear_regression.h
index e57de5ff6c..4fc2e0e8f6 100644
--- a/library/cpp/linear_regression/linear_regression.h
+++ b/library/cpp/linear_regression/linear_regression.h
@@ -334,7 +334,7 @@ public:
TFeaturesTransformer Solve(const size_t iterationsCount = 100) {
TFeaturesTransformerLearner learner(TransformationType);
for (auto&& argumentWithBucket : Buckets) {
- const TBucket& bucket = argumentWithBucket.second;
+ const TBucket& bucket = argumentWithBucket.second;
learner.Add(bucket.ArgumentsMean.GetMean(), bucket.TargetsMean.GetMean());
}
return learner.Solve(iterationsCount);