Commit 8b00b8e1 authored by zhangyafeikimi's avatar zhangyafeikimi Committed by Guolin Ke
Browse files

tab to space, improve comments typos (#302)

parent 87392e79
......@@ -134,7 +134,7 @@ public:
double sigmoid = 1.0f;
double huber_delta = 1.0f;
double fair_c = 1.0f;
// for ApproximateHessianWithGaussian
// for Approximate Hessian With Gaussian
double gaussian_eta = 1.0f;
double poisson_max_delta_step = 0.7f;
// for lambdarank
......
......@@ -104,7 +104,7 @@ void OverallConfig::GetMetricType(const std::unordered_map<std::string, std::str
std::transform(value.begin(), value.end(), value.begin(), Common::tolower);
// split
std::vector<std::string> metrics = Common::Split(value.c_str(), ',');
// remove dumplicate
// remove duplicate
std::unordered_set<std::string> metric_sets;
for (auto& metric : metrics) {
std::transform(metric.begin(), metric.end(), metric.begin(), Common::tolower);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment