Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
c5c60c8f
Unverified
Commit
c5c60c8f
authored
Oct 17, 2025
by
Nikita Titov
Committed by
GitHub
Oct 17, 2025
Browse files
[ci][c++] fixed `build/header_guard` errors from cpplint (#7055)
parent
32781bae
Changes
100
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
60 additions
and
60 deletions
+60
-60
src/metric/binary_metric.hpp
src/metric/binary_metric.hpp
+3
-3
src/metric/cuda/cuda_binary_metric.hpp
src/metric/cuda/cuda_binary_metric.hpp
+3
-3
src/metric/cuda/cuda_pointwise_metric.hpp
src/metric/cuda/cuda_pointwise_metric.hpp
+3
-3
src/metric/cuda/cuda_regression_metric.hpp
src/metric/cuda/cuda_regression_metric.hpp
+3
-3
src/metric/map_metric.hpp
src/metric/map_metric.hpp
+3
-3
src/metric/multiclass_metric.hpp
src/metric/multiclass_metric.hpp
+3
-3
src/metric/rank_metric.hpp
src/metric/rank_metric.hpp
+3
-3
src/metric/regression_metric.hpp
src/metric/regression_metric.hpp
+3
-3
src/metric/xentropy_metric.hpp
src/metric/xentropy_metric.hpp
+3
-3
src/network/linkers.h
src/network/linkers.h
+3
-3
src/network/socket_wrapper.hpp
src/network/socket_wrapper.hpp
+3
-3
src/objective/binary_objective.hpp
src/objective/binary_objective.hpp
+3
-3
src/objective/cuda/cuda_binary_objective.hpp
src/objective/cuda/cuda_binary_objective.hpp
+3
-3
src/objective/cuda/cuda_multiclass_objective.hpp
src/objective/cuda/cuda_multiclass_objective.hpp
+3
-3
src/objective/cuda/cuda_rank_objective.hpp
src/objective/cuda/cuda_rank_objective.hpp
+3
-3
src/objective/cuda/cuda_regression_objective.hpp
src/objective/cuda/cuda_regression_objective.hpp
+3
-3
src/objective/multiclass_objective.hpp
src/objective/multiclass_objective.hpp
+3
-3
src/objective/rank_objective.hpp
src/objective/rank_objective.hpp
+3
-3
src/objective/regression_objective.hpp
src/objective/regression_objective.hpp
+3
-3
src/objective/xentropy_objective.hpp
src/objective/xentropy_objective.hpp
+3
-3
No files found.
src/metric/binary_metric.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_METRIC_BINARY_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_BINARY_METRIC_HPP_
#define LIGHTGBM_METRIC_BINARY_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_BINARY_METRIC_HPP_
#include <LightGBM/metric.h>
#include <LightGBM/metric.h>
#include <LightGBM/utils/common.h>
#include <LightGBM/utils/common.h>
...
@@ -385,4 +385,4 @@ class AveragePrecisionMetric: public Metric {
...
@@ -385,4 +385,4 @@ class AveragePrecisionMetric: public Metric {
};
};
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_METRIC_BINARY_METRIC_HPP_
#endif // L
IGHTGBM_SRC
_METRIC_BINARY_METRIC_HPP_
src/metric/cuda/cuda_binary_metric.hpp
View file @
c5c60c8f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_METRIC_CUDA_CUDA_BINARY_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_BINARY_METRIC_HPP_
#define LIGHTGBM_METRIC_CUDA_CUDA_BINARY_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_BINARY_METRIC_HPP_
#ifdef USE_CUDA
#ifdef USE_CUDA
...
@@ -54,4 +54,4 @@ class CUDABinaryLoglossMetric: public CUDABinaryMetricInterface<BinaryLoglossMet
...
@@ -54,4 +54,4 @@ class CUDABinaryLoglossMetric: public CUDABinaryMetricInterface<BinaryLoglossMet
#endif // USE_CUDA
#endif // USE_CUDA
#endif // LIGHTGBM_METRIC_CUDA_CUDA_BINARY_METRIC_HPP_
#endif // LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_BINARY_METRIC_HPP_
src/metric/cuda/cuda_pointwise_metric.hpp
View file @
c5c60c8f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_METRIC_CUDA_CUDA_POINTWISE_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_POINTWISE_METRIC_HPP_
#define LIGHTGBM_METRIC_CUDA_CUDA_POINTWISE_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_POINTWISE_METRIC_HPP_
#ifdef USE_CUDA
#ifdef USE_CUDA
...
@@ -42,4 +42,4 @@ class CUDAPointwiseMetricInterface: public CUDAMetricInterface<HOST_METRIC> {
...
@@ -42,4 +42,4 @@ class CUDAPointwiseMetricInterface: public CUDAMetricInterface<HOST_METRIC> {
#endif // USE_CUDA
#endif // USE_CUDA
#endif // LIGHTGBM_METRIC_CUDA_CUDA_POINTWISE_METRIC_HPP_
#endif // LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_POINTWISE_METRIC_HPP_
src/metric/cuda/cuda_regression_metric.hpp
View file @
c5c60c8f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_METRIC_CUDA_CUDA_REGRESSION_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_REGRESSION_METRIC_HPP_
#define LIGHTGBM_METRIC_CUDA_CUDA_REGRESSION_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_REGRESSION_METRIC_HPP_
#ifdef USE_CUDA
#ifdef USE_CUDA
...
@@ -212,4 +212,4 @@ class CUDATweedieMetric : public CUDARegressionMetricInterface<TweedieMetric, CU
...
@@ -212,4 +212,4 @@ class CUDATweedieMetric : public CUDARegressionMetricInterface<TweedieMetric, CU
#endif // USE_CUDA
#endif // USE_CUDA
#endif // LIGHTGBM_METRIC_CUDA_CUDA_REGRESSION_METRIC_HPP_
#endif // LIGHTGBM_
SRC_
METRIC_CUDA_CUDA_REGRESSION_METRIC_HPP_
src/metric/map_metric.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_METRIC_MAP_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_MAP_METRIC_HPP_
#define LIGHTGBM_METRIC_MAP_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_MAP_METRIC_HPP_
#include <LightGBM/metric.h>
#include <LightGBM/metric.h>
#include <LightGBM/utils/common.h>
#include <LightGBM/utils/common.h>
...
@@ -165,4 +165,4 @@ class MapMetric:public Metric {
...
@@ -165,4 +165,4 @@ class MapMetric:public Metric {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // LIGHTGBM_METRIC_MAP_METRIC_HPP_
#endif // LIGHTGBM_
SRC_
METRIC_MAP_METRIC_HPP_
src/metric/multiclass_metric.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_METRIC_MULTICLASS_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_MULTICLASS_METRIC_HPP_
#define LIGHTGBM_METRIC_MULTICLASS_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_MULTICLASS_METRIC_HPP_
#include <LightGBM/metric.h>
#include <LightGBM/metric.h>
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/log.h>
...
@@ -365,4 +365,4 @@ class AucMuMetric : public Metric {
...
@@ -365,4 +365,4 @@ class AucMuMetric : public Metric {
};
};
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_METRIC_MULTICLASS_METRIC_HPP_
#endif // L
IGHTGBM_SRC
_METRIC_MULTICLASS_METRIC_HPP_
src/metric/rank_metric.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_METRIC_RANK_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_RANK_METRIC_HPP_
#define LIGHTGBM_METRIC_RANK_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_RANK_METRIC_HPP_
#include <LightGBM/metric.h>
#include <LightGBM/metric.h>
#include <LightGBM/utils/common.h>
#include <LightGBM/utils/common.h>
...
@@ -166,4 +166,4 @@ class NDCGMetric:public Metric {
...
@@ -166,4 +166,4 @@ class NDCGMetric:public Metric {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_METRIC_RANK_METRIC_HPP_
#endif // L
IGHTGBM_SRC
_METRIC_RANK_METRIC_HPP_
src/metric/regression_metric.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_METRIC_REGRESSION_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_REGRESSION_METRIC_HPP_
#define LIGHTGBM_METRIC_REGRESSION_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_REGRESSION_METRIC_HPP_
#include <LightGBM/metric.h>
#include <LightGBM/metric.h>
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/log.h>
...
@@ -429,4 +429,4 @@ class R2Metric: public Metric {
...
@@ -429,4 +429,4 @@ class R2Metric: public Metric {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_METRIC_REGRESSION_METRIC_HPP_
#endif // L
IGHTGBM_SRC
_METRIC_REGRESSION_METRIC_HPP_
src/metric/xentropy_metric.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_METRIC_XENTROPY_METRIC_HPP_
#ifndef LIGHTGBM_
SRC_
METRIC_XENTROPY_METRIC_HPP_
#define LIGHTGBM_METRIC_XENTROPY_METRIC_HPP_
#define LIGHTGBM_
SRC_
METRIC_XENTROPY_METRIC_HPP_
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
#include <LightGBM/metric.h>
#include <LightGBM/metric.h>
...
@@ -355,4 +355,4 @@ class KullbackLeiblerDivergence : public Metric {
...
@@ -355,4 +355,4 @@ class KullbackLeiblerDivergence : public Metric {
}
// end namespace LightGBM
}
// end namespace LightGBM
#endif //
end #ifndef
LIGHTGBM_METRIC_XENTROPY_METRIC_HPP_
#endif // LIGHTGBM_
SRC_
METRIC_XENTROPY_METRIC_HPP_
src/network/linkers.h
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_NETWORK_LINKERS_H_
#ifndef LIGHTGBM_
SRC_
NETWORK_LINKERS_H_
#define LIGHTGBM_NETWORK_LINKERS_H_
#define LIGHTGBM_
SRC_
NETWORK_LINKERS_H_
#include <LightGBM/config.h>
#include <LightGBM/config.h>
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
...
@@ -325,4 +325,4 @@ inline void Linkers::SendRecv(int send_rank, char* send_data, int send_len,
...
@@ -325,4 +325,4 @@ inline void Linkers::SendRecv(int send_rank, char* send_data, int send_len,
#endif // USE_MPI
#endif // USE_MPI
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_NETWORK_LINKERS_H_
#endif // L
IGHTGBM_SRC
_NETWORK_LINKERS_H_
src/network/socket_wrapper.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_NETWORK_SOCKET_WRAPPER_HPP_
#ifndef LIGHTGBM_
SRC_
NETWORK_SOCKET_WRAPPER_HPP_
#define LIGHTGBM_NETWORK_SOCKET_WRAPPER_HPP_
#define LIGHTGBM_
SRC_
NETWORK_SOCKET_WRAPPER_HPP_
#ifdef USE_SOCKET
#ifdef USE_SOCKET
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/log.h>
...
@@ -319,4 +319,4 @@ class TcpSocket {
...
@@ -319,4 +319,4 @@ class TcpSocket {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // USE_SOCKET
#endif // USE_SOCKET
#endif // L
ightGBM
_NETWORK_SOCKET_WRAPPER_HPP_
#endif // L
IGHTGBM_SRC
_NETWORK_SOCKET_WRAPPER_HPP_
src/objective/binary_objective.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_BINARY_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_BINARY_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_BINARY_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_BINARY_OBJECTIVE_HPP_
#include <LightGBM/network.h>
#include <LightGBM/network.h>
#include <LightGBM/objective_function.h>
#include <LightGBM/objective_function.h>
...
@@ -213,4 +213,4 @@ class BinaryLogloss: public ObjectiveFunction {
...
@@ -213,4 +213,4 @@ class BinaryLogloss: public ObjectiveFunction {
};
};
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_OBJECTIVE_BINARY_OBJECTIVE_HPP_
#endif // L
IGHTGBM_SRC
_OBJECTIVE_BINARY_OBJECTIVE_HPP_
src/objective/cuda/cuda_binary_objective.hpp
View file @
c5c60c8f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_CUDA_CUDA_BINARY_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_BINARY_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_CUDA_CUDA_BINARY_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_BINARY_OBJECTIVE_HPP_
#ifdef USE_CUDA
#ifdef USE_CUDA
...
@@ -60,4 +60,4 @@ class CUDABinaryLogloss : public CUDAObjectiveInterface<BinaryLogloss> {
...
@@ -60,4 +60,4 @@ class CUDABinaryLogloss : public CUDAObjectiveInterface<BinaryLogloss> {
#endif // USE_CUDA
#endif // USE_CUDA
#endif // LIGHTGBM_OBJECTIVE_CUDA_CUDA_BINARY_OBJECTIVE_HPP_
#endif // LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_BINARY_OBJECTIVE_HPP_
src/objective/cuda/cuda_multiclass_objective.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2021 Microsoft Corporation. All rights reserved.
* Copyright (c) 2021 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_CUDA_CUDA_MULTICLASS_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_MULTICLASS_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_CUDA_CUDA_MULTICLASS_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_MULTICLASS_OBJECTIVE_HPP_
#ifdef USE_CUDA
#ifdef USE_CUDA
...
@@ -75,4 +75,4 @@ class CUDAMulticlassOVA: public CUDAObjectiveInterface<MulticlassOVA> {
...
@@ -75,4 +75,4 @@ class CUDAMulticlassOVA: public CUDAObjectiveInterface<MulticlassOVA> {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // USE_CUDA
#endif // USE_CUDA
#endif // LIGHTGBM_OBJECTIVE_CUDA_CUDA_MULTICLASS_OBJECTIVE_HPP_
#endif // LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_MULTICLASS_OBJECTIVE_HPP_
src/objective/cuda/cuda_rank_objective.hpp
View file @
c5c60c8f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_CUDA_CUDA_RANK_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_RANK_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_CUDA_CUDA_RANK_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_RANK_OBJECTIVE_HPP_
#ifdef USE_CUDA
#ifdef USE_CUDA
...
@@ -119,4 +119,4 @@ class CUDARankXENDCG : public CUDALambdaRankObjectiveInterface<RankXENDCG> {
...
@@ -119,4 +119,4 @@ class CUDARankXENDCG : public CUDALambdaRankObjectiveInterface<RankXENDCG> {
}
// namespace LightGBM
}
// namespace LightGBM
#endif // USE_CUDA
#endif // USE_CUDA
#endif // LIGHTGBM_OBJECTIVE_CUDA_CUDA_RANK_OBJECTIVE_HPP_
#endif // LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_RANK_OBJECTIVE_HPP_
src/objective/cuda/cuda_regression_objective.hpp
View file @
c5c60c8f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_CUDA_CUDA_REGRESSION_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_REGRESSION_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_CUDA_CUDA_REGRESSION_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_REGRESSION_OBJECTIVE_HPP_
#ifdef USE_CUDA
#ifdef USE_CUDA
...
@@ -164,4 +164,4 @@ class CUDARegressionQuantileloss : public CUDARegressionObjectiveInterface<Regre
...
@@ -164,4 +164,4 @@ class CUDARegressionQuantileloss : public CUDARegressionObjectiveInterface<Regre
}
// namespace LightGBM
}
// namespace LightGBM
#endif // USE_CUDA
#endif // USE_CUDA
#endif // LIGHTGBM_OBJECTIVE_CUDA_CUDA_REGRESSION_OBJECTIVE_HPP_
#endif // LIGHTGBM_
SRC_
OBJECTIVE_CUDA_CUDA_REGRESSION_OBJECTIVE_HPP_
src/objective/multiclass_objective.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_MULTICLASS_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_MULTICLASS_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_MULTICLASS_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_MULTICLASS_OBJECTIVE_HPP_
#include <LightGBM/network.h>
#include <LightGBM/network.h>
#include <LightGBM/objective_function.h>
#include <LightGBM/objective_function.h>
...
@@ -276,4 +276,4 @@ class MulticlassOVA: public ObjectiveFunction {
...
@@ -276,4 +276,4 @@ class MulticlassOVA: public ObjectiveFunction {
};
};
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_OBJECTIVE_MULTICLASS_OBJECTIVE_HPP_
#endif // L
IGHTGBM_SRC
_OBJECTIVE_MULTICLASS_OBJECTIVE_HPP_
src/objective/rank_objective.hpp
View file @
c5c60c8f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
* Licensed under the MIT License. See LICENSE file in the project root for
* Licensed under the MIT License. See LICENSE file in the project root for
* license information.
* license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_RANK_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_RANK_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_RANK_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_RANK_OBJECTIVE_HPP_
#include <LightGBM/metric.h>
#include <LightGBM/metric.h>
#include <LightGBM/objective_function.h>
#include <LightGBM/objective_function.h>
...
@@ -462,4 +462,4 @@ class RankXENDCG : public RankingObjective {
...
@@ -462,4 +462,4 @@ class RankXENDCG : public RankingObjective {
};
};
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_OBJECTIVE_RANK_OBJECTIVE_HPP_
#endif // L
IGHTGBM_SRC
_OBJECTIVE_RANK_OBJECTIVE_HPP_
src/objective/regression_objective.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_REGRESSION_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_REGRESSION_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_REGRESSION_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_REGRESSION_OBJECTIVE_HPP_
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
#include <LightGBM/objective_function.h>
#include <LightGBM/objective_function.h>
...
@@ -760,4 +760,4 @@ class RegressionTweedieLoss: public RegressionPoissonLoss {
...
@@ -760,4 +760,4 @@ class RegressionTweedieLoss: public RegressionPoissonLoss {
#undef WeightedPercentileFun
#undef WeightedPercentileFun
}
// namespace LightGBM
}
// namespace LightGBM
#endif // L
ightGBM
_OBJECTIVE_REGRESSION_OBJECTIVE_HPP_
#endif // L
IGHTGBM_SRC
_OBJECTIVE_REGRESSION_OBJECTIVE_HPP_
src/objective/xentropy_objective.hpp
View file @
c5c60c8f
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
*/
#ifndef LIGHTGBM_OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
#ifndef LIGHTGBM_
SRC_
OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
#define LIGHTGBM_
SRC_
OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
#include <LightGBM/meta.h>
#include <LightGBM/meta.h>
#include <LightGBM/objective_function.h>
#include <LightGBM/objective_function.h>
...
@@ -313,4 +313,4 @@ class CrossEntropyLambda: public ObjectiveFunction {
...
@@ -313,4 +313,4 @@ class CrossEntropyLambda: public ObjectiveFunction {
}
// end namespace LightGBM
}
// end namespace LightGBM
#endif
//
end #ifndef
LIGHTGBM_OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
#endif // LIGHTGBM_
SRC_
OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment