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

26 Коммитов

Автор SHA1 Сообщение Дата
James Lamb 332559c0f8
[R-package] remove deprecation warnings on lgb.prepare() functions (#3444) 2020-10-17 18:47:20 +03:00
James Lamb 083b02af73
[R-package] refactor and improvements to lgb.convert() functions (fixes #2678, #2681) (#3269)
* [R-package] improvements to lgb.convert() functions (fixes #2678, #2681)

* more stuff

* update docs

* remove lgb.convert()

* put internal functions back

* update index
2020-08-05 22:11:46 -05:00
James Lamb fecac8e74a
[R-package] deprecate lgb.prepare() and lgb.prepare2() (#3095)
* [R-package] deprecate lgb.prepare() and lgb.prepare2()

* linting

* renaming

* updated docs

* linting

* Apply suggestions from code review

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>

* one more comment fix

* remove comment about int being dangerous

* empty commit

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-08-01 12:14:56 -05:00
James Lamb 2c18a0f3ed
[R-package] [ci] Add Windows CI for R package (fixes #2335) (#2936)
* first test of appveyor

* strings are strings

* lil bit of build script

* fixing paths

* removed unnecessary file

* updated CRAN URL

* added a lot more printing

* fixing paths

* more stuff

* fixed paths

* more stuff

* more path guessing

* even more paths

* more stuff

* moar logz

* and now for something totally different

* please work

* ok could be a thing

* changing directories

* we might be in business

* fixed install syntax

* tryinv mingw

* more mingw

* ignore Suggests check

* trying Azure DevOps

* just run bare minimum for Azure DevOps

* fixed  build dir thing

* trying to set libPaths

* more testing

* trying R 3.6.3

* R 3.6.3

* this feels right

* still messing around with libraries

* more paths

* removed duplication in Windows testing code

* simpler

* fixed conda stuff

* more conda stuff

* more fixes

* fixed testing script

* moved AppVeyor setup to the top

* commenting

* ch-ch-ch-ch-chaaaanges

* paths

* plz work

* fixed conda stuff in Windows CI

* uncommented stuff to test a full build

* fixed quotes and removed some unnecessary stuff

* added install.libs.R change

* quotes are impoortant

* added commented-out stuff back in

* added Windows script, download retries, and MSVC linking

* minor fixes

* cleaned up debugging code in FindLibR

* cleaned up debugging code and moved R first in CI

* fixed vsts-ci indentation

* cut documentation stuff out of MSVC build

* fix R CMD check for Azure

* misc whitespace changes

* Added echoing of build logs from R CMD check

* cut out more documentation tests

* fixed NOTE about imports from Matrix

* moved some changes out of this PR and into #2963

* fixed whitespace stuff

* added check on number of NOTES

* adding better checks

* fixing check on NOTEs

* removing unnecessary variable

* Update .ci/test_r_package_windows.ps1

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* some changes

* fix quoting

* trying MINGW on Azure DevOps

* fixing paths

* more paths

* fixing paths

* testing paths

* fixing slashes

* pinned CTAN mirror

* get better logs

* made sure Azure finds MinGW, fixed search for LIBR_CORE_LIBRARY, stopped building R docs on Azure

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* added CXX, CC for Windows builds and changed back to building docs on all MINGW builds

* stored LIBR_CORE_LIBRARY hints in one variable

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* changes from code review

* increased parallel builds for Azure CI

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-04-26 16:05:45 -05:00
James Lamb f2afb2cd35 [R-package][docs] made roxygen2 tags explicit and cleaned up documentation (#2688)
* [R-package] made roxygen2 tags explicit and cleaned up documentation

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* Apply suggestions from code review

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* Update R-package/man/lightgbm.Rd

Co-Authored-By: Nikita Titov <nekit94-08@mail.ru>

* [R-package] moved @name to the top of roxygen blocks and removed some inaccurate information in documentation on parameters

Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2020-01-20 22:35:49 +03:00
James Lamb 42204c43da
[R-package] factored dependency 'magrittr' out of R package (#2334) 2019-09-28 23:05:12 -05:00
James Lamb af6a33e7cd [R-package] added missing importFroms in NAMESPACE (#1627) 2018-08-31 19:53:46 +02: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
James Lamb 21575cb269 updated R dependencies (#1619) 2018-08-27 23:29:06 +02:00
James Lamb 6bb61ea383 Fixed misc CRAN issues (#1260)
* Fixed misc CRAN issues

* Added additional details to R-package DESCRIPTION
2018-03-16 13:26:05 +08:00
Guolin Ke f98d75fc7e Compile R package by custom tool chain. (#584)
* add R's library file to vs project and cmake.

* support using dll built by vs.

* better search for the library file.

* remove mingw related doc .

* update document.

* Let R handle the library compile.

* try fix build from github.

* Update README.md

* cleaner build.

* fix the install problem in linux.

* Update README.md
2017-06-05 20:09:42 +08:00
Laurae deaa5cda11 [R-package] Add lgb.convert from smart matrix building (#561)
* Add lgb.prepare

* Update roxygen to 6.0.1 and add lgb.prepare

* Add prepared rules.

* Add recommendation when needing rules for transformation.
2017-05-28 22:08:46 +08:00
Guolin Ke 604126586f Add R's document back. 2017-05-05 13:21:19 +08:00
Guolin Ke 0eb9921991 remove some files. 2017-04-24 14:29:15 +08:00
Laurae b6c973af3b [R-package] Improvements, readability, and bug fixes (#378)
* Define environment in examples (xgboost clash)

* Large R code changes
2017-04-03 23:55:58 +08:00
Laurae 06a915a78e [R-package] Add $raw to LightGBM (#347)
* Update lgb.Booster.R

* Add saveRDS (manual)

* Add documentation

* Change arguments passed from debug.

* Add readRDS, change way of saving.

* Change documentation.

* Add better documentation.
2017-03-17 14:31:41 +08:00
Yachen Yan 4d6ff2870e Add Feature Contribution Plot (#330) 2017-03-03 08:44:14 +08:00
Guolin Ke ef77806934 Add categorical feature support back. 2017-03-01 21:00:46 +08:00
Yachen Yan 1bf7bbd05e Add Feature Importance Plot Function (#328) 2017-03-01 21:00:46 +08:00
Yachen Yan 5f5c61f318 Add feature contribution computing (#323) 2017-03-01 21:00:45 +08:00
Guolin Ke 4f77bd2860 update to v2. 2017-03-01 20:59:35 +08:00
Yachen Yan 1b0c274263 Add feature importance function (#257) 2017-01-25 11:36:56 +08:00
Yachen Yan bc628ee4b8 Parse a LightGBM model json dump (#253)
* Add lgb.Booster parsing function

* Add data.table, magrittr, jsonlite to Imports
2017-01-24 16:10:35 +08:00
Guolin Ke 88e6beb8f4 [R-package] add cv support 2017-01-08 16:37:45 +08:00
Guolin Ke 535cdc65b9 [R-package] update examples 2017-01-08 10:09:36 +08:00
Guolin Ke 551d59ca71 R package (#168)
* finish R's c_api

* clean code

* fix sizeof pointer in 32bit system.

* add predictor class

* add Dataset class

* format code

* add booster

* add type check for expose function

* add a simple callback

* add all callbacks

* finish the basic training logic

* update docs

* add an simple training interface

* add basic test

* adapt the changes in c_api

* add test for Dataset

* add test for custom obj/eval functions

* fix python test

* fix bug in metadata init

* fix R CMD check
2017-01-08 09:13:36 +08:00