Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R-package] add test on importance types #3231

Merged
merged 2 commits into from
Jul 20, 2020

Conversation

jameslamb
Copy link
Collaborator

This PR proposes a test for the R package on the configuration of feature types introduced in #3220 .

@jameslamb jameslamb requested a review from guolinke July 16, 2020 02:57
@jameslamb jameslamb requested a review from Laurae2 as a code owner July 16, 2020 02:57
@jameslamb jameslamb force-pushed the r/importance-type-tests branch from 79f6e54 to e4f230c Compare July 17, 2020 05:07
@guolinke guolinke merged commit 8e077e0 into microsoft:master Jul 20, 2020
test_that("Saving a model with different feature importance types works", {
set.seed(708L)
data(agaricus.train, package = "lightgbm")
data(agaricus.test, package = "lightgbm")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for commenting in the closed PR, but is seems that test data is not used in this test.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blegh yeah I copied and pasted from other tests. Cut out the valids since it wasn't necessary, but I forgot to remove the test data. I'll just bundle that into #3240

@jameslamb jameslamb deleted the r/importance-type-tests branch October 11, 2020 04:37
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants