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

Function main

library/cpp/linear_regression/benchmark/main.cpp:92–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92int main(int argc, const char** argv) {
93 for (int taskNumber = 1; taskNumber < argc; ++taskNumber) {
94 TPool pool;
95 pool.ReadFromFeatures(argv[taskNumber]);
96
97 Cout << argv[taskNumber] << ":" << Endl;
98 QualityBenchmark<TFastBestSLRSolver>(pool);
99 QualityBenchmark<TKahanBestSLRSolver>(pool);
100 QualityBenchmark<TBestSLRSolver>(pool);
101
102 QualityBenchmark<TLinearRegressionSolver>(pool);
103 QualityBenchmark<TFastLinearRegressionSolver>(pool);
104
105 SpeedBenchmark<TFastBestSLRSolver>(pool);
106 SpeedBenchmark<TKahanBestSLRSolver>(pool);
107 SpeedBenchmark<TBestSLRSolver>(pool);
108
109 SpeedBenchmark<TLinearRegressionSolver>(pool);
110 SpeedBenchmark<TFastLinearRegressionSolver>(pool);
111 }
112
113 return 0;
114}

Callers

nothing calls this directly

Calls 1

ReadFromFeaturesMethod · 0.80

Tested by

no test coverage detected