Displaying 20 results from an estimated 4000 matches similar to: "Data Partition Package"
2010 Jun 08
2
cross-validation
Hi
I want to do leave-one-out cross-validation for multinomial logistic regression in R. I did multinomial logistic reg. by package nnet in R. How I do validation? by which function?
response variable has 7 levels
please help me
Thanks alot
Azam
[[alternative HTML version deleted]]
2012 May 21
1
Need Help in K-fold validation in Decision tree
Hi ,
I have built decision tree using rpart . I want to do k Fold validation on
the decision tree .
Could you help how can i do that .. please tell the package which required
for K fold validation.
Regards,
Santosh
--
View this message in context: http://r.789695.n4.nabble.com/Need-Help-in-K-fold-validation-in-Decision-tree-tp4630730.html
Sent from the R help mailing list archive at
2009 Mar 17
1
Double Cross validation for LASSO
Dear R user,
I am looking for a code on double cross validation in
LASSO , one for optimizing the parameter and other one is for MSEP. If any
one have it, please foroward to me. I am using different package like LARS,
chemometric etc.
Thanks in advance
Alex
[[alternative HTML version deleted]]
2010 Apr 09
1
Beyond reshape: automatically streamlining data
Hello,
I've been very impressed by the reshape package and how easy it makes
reorganizing statistical data structures. This makes me wonder if
there's another package out there that addresses another set of tasks
that one often does when preparing data for analysis.
For any particular set of analyses, one typically recodes variables and
deletes cases and variables. It would be really
2010 May 21
1
Question regarding GBM package
Dear R expert
I have come across the GBM package for R and it seemed appropriate for my
research. I am trying to predict the number of FPGA resources required by a
Software Function if it were mapped onto hardware. As input I use software
metrics (a lot of them). I already use several regression techniques, and
the graphs I produce with GBM look promising.
Now my question... I see that the
2023 Apr 14
2
Package Caret
This is the error then:
error in prettyseq(1:ncol(out)) : could not find function "prettyseq"
Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14. Apr. 2023, 09:06:
> What happens if you do the following?
> > library(caret)
> > ?caret::createDataPartition
>
> i.e. to confirm that caret is loaded, seek help on this function
>
>
> On Fri, Apr
2023 Apr 16
2
Package Caret
Many thanks Bert, now is ok, i did not know that "Namensraum" should mean
a package
Am So., 16. Apr. 2023 um 23:44 Uhr schrieb Bert Gunter <
bgunter.4567 at gmail.com>:
> So update the vctrs package to the latest version first before loading
> R-tools (or the caret package, specifically)?
>
> -- Bert
>
> On Sun, Apr 16, 2023 at 1:57?PM G?bor Malomsoki
>
2023 Apr 14
1
Package Caret
What happens if you do the following?
> library(caret)
> ?caret::createDataPartition
i.e. to confirm that caret is loaded, seek help on this function
On Fri, Apr 14, 2023 at 9:56?AM G?bor Malomsoki <gmalomsoki1980 at gmail.com>
wrote:
> Eric,
>
> Yes, i know, i am calling the package, but this is not working.
> I saw a similar question in Stackoverflow, advising install
2023 Apr 14
1
Package Caret
You should post the result of running sessionInfo(), and tell us how you
installed R. Your installation seems very broken.
Duncan Murdoch
On 14/04/2023 3:45 a.m., G?bor Malomsoki wrote:
> This is the error then:
> error in prettyseq(1:ncol(out)) : could not find function "prettyseq"
>
>
>
>
> Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14.
2023 Apr 14
1
Package Caret
Eric,
Yes, i know, i am calling the package, but this is not working.
I saw a similar question in Stackoverflow, advising install package Rcpp,
but this one i am unable to install.
Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14. Apr. 2023, 08:47:
> You first have to load the package using the library command.
> > library(caret)
>
> Then you can call
2023 Apr 16
1
Package Caret
I have newly installed R, R-tools, RStudio, but still not working:
library(caret)Lade n?tiges Paket: latticeError: Laden von Paket oder
Namensraum f?r ?caret? in loadNamespace(i, c(lib.loc, .libPaths()),
versionCheck = vI[[i]]): fehlgeschlagen
Namensraum ?vctrs? 0.5.2 ist bereits geladen, aber >= 0.6.0 wird gefordert
Error in createDataPartition(hypotezis_df$X, p = 0.75, list = FALSE,
times
2023 Apr 14
1
Package Caret
Or is there any similar function to split the dataframe to trainDF and
testDF?
G?bor Malomsoki <gmalomsoki1980 at gmail.com> schrieb am Fr., 14. Apr. 2023,
09:45:
>
> This is the error then:
> error in prettyseq(1:ncol(out)) : could not find function "prettyseq"
>
>
>
>
> Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14. Apr. 2023, 09:06:
2009 Jan 20
5
Error message from CV.GLM
Dear list members.
I have problems with the usage of cv.glm from the boot package. Here are some parts of the script I wanted to use:
data <- read.table("selected_2D.csv", header=TRUE, sep=",")
?
glm.fitted <- glm("ydata$ y ~ 1 + density + vsurf_ID6 + vsurf_S ", data=data)
error <- cv.glm(data=data, glm.fitted, K=6)
ydata$y is a separate data set, where
2023 Apr 16
1
Package Caret
So update the vctrs package to the latest version first before loading
R-tools (or the caret package, specifically)?
-- Bert
On Sun, Apr 16, 2023 at 1:57?PM G?bor Malomsoki
<gmalomsoki1980 at gmail.com> wrote:
>
> I have newly installed R, R-tools, RStudio, but still not working:
>
> library(caret)Lade n?tiges Paket: latticeError: Laden von Paket oder
> Namensraum f?r
2023 Apr 14
1
Package Caret
You first have to load the package using the library command.
> library(caret)
Then you can call createDataPartition. e.g.
> data(oil)
> createDataPartition(oilType,2)
HTH,
Eric
On Fri, Apr 14, 2023 at 7:52?AM G?bor Malomsoki <gmalomsoki1980 at gmail.com>
wrote:
> Dear all,
> When i try to use createDataPartition after calling package 'caret', i get
> the
2023 Apr 14
1
Package Caret
Dear all,
When i try to use createDataPartition after calling package 'caret', i get
the message:
"could not find function createDataPartition"
I use:
R-4.2.3 for Windows
RStudio-2023.03.0-386
Do you have any experience with this failure?
Thank you!
Best regards
Gabor
[[alternative HTML version deleted]]
2012 Nov 04
1
sample equal number of cases per class
Dear community
I have a dataframe and want to split it into a learn and a test partition.
However the learnset should be balanced, i.e. each class should have the
same number of cases. I tried and searched a lot, without success so far.
Maybe you can help?
Some example code
*# generate example data
df <- data.frame(class = as.factor(sample(1:3, 20, replace = T)), var1 =
rnorm(20,3), var2 =
2011 Oct 02
1
difference between createPartition and createfold functions
Hello,
I'm trying to separate my dataset into 4 parts with the 4th one as the
test dataset, and the other three to fit a model.
I've been searching for the difference between these 2 functions in
Caret package, but the most I can get is this--
A series of test/training partitions are created using
createDataPartition while createResample creates one or more bootstrap
samples.
2013 Mar 02
2
caret pls model statistics
Greetings,
I have been exploring the use of the caret package to conduct some plsda
modeling. Previously, I have come across methods that result in a R2 and
Q2 for the model. Using the 'iris' data set, I wanted to see if I could
accomplish this with the caret package. I use the following code:
library(caret)
data(iris)
#needed to convert to numeric in order to do regression
#I
2009 Dec 21
5
Help,Suggest me some methods to identify training set and test set!!!
I want to split my whole dateset to training set and test set, building model
in training set, and validate model using test set. Now, How can I split my
dataset to them reasonally. Please give me a hand, It is better to give me
some R code.
and I see some ways like using SOM to project whole independents to
2-dimensions and find some to be training set and others are test set. like
below. I