Displaying 13 results from an estimated 13 matches for "fgl".
Did you mean:
fg
2005 Nov 10
1
question about the dataset fgl
Dear sir or ma'am,
I have a question about the dataset "fgl." The dataset seems to be in
the "VR" package, so I tried to download it from CRAN. However, after
downloading, when I tried to load the package, it was not in my package
list. I am wondering what is wrong.
Any advice on how to access the fgl dataset would be appreciated.
Thanks....
2008 Nov 17
1
An array of an array of boxplots in lattice
Using the data set fgl in MASS the following code
layout(matrix(1:9,3,3))
for(i in 1:9){
boxplot(fgl[,i] ~ type, data = fgl,main=dimnames(fgl)[[2]][i])}
produces a 3 by 3 array of plots, each one of which consists of six
boxplots.
Is it possible to do this in lattice?
Steve
"R version 2.7.2 (2008-08-25)"...
1998 Aug 18
1
Problem in "configure" for Solaris (cc) -- solved (partly) --
...ecking for f77
configure:1402: checking for underscore after Fortran symbols
Note, no details of the compiler failure appear ....
As for speed comparisons:
A piece of the ch14 script from V&R2 (highly C-dependent), Solaris 2.6,
Sparc 20 (about 4 years old)
library(MASS)
library(tree)
data(fgl)
unix.time({
fgl.tr <- tree(type ~ ., fgl)
fgl.cv <- cv.tree(fgl.tr,, prune.misclass)
for(i in 2:5) fgl.cv$dev <- fgl.cv$dev +
cv.tree(fgl.tr,, prune.misclass)$dev
fgl.cv$dev <- fgl.cv$dev/5})
gcc2.8.1 60.26secs
cc SC4.0 60.35secs
(the close agreement is fortuitous: I had to tu...
2004 Sep 23
0
nnet and weights: error analysis using V&R example
Dear R-users, dear Prof. Ripley as package maintainer
I tried to investigate the odd error, when I call nnet together with a
'weights' parameter, using the 'fgl' example in V&R p 348
The error I get is:
Error in eval(expr, envir, enclos) : Object "w" not found
I think it is a kind of scoping problem, but I really cannot see, what
the problem exactly is.
and here is my code: the only thing which changed is the definition of a
weight...
2000 Mar 08
3
Reading data for discriminant analysis
Dear R users,
I want to do discriminant analysis on my data. I have
successfully followed the discriminant analysis in V & R on
the iris data:
> ir <- rbind (iris3[,,1],iris3[,,2],iris3[,,3])
> ir.species <- c(rep("s",50),rep("c",50),rep("v",50))
> a <- lda(log(ir),ir.species)
> a$svd^2/sum(a$svd^2)
[1] 0.996498601 0.003501399
> a.x <-
2008 Feb 24
1
what missed ----- CART
Hi all,
Can anyone who is familar with CART tell me what I missed in my tree code?
library (MASS)
myfit <- tree (y ~ x1 + x2 + x3 + x4 )
# tree.screens () # useless
plot(myfit); text (myfit, all= TRUE, cex=0.5, pretty=0)
# tile.tree (myfit, fgl$type) # useless
# close.screen (all= TRUE) # useless
My current tree plot resulted from above code shows as:
1. overlapped #s caused by unsuitable length of branch.
2. no misclassification rates: 'misclass.tree' only brings up the error of ' misclassification error rat...
2005 Jan 25
3
multi-class classification using rpart
Hi,
I am trying to make a multi-class classification tree by using rpart.
I used MASS package'd data: fgl to test and it works well.
However, when I used my small-sampled data as below, the program seems
to take forever. I am not sure if it is due to slowness or there is
something wrong with my codes or data manipulation.
Please be advised !
The data is described as the output from str() function. T...
2005 Mar 23
0
Question on class 1, 2 output for RandomForest
...used a different data set with
> random Forest
> from the UCI respository. The results for the "credit" data
> generated 2
> additional columns, column "1" and a column "2" that the
> example given
> in the newsletter did not generate from the fgl data set.
>
> For the "credit" data, what does the output with the heading
> "1", " 2"
> imply for ntree=100...500 (below)? Does the "1" imply the
> actual data,
> "class 1" and a group of synthetic data "2" -> &q...
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
...es ... ERROR
Error in namespaceExport(ns, exports) : undefined exports: abbey,
accdeaths, Aids2, Animals, anorexia, austres, bacteria, beav1, beav2,
biopsy, birthwt, Boston, cabbages, caith, Cars93, cats, cement, chem,
coop, cpus, crabs, Cushings, DDT, deaths, drivers, eagles, epil, farms,
fdeaths, fgl,
forbes, GAGurine, galaxies, gehan, genotype, geyser, gilgais, hills,
housing, immer, Insurance, leuk, lh, mammals, MASS.data.load, mcycle,
mdeaths, Melanoma, menarche, michelson, minn38, motors, muscle, newcomb,
nlschools, nottem, npk, npr1, oats, OME, painters, petrol, phones,
Pima.te, Pima.tr, P...
2005 Jan 25
0
Collapsing solution to the question discussed above: Re: multi-class classification using rpart
...ue, 25 Jan 2005 14:58:04 -0500, Liaw, Andy <andy_liaw at merck.com>
wrote:
> >
> >>>From: WeiWei Shi
> >>>
> >>>Hi,
> >>>I am trying to make a multi-class classification tree by using rpart.
> >>>I used MASS package'd data: fgl to test and it works well.
> >>>
> >>>However, when I used my small-sampled data as below, the program seems
> >>>to take forever. I am not sure if it is due to slowness or there is
> >>>something wrong with my codes or data manipulation.
> >>...
2005 Mar 22
2
Error: Can not handle categorical predictors with more than 32 categories.
Hi All,
My question is in regards to an error generated when using randomForest
in R. Is there a special way to format the data in order to avoid this
error, or am I completely confused on what the error implies?
"Error in randomForest.default(m, y, ...) :
Can not handle categorical predictors with more than 32 categories."
This is generated from the command line:
>
1997 Jul 24
0
Security hole in mgetty+sendfax
...>8F? , &YTN?P(\,Y\ SY\_W\"_&\^?O>AV-S:> ^" %^UOH/V?7ABU
M)%9.!/#-2$;J7KID,/T:Z_G*;>51Z](+6O&XNE)=@2%J TRC<!0Y$^ GOG<E
M0?C3:P%A!&+B>/ZU6(-X''-["K^%E#+>.I[Q@!%X :BPA3-0T47"=R$0R@Y.=
MG9,>_&]]I4'',U[V@LKF^ 2]?M-HO6MU-V FGL\@;C174=QK0>?ER$][B2<#W
MH8R0+;+8V_[;^<G[HZ.#?BN)HU8\#4._A;RRCO.C#Z>ESA:N8Q02 UZ$''(S#
M=%]J["BX]7P?G,% 3A7(>.!,90SU2R<>]T P=5/2-I.@!\SY&4F).AK(D#[[
M3"8T?R< Y_9*<_9B"$(%L0H#V0Q]MWD9.5[0=*7C0MU0K#%)B&/6U]>)X_9?
M?^KCKVK5&\+ A5IA;U!%R0;...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...8GFcQ=TG6W&sv2}
z_HJ0-!HbJTMrL9tRHi;8G_qXg<OCccQfPq}chGmfgvqjxonA?uFUGF=vS0s+JlgAF
zDveo;#jhu8n26PnvKE|$SBMX(*tC*#RMUz%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