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 |
Caret is an R package containing a set of functions that attempt to streamline the process of creating predictive models. Use this tag for any on-topic question that (a) involves caret either as a critical part of the question or expected answer, & (b) is not just about how to use caret or R.
2
votes
3
answers
3k
views
Which data split should I use to determine cutoff point for classification?
I'm building a classification model using the caret package. …
3
votes
Accepted
Which data split should I use to determine cutoff point for classification?
EDIT: @topepo, author of the book cited here, pointed me to http://topepo.github.io/caret/custom_models.html#Illustration5 where he answered this exact question. … Basically, he adds the cutoff points as another tuning parameter and uses the standard caret functions to select the best option. …
2
votes
1
answer
10k
views
How to create a data partition in R using categorical and numerical columns? [closed]
I'm using the createDataPartition method of the caret package as following:
partitionIndex = createDataPartition(paste(data$CategoricalVar1,
data$CategoricalVar2 …
2
votes
Accepted
How to create a data partition in R using categorical and numerical columns?
The test code is:
library(caret)
library(doParallel)
library(ggplot2)
set.seed(1)
p = 0.5
data = twoClassSim(1000)[,c("Linear01", "Linear02", "Class")]
randomTest = unlist(foreach(i = 1:2000) %do% { …