Jiaming Yuan
29a1356669
Deprecate reg:linear' in favor of reg:squarederror'. ( #4267 )
...
* Deprecate `reg:linear' in favor of `reg:squarederror'.
* Replace the use of `reg:linear'.
* Replace the use of `silent`.
2019-03-17 17:55:04 +08:00
Jiaming Yuan
7b9043cf71
Fix clang-tidy warnings. ( #4149 )
...
* Upgrade gtest for clang-tidy.
* Use CMake to install GTest instead of mv.
* Don't enforce clang-tidy to return 0 due to errors in thrust.
* Add a small test for tidy itself.
* Reformat.
2019-03-13 02:25:51 +08:00
trivialfis
cf2d86a4f6
Add travis sanitizers tests. ( #3557 )
...
* Add travis sanitizers tests.
* Add gcc-7 in Travis.
* Add SANITIZER_PATH for CMake.
* Enable sanitizer tests in Travis.
* Fix memory leaks in tests.
* Fix all memory leaks reported by Address Sanitizer.
* tests/cpp/helpers.h/CreateDMatrix now returns raw pointer.
2018-08-19 16:40:30 +12:00
AbdealiJK
d41aab4f61
tests/cpp: Add tests for regression_obj.cc
...
Test the objective functions in regression_obj.cc
tests/cpp: Add tests for objective.cc and RegLossObj
2016-12-04 11:25:57 -08:00