Граф коммитов

1491 Коммитов

Автор SHA1 Сообщение Дата
Oleksii Renov c4cd65ff05 [R-package] mojave install r openmp fix (#2164)
* mojave install r openmp fix

* if not gcc/g++ env

* add comment

* fix
2019-06-13 14:02:16 +03:00
Nikita Titov 8ecae56258 [ci] add OpenMPI link to ignore list (#2227) 2019-06-13 10:08:25 +08:00
Guolin Ke dace0508cb
consider max_depth for histogram_pool_size (#2216)
* consider max_depth for histogram_pool_size

* Update serial_tree_learner.cpp

* Update config.cpp

* Update serial_tree_learner.cpp
2019-06-05 08:30:44 +08:00
Nikita Titov b6f6578368 [python] fix class_weight (#2199)
* fixed class_weight

* fixed lint

* added test

* hotfix
2019-06-04 13:44:26 +08:00
Nikita Titov 7d03ced388 [python] removed unused import and variable (#2213)
* Update sklearn.py

* Update parameter_generator.py
2019-06-04 13:43:27 +08:00
Aidan Cooper de70c7d7e7 [Python] Fix typo in engine.py (#2211)
Replace "Traninig" with "Training"
2019-06-02 20:46:49 +03:00
Guolin Ke 520247ccb3
fix unsorted eval_at (#2206)
* fix unsorted eval_at

* Update config.cpp
2019-06-02 23:17:43 +08:00
Nikita Titov b1e5a843ab
[docs] fixed and enhanced format of C API (#2195)
* fixed and enhanced format of C API

* fixed description of dataset creation functions
2019-05-28 12:42:57 +03:00
Laurae f70a05328c [R-package] Fix best_iter and best_score (#2159)
* Callback for NA handling

* lgb.Booster default score => NA

* lgb.cv default best score => NA

* Fix back callback

* lgb.train with booster check at the end

manual tests done: 
* With early stopping + with validation set
* With early stopping + without validation set
* Without early stopping + with validation set
* Without early stopping + without validation set

And with multiple metrics / validation sets.

* lgb.cv with booster check at the end

manual tests done: 
* With early stopping + with validation set
* With early stopping + without validation set
* Without early stopping + with validation set
* Without early stopping + without validation set

And with multiple metrics / validation sets.
2019-05-27 12:30:22 -05:00
Nikita Titov 2459362acd [python] fixed picklability of sklearn models with custom obj and updated docstings for custom obj (#2191)
* refactored joblib test

* fixed picklability of sklearn models with custom obj and updated docstings for custom obj

* pickled model should be able to predict without refitting
2019-05-27 17:27:55 +08:00
Guolin Ke e5b6e50e30 [docs] reorg the doc in main page (#2192) 2019-05-26 14:55:51 +03:00
Belinda Trotta b3db9e924a Top k multi error (#2178)
* Implement top-k multiclass error metric. Add new parameter top_k_threshold.

* Add test for multiclass metrics

* Make test less sensitive to avoid floating-point issues.

* Change tabs to spaces.

* Fix problem with test in Python 2. Refactor to use np.testing. Decrease number of training rounds so loss is larger and easier to compare.

* Move multiclass tests into test_engine.py

* Change parameter name from top_k_threshold to multi_error_top_k.

* Fix top-k error metric to handle case where scores are equal. Update tests and docs.

* Change name of top-k metric to multi_error@k.

* Change tabs to spaces.

* Fix formatting.

* Fix minor issues in docs.
2019-05-26 14:08:45 +03:00
nabokovas 19de2be0de [ci][docs] refine C API docs (#2076)
* [ci] for autogenerating docs

* resolved comments

* resolved comments 2

* update to 36c89134
2019-05-26 01:59:36 +03:00
Nikita Titov fc789e044a fixed cast error (#2186) 2019-05-22 09:48:06 +08:00
leasunhy 6a1a538f45 [docs] remove duplicated param in Python-Intro.rst (#2181)
`num_round` is redundant here because it will be overrideen by `num_trees` in the `param` dictionary.
2019-05-18 20:51:55 +03:00
Nikita Titov a66c34407d
[R] fix map metric is higher better (#2183) 2019-05-18 13:01:07 +03:00
Nikita Titov a7885b60dd
[ci] removed temp hotfix for Yahoo URL (#2162) 2019-05-16 15:35:40 +03:00
Guolin Ke f01b2aca13
first metric only in earlystopping for cli (#2172)
* first metric only in earlystopping for cli

* code clean

* added note about CLI only usage

* removed note about CLI only usage
2019-05-16 09:47:49 +08:00
Nikita Titov c9d681ac0d
[ci] migrate to new Dockerfile (#2174)
* migrate Dockerfile

* switch tag back
2019-05-15 18:41:27 +03:00
Ilya Matiach 6f3fae51fe [doc] minor doc fix for gamma param (#2180) 2019-05-15 18:26:46 +03:00
Laurae 3d8770aff7 [docs] fixing max_depth param description (#2155)
* PR #1879

* Update docs with parameter_generator.py

* Update wrapper doc for sklearn
2019-05-15 17:04:50 +03:00
Nikita Titov b3c1ffbf9f [ci] create GitHub release automatically (#2171)
* added GitHub Release task

* add connection name

* test

* added triggers for tags

* hotfixes
2019-05-15 21:40:07 +08:00
Nikita Titov f91e5644a3
[python] added ability to pass first_metric_only in params (#2175)
* added ability to pass first_metric_only in params

* simplified tests

* fixed test

* fixed punctuation
2019-05-15 15:44:37 +03:00
Nikita Titov 2a3691703c
[ci] added swig compilation on macOS and Windows with artifacts (#2170)
* compile SWIG artifact on Windows

* compile SWIG artifact on Windows

* combined swig and sdist jobs for Linux

* added conditions for artifacts publishing

* added SWIG artifact compilation on macOS

* hotfix

* test: switch compilers

* harsh workaround for OpenMP library conflict

* switch compilers back

* consistent order of tasks in condition

* dummy commit to trigger CI and fix CLA
2019-05-14 14:50:27 +03:00
Nikita Titov 76170788c4
[ci][docs] updated fix for OpenMP conflicts (#2166)
* test: AppleClang on Travis

* updated fix for OpenMP multiple instances

* updated docs

* switch compiler back
2019-05-12 14:19:53 +03:00
James Lamb e09e4caa4d fixed minor issues with R package (#2167) 2019-05-12 10:36:27 +02:00
Nikita Titov 1a1c2fd752 use stable_sort for splits (#2169) 2019-05-11 09:25:11 +08:00
Nikita Titov abbbbd7545 [ci] CI fixes (#2161)
* Update setup.sh

* Update test.sh

* Update setup.sh

* test: gcc on Azure

* Update test.sh

* Update setup.sh

* Update test.sh

* switch compiler back on Azure
2019-05-09 09:52:10 +08:00
Yuyang Lan 5d6513ef20 sort after get top K splits (#2154) 2019-05-08 20:48:30 +08:00
James Lamb 1c27a15e42 removed external dependenciesin build_r.R (fixes #2122) (#2123) 2019-05-08 10:57:01 +02:00
Guolin Ke 94fbe5bb9f
[docs] updated Microsoft GitHub URL (#2152)
* fix travis badge

* updated GitHub Microsoft URL
2019-05-08 13:51:28 +08:00
Guolin Ke f46f8b2a04
fix warning 2019-05-08 10:16:50 +08:00
Guolin Ke 46d2147684
fix a bug when bagging with reset_config (#2149)
* fix a bug when bagging with reset_config

* clean code
2019-05-06 20:15:21 +08:00
Nikita Titov 2c41d15e06 [ci] nose is not needed anymore (#2151) 2019-05-06 09:53:33 +08:00
Nikita Titov a47782f540 added estimator's tags (#2150) 2019-05-06 09:52:52 +08:00
Nikita Titov cfcc020e58
[ci][docs] generate docs for C API (#2059)
* use file to install deps for docs

* added C_API docs

* use breathe without exhale

* added missed params descriptions and make Doxygen fail for warnings

* escape char hotfix

* ignore unknown directive for rstcheck

* better handle env variable

* hotfix for 'Unknown directive type' error with C_API=NO

* Update .gitignore

* fixed pylint

* use already defined constants in conf.py

* do not suppress Doxygen's output

* addressed review comments

* removed unneeded import
2019-05-05 14:54:37 +03:00
Nikita Titov 804c5cdfa7 [doc] OS name in bold (#2147) 2019-05-05 10:05:17 +08:00
Nikita Titov b40d0dc3d6
[ci][SWIG] fixed SWIG -Wstrict-aliasing warnings (#2139) 2019-05-04 23:42:18 +03:00
Ilya Matiach 7156c9b09e [SWIG] fix swig build warnings/errors on windows (#2141) 2019-05-04 21:39:20 +03:00
Nikita Titov 40e3048f61
[ci] removed graphviz from docker (#2142) 2019-05-04 21:02:16 +03:00
Nikita Titov 93a899ac7c [ci] hotfix for check the docs(#2145) 2019-05-04 23:01:01 +08:00
Nikita Titov 611cf5d414 [python] added plot_split_value_histogram function (#2043)
* added plot_split_value_histogram function

* updated init module

* added plot split value histogram example

* added plot_split_value_histogram to notebook

* added test

* fixed pylint

* updated API docs

* fixed grammar

* set y ticks to int value in more sufficient way
2019-05-01 23:05:16 +09:00
Nikita Titov 65c7779d18 [ci] point to latest CMake modules (#2140) 2019-05-01 07:56:05 +08:00
Nikita Titov 5ece53b5e0 [docs] updated the part about Boost in installation guide (#2082)
* updated installation guide

* updated Python installation guide

* added note about opencl path to Windows section

* added space before path in message

* minor correction for option description in Python installation guide
2019-04-30 10:53:49 -07:00
remcob-gr 57ed8794e4 Fix build of GPU debugging code (#2071) 2019-04-30 22:17:47 +08:00
Nikita Titov a295f6b067
Removed legacy code (#2137)
* Update meta.h

* Update json11.hpp
2019-04-30 17:01:06 +03:00
Nikita Titov 739c2635f4 [ci] added job for swig compilation on Linux with artifacts (#2125)
* added job for swig compilation on Linux with artifacts

* hotfix

* test: SWIG with Clang compiler

* switch compiler back to gcc

* switch to main docker
2019-04-30 12:26:16 +08:00
Nikita Titov 8d2ec69f4f
[python][R][docs][ci] better compatibility with Visual Studio 2019 (#2083)
* set platform via A option

* style hotfix

* updated R installation script

* updated Python installation script

* updated CI test script

* provide VS version-ingependent link for redistributables download

* added link to VS 2019 redistributables

* added VS 2019 match for Boost binaries
2019-04-29 13:34:44 +03:00
Ilya Matiach de82ed5851 [SWIG] added typemap for string arrays in SWIG interface (#2118)
* added typemap for string arrays in SWIG interface

* added voidp pointer casts
2019-04-29 16:43:29 +08:00
Guolin Ke c45ec4f153
dump_model() bug with num_leaves=1 2019-04-29 11:23:26 +08:00