MCPcopy Create free account
hub / github.com/catboost/catboost / SumSquaredErrors

Method SumSquaredErrors

library/cpp/linear_regression/linear_regression.cpp:140–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140double TFastLinearRegressionSolver::SumSquaredErrors() const {
141 const TVector<double> coefficients = ::Solve(LinearizedOLSMatrix, OLSVector);
142 return ::SumSquaredErrors(LinearizedOLSMatrix, OLSVector, coefficients, SumSquaredGoals.Get());
143}
144
145double TLinearRegressionSolver::SumSquaredErrors() const {
146 const TVector<double> coefficients = ::Solve(LinearizedOLSMatrix, OLSVector);

Callers 3

MakeUnimodalFunction · 0.45
SLRTestFunction · 0.45
LinearRegressionTestFunction · 0.45

Calls 3

SumSquaredErrorsFunction · 0.85
SolveFunction · 0.70
GetMethod · 0.45

Tested by

no test coverage detected