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

Predict with training quantiles by default #668

Merged
merged 2 commits into from May 13, 2020

Conversation

erikcs
Copy link
Member

@erikcs erikcs commented May 13, 2020

Closes #667.

X = matrix(rnorm(100*10), 100, 10)
Y = rnorm(100)
qrf = quantile_forest(X, Y, quantiles=c(0.2, 0.8))
p = predict(qrf, X)

dim(p)
#[1] 100   2

Copy link
Member

@jtibshirani jtibshirani left a comment

Choose a reason for hiding this comment

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

Thanks for the fast turnaround on this bug!

r-package/grf/R/quantile_forest.R Outdated Show resolved Hide resolved
@erikcs erikcs merged commit 929afc7 into grf-labs:master May 13, 2020
@erikcs erikcs deleted the use-training-quantiles branch May 13, 2020 04:59
erikcs added a commit to erikcs/grf that referenced this pull request Jun 12, 2020
* master:
  Correct the generated documentation for `best_linear_projection` (grf-labs#689)
  Fix the default `prediction.type` in survival predict (grf-labs#686)
  Add optional Nelson-Aalen estimates of the survival function (grf-labs#685)
  Clarify the survival forest prediction documentation (grf-labs#681)
  Prepare the 1.2.0 release (grf-labs#679)
  Add survival/quantile/local linear timings to benchmark script (grf-labs#680)
  Fix punctuation. (grf-labs#677)
  Update references in README (grf-labs#676)
  README: add the grant number to ONR (grf-labs#675)
  Add an acknowledgements section to README (grf-labs#674)
  Remove passing explicit default options to `findInterval()` (grf-labs#673)
  Add option to predict at chosen failure times (grf-labs#672)
  Simplify some R build options in Travis (grf-labs#670)
  Make consistent use of logical operators in R bindings (grf-labs#669)
  Predict with training quantiles by default (grf-labs#668)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quantile forest prediction should use training quantiles by default
2 participants