Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
R is a free, open-source programming language and software environment for statistical computing, bioinformatics, and graphics.
6
votes
Boruta feature selection in R with custom importance (xgboost feature importance)
Boruta is by universal reputation dog-slow and not very good. Boruta runs take many hours or days. VIF feature-selection algorithm is not objective, anyway.
You can program your own feature-selection …
1
vote
Accepted
Why is this Binning by Median code wrong?
The error is due to the well-known R gotcha that the : (colon operator, which calls seq()) takes higher precedence than arithmetic. … 48.9 48.9 48.9
[1] 65.25 65.25 65.25 65.25
[1] 79.25 79.25 79.25 79.25
But in fact you can replace even that with:
split(a, ceiling(seq_along(a)/binsize))
as per the "Split a vector into chunks in R" …