LightGBM/R-package/NAMESPACE

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 строки
1.8 KiB
Plaintext
Исходник Постоянная ссылка Обычный вид История

2017-05-05 08:21:19 +03:00
# Generated by roxygen2: do not edit by hand
S3method("dimnames<-",lgb.Dataset)
S3method(dim,lgb.Dataset)
S3method(dimnames,lgb.Dataset)
S3method(get_field,lgb.Dataset)
S3method(predict,lgb.Booster)
S3method(print,lgb.Booster)
S3method(set_field,lgb.Dataset)
S3method(summary,lgb.Booster)
export(getLGBMthreads)
export(get_field)
export(lgb.Dataset)
export(lgb.Dataset.construct)
export(lgb.Dataset.create.valid)
export(lgb.Dataset.save)
2017-03-01 15:21:30 +03:00
export(lgb.Dataset.set.categorical)
export(lgb.Dataset.set.reference)
export(lgb.configure_fast_predict)
export(lgb.convert_with_rules)
2017-01-08 11:37:45 +03:00
export(lgb.cv)
[R-package] enable saving Booster with saveRDS() and loading it with readRDS() (fixes #4296) (#4685) * idiomatic serialization * linter * linter, namespace * comments, linter, fix failing test * standardize error messages for null handles * auto-restore handle in more functions * linter * missing declaration * correct wrong signature * fix docs * Update R-package/R/lgb.train.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.drop_serialized.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.make_serializable.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * move 'restore_handle' from feature importance to dump method * missing header * move arguments order, update docs * linter * avoid leaving files in working directory * add test for save_model=NULL * missing comma * Update R-package/R/lgb.restore_handle.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update R-package/src/lightgbm_R.cpp Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * change name of error function * update comment * restore old serialization functions but set as deprecated * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * update docs * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/tests/testthat/test_basic.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * comments * fix variable name * restore serialization test for linear models * Update R-package/R/lightgbm.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * update docs * fix issues with null terminator Co-authored-by: James Lamb <jaylamb20@gmail.com> Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-12-04 07:49:10 +03:00
export(lgb.drop_serialized)
export(lgb.dump)
export(lgb.get.eval.result)
2017-01-25 06:36:56 +03:00
export(lgb.importance)
export(lgb.interprete)
export(lgb.load)
[R-package] enable saving Booster with saveRDS() and loading it with readRDS() (fixes #4296) (#4685) * idiomatic serialization * linter * linter, namespace * comments, linter, fix failing test * standardize error messages for null handles * auto-restore handle in more functions * linter * missing declaration * correct wrong signature * fix docs * Update R-package/R/lgb.train.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.drop_serialized.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.make_serializable.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * move 'restore_handle' from feature importance to dump method * missing header * move arguments order, update docs * linter * avoid leaving files in working directory * add test for save_model=NULL * missing comma * Update R-package/R/lgb.restore_handle.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update R-package/src/lightgbm_R.cpp Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * change name of error function * update comment * restore old serialization functions but set as deprecated * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * update docs * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/tests/testthat/test_basic.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * comments * fix variable name * restore serialization test for linear models * Update R-package/R/lightgbm.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * update docs * fix issues with null terminator Co-authored-by: James Lamb <jaylamb20@gmail.com> Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-12-04 07:49:10 +03:00
export(lgb.make_serializable)
export(lgb.model.dt.tree)
export(lgb.plot.importance)
2017-03-03 03:44:14 +03:00
export(lgb.plot.interpretation)
[R-package] enable saving Booster with saveRDS() and loading it with readRDS() (fixes #4296) (#4685) * idiomatic serialization * linter * linter, namespace * comments, linter, fix failing test * standardize error messages for null handles * auto-restore handle in more functions * linter * missing declaration * correct wrong signature * fix docs * Update R-package/R/lgb.train.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.drop_serialized.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.restore_handle.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/lgb.make_serializable.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * move 'restore_handle' from feature importance to dump method * missing header * move arguments order, update docs * linter * avoid leaving files in working directory * add test for save_model=NULL * missing comma * Update R-package/R/lgb.restore_handle.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update R-package/src/lightgbm_R.cpp Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * change name of error function * update comment * restore old serialization functions but set as deprecated * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * update docs * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/saveRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/tests/testthat/test_basic.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * Update R-package/R/readRDS.lgb.Booster.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * comments * fix variable name * restore serialization test for linear models * Update R-package/R/lightgbm.R Co-authored-by: James Lamb <jaylamb20@gmail.com> * update docs * fix issues with null terminator Co-authored-by: James Lamb <jaylamb20@gmail.com> Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-12-04 07:49:10 +03:00
export(lgb.restore_handle)
export(lgb.save)
export(lgb.slice.Dataset)
export(lgb.train)
export(lightgbm)
export(setLGBMthreads)
export(set_field)
2017-01-08 05:09:36 +03:00
import(methods)
importClassesFrom(Matrix,CsparseMatrix)
importClassesFrom(Matrix,RsparseMatrix)
importClassesFrom(Matrix,dgCMatrix)
importClassesFrom(Matrix,dgRMatrix)
importClassesFrom(Matrix,dsparseMatrix)
importClassesFrom(Matrix,dsparseVector)
[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-27 00:05:45 +03:00
importFrom(Matrix,Matrix)
importFrom(R6,R6Class)
importFrom(data.table,":=")
importFrom(data.table,as.data.table)
2018-08-28 00:29:06 +03:00
importFrom(data.table,data.table)
importFrom(data.table,rbindlist)
importFrom(data.table,set)
importFrom(data.table,setnames)
importFrom(data.table,setorder)
importFrom(data.table,setorderv)
importFrom(graphics,barplot)
importFrom(graphics,par)
2018-08-28 00:29:06 +03:00
importFrom(jsonlite,fromJSON)
importFrom(methods,is)
importFrom(methods,new)
importFrom(parallel,detectCores)
importFrom(stats,quantile)
importFrom(utils,modifyList)
importFrom(utils,read.delim)
useDynLib(lightgbm , .registration = TRUE)