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

23 Коммитов

Автор SHA1 Сообщение Дата
James Lamb 58e9b1da02
[R-package] [docs] fix warnings in pkgdown site building (#3086)
* [R-package] [docs] fix warnings in pkgdown sitte  building

* trying to get better Travis logs

* trying to get better Travis logs

* undo testing fix

* undo testing fix

* empty commit
2020-05-16 16:24:14 -05:00
James Lamb 9478e52f9f
[R-package] fix R examples and lgb.plot.interpretation() (#3002)
* [R-package] fix R examples and lgb.plot.interpretation

* remove space in gitignore

* try data.table from conda-forge

* update FAQ

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-04-21 13:47:23 -05:00
James Lamb 7f71c96c0e
[R-package] fixed some minor issues with testing on Windows (#2908) 2020-03-22 10:42:23 -05:00
James Lamb f449a78df3
[R-package] Added instructions for generating R test coverage (#2664) 2020-01-12 16:59:46 -06:00
Nikita Titov e7c6e67aaa
[tests] simplified test and added dumped data to gitignore (#2372) 2019-09-02 18:59:54 +03:00
Alexander L. Hayes 207bb3ef32 [docs] 🎨 Sphinx Autosummary for generating Python-API documentation (#2286)
* 🎨 `sphinx.ext.autosummary` for generating Python-API summaries

Add `docs/.gitignore` to not track autosummary stubs
Add `sphinx.ext.autosummary` in `docs/conf.py`
  Add 'members' and 'inherited-members' as default parameters
  Add 'autosummary = True' for setting output with `:toctree:`
Add `.. autosummary::` tags to replace `.. autoclass::`

Previously the `Python-API.rst` dumped all of the Python API onto
a single page.

This replaces the Python-API documentation with an index listing
all modules, and paginates all functions and classes onto
separate pages.

* ✏️ Corrections following feedback

Drop `docs/.gitignore` to use the general `.gitignore`
Add `show-inheritance` to `autodoc_default_flags` in `docs/conf.py`
Fix `both` to `class` in `autoclass_content` in `docs/conf.py`

* ✏️ Replacing deprecated Sphinx parameter

Fix deprecated `autodoc_default_flags` to `autodoc_default_options`

* ✏️ Adding `autodoc_default_flags` in to support early Sphinx versions

Add `autodoc_default_flags` with parameters from
  `autodoc_default_options`
2019-07-27 14:59:51 +03: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 fb9b2b8af6
add IntelliJ IDEA to .gitignore (#2093) 2019-04-11 14:13:47 +03:00
James Lamb 82f803b3df updated gitignore to ignore files created by local python installation (#2061)
* updated gitignore to ignore files created by local python installation

* moved sections around in gitignore
2019-03-27 00:03:27 +03:00
Nikita Titov 7ab94e6bba [examples] updated tree index with categorical feature (#2044)
* updated gitignore

* updated tree index with cat feature
2019-03-14 10:51:48 +08:00
James Lamb f30809670a [docs] fixed minor typos in documentation (#1959)
* fixed minor typos in documentation

* fixed typo in gpu_tree_learner.cpp

* Update .gitignore
2019-01-22 14:25:51 +03:00
James Lamb eded794efb [R-package] CRAN fixes (#1499)
* Fixed typos in docs

* Fixed inconsistencies in documentation

* Updated strategy for registering routines

* Fixed issues caused by smashing multiple functions into one Rd

* Fixed issues with documentation

* Removed VignetteBuilder and updated Rbuildignore

* Added R build artefacts to gitignore

* Added namespacing on data.table set function. Updated handling of CMakeLists file to get around CRAN check.

* Updated build instructions

* Added R build script

* Removed build_r.sh script and updated R-package install instructions
2018-08-29 13:31:42 +09:00
Misha Lisovyi dae7551629 [python] Configure choice of `feature_importance_` in sklearn API (#1470)
* ignore vim temporary files

* add importance_type arg to sklearn API

* update documentation info

* remote a trailing space

* remove trailing space (again :))

* add instructions on importance choices to sklearn API

* drop mention of constructor in the feature type setting

* adding a test for different feture types

* remove trailing spaces, make shorter assert in feature importance type handling test

* fixing style issue introduced with the new test
2018-07-11 18:28:37 +03:00
Eric Graves cb9fabdae7 added code to expose c_api_pred_contrib in the R package (#1259)
* added code to expose c_api_pred_contrib in the R package

* removed Rprintf

* reverted to previous version of install.libs.R
2018-03-11 18:08:52 +08:00
wxchan bc0579c81b add init_score & test cpp and python result consistency (#1007)
* add init_score & test cpp and python result consistency

* try fix common.h

* Fix tests (#3)

* update atof

* fix bug

* fix tests.

* fix bug

* fix dtypes

* fix categorical feature override

* fix protobuf on vs build (#1004)

* [optional] support protobuf

* fix windows/LightGBM.vcxproj

* add doc

* fix doc

* fix vs support (#2)

* fix vs support

* fix cmake

* fix #1012

* [python] add network config api  (#1019)

* add network

* update doc

* add float tolerance in bin finder.

* fix a bug

* update tests

* add double torelance on tree model

* fix tests

* simplify the double comparison

* fix lightsvm zero base

* move double tolerance to the bin finder.

* fix pylint

* clean test.sh

* add sklearn test

* remove underline

* clean codes

* set random_state=None

* add last line

* fix doc

* rename file

* try fix test
2017-11-09 23:24:20 +08:00
Qiwei Ye 4c7f11aa37 clean vscode related file 2017-03-19 13:22:11 +08:00
wxchan 13d4581b96 add data_splitter to cv (#298)
* add data_splitter for cv

* update gitignore

* clean code
2017-02-18 20:46:44 +08:00
wxchan e9b82412ee fix .gitignore (#238) 2017-01-20 14:32:30 +08:00
Kirill Sevastyanenko 2035c54b3b Stylistic changes r package (#184)
* src & callbacks

* lgb.Booster and utils

* cv

* wip lgb.Dataset

* lgb.Dataset

* lgb.Predictor

* lgb.train

* typos

* add flags to facilitate macosx compilation

* fix basic_string template error with clang

* most unfortunate mode of development

* fixup tests

* last test

* roxygen

* roxygen v5.x.x
2017-01-11 08:20:00 +08:00
wxchan f3d33582ec re-define callback order (#114)
current problem:
callback order: user-defined in callback parameter -> reset_learning_rate/print_evaluation/record_evaluation/early_stop
user can't insert a callback between last 4 callbacks

solution:
set order variable:
reset_learning_rate = 10
print_evaluation = 10
record_evaluation = 20
early_stop = 30
user-defined = some int
default: according to index in callback parameter list, = index - len(callbacks) (all < 0)

current callback order:
before iter: user-defined -> reset_learning_rate -> user-defined
after iter: user-defined -> print_evaluation -> user-defined -> record_evaluation -> user-defined -> early_stop -> user-defined
2016-12-07 15:14:54 +08:00
Tsukasa OMOTO 531352f63e Add python things to .gitignore (#106) 2016-12-03 11:27:03 +08:00
Qiwei Ye 45a7a0ab0f fixing linux builds 2016-10-21 03:39:28 -07:00
Guolin Ke 1c774687cf first commit 2016-08-05 14:06:01 +08:00