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

Method Point

library/cpp/linear_regression/unimodal.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40double TGreedyParams::Point(const size_t step) const {
41 Y_ASSERT(step <= StepsCount);
42
43 const double alpha = (double)step / StepsCount;
44 return LowerBound * (1 - alpha) + UpperBound * alpha;
45}
46
47double MakeUnimodal(TVector<double>& values, const TOptimizationParams& optimizationParams) {
48 TOptimizationState state(values);

Callers 1

MakeUnimodalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected