Displaying 18 results from an estimated 18 matches for "pima".
Did you mean:
ima
2006 Nov 24
1
How to find AUC in SVM (kernlab package)
...ing Area Under Curve (AUC). I know ROCR
package can do this job but I found all example in ROCR package have
include prediction, for example, ROCR.hiv {ROCR}. My problem is how to
produce prediction in SVM and to find AUC.
Here is a simple example:
library(MASS)
library(kernlab)
library(ROCR)
pimamodel <- ksvm(type ~ .,data=Pima.tr,type="C-svc",C=10,prob.model=TRUE)
pimamodel
fitted(pimamodel)
pima.pred <- predict(pimamodel, Pima.te[,-8], type="probabilities")
pima.pred
# try to find AUC
#predid.no <- prediction(pima.pred[,1], Pima.te[,8])
#predid.yes <- pr...
2010 May 13
1
What's data() for?
Hi there,
>library(faraway)
>pima
pregnant glucose diastolic triceps insulin bmi diabetes age test
1 6 148 72 35 0 33.6 0.627 50 1
2 1 85 66 29 0 26.6 0.351 31 0
>data(pima)
>pima
pregnant glucose diastolic triceps insulin bmi diabetes a...
2005 Mar 18
1
How to show which variables include in plot of classification tree
Dear all
For my research, I am learning classification now.
I was trying some example about classification tree pakages, such as
tree and rpart, for instance,
in Pima.te dataset have 8 variables (include class=type):
library(rpart)
library(datasets)
pima.rpart <- rpart(type ~ npreg+glu+bp+skin+bmi+ped+age,data=Pima.te,
method='class')
plot(pima.rpart, uniform=TRUE)
text(pima.rpart)
summary(pima.rpart)
In the result I found only 5 variables: npreg,...
2005 Jun 02
3
How to change all name of variables
Dear R-helpers,
First I apologize if my question is quite simple
I have a large datasets which more 100 variables.
For a research I need to change all name of variables with add one or
more letters on each variables.
For example,
> data(Pima.tr)
> Pima.tr[1:5,]
npreg glu bp skin bmi ped age type
1 5 86 68 28 30.2 0.364 24 No
2 7 195 70 33 25.1 0.163 55 Yes
3 5 77 82 41 35.8 0.156 35 No
4 0 165 76 43 47.9 0.259 26 No
5 0 107 60 25 26.4 0.133 23 No
>
> dimnames(Pima.tr)[[2]]...
2004 Mar 11
0
(fwd from Bob.Jacobs@dot.pima.gov) Daemon Errors
----- Forwarded message from Bob Jacobs <Bob.Jacobs@dot.pima.gov> -----
From: Bob Jacobs <Bob.Jacobs@dot.pima.gov>
Subject: Daemon Errors
Date: Thu, 11 Mar 2004 15:58:07 -0700
To: "'samba-csadmin@samba.org'" <samba-csadmin@samba.org>
X-Mailer: Internet Mail Service (5.5.2653.19)
X-Spam-Status: No, hits=-0.9 required=3.2 test...
2008 Dec 23
2
solaris install
...port.o port.c
port.c:203:2: #error You must implement wine_switch_to_stack for your platform
make[2]: *** [port.o] Error 1
make[2]: Leaving directory `/tmp/wine-1.1.11/libs/wine'
make[1]: *** [wine] Error 2
make[1]: Leaving directory `/tmp/wine-1.1.11/libs'
make: *** [libs] Error 2
root at pima: /tmp/wine-1.1.11 >
root at pima: /tmp/wine-1.1.11 >
which wine
./wine
root at pima: /tmp/wine-1.1.11 >
wine
./wine: could not locate Wine source tree
2004 Jul 30
2
samba server onto a Windows 2000 server
How do I install any version of samba onto a Windows 2000 server?
Larry
2008 Jun 06
5
request: a class having max frequency
Dear R users
I have a very basic question. I tried but could not find the required result. using
dat <- pima
f <- table(dat[,9])
> f
0 1
500 268
i want to find that class say "0" having maximum frequency i.e 500. I used
>which.max(f)
which provide
0
1
How can i get only the "0". Thanks and
best regards
Muhammad Azam
Ph.D. Student
Department of Medical Statist...
1998 Dec 17
0
Cannot read .rda data
...nux 2.0.30 if that can make a
difference. Any help appreciated.
----------------------------------------------------------------------
R : Copyright 1998, The R Development Core Team
Version 0.62.3 in progress (August 28, 1998)
[Previously saved workspace restored]
> library(MASS)
> data(Pima.te)
> ls()
[1] "Pima.te"
> Pima.te
Error: Unimplemented feature in duplicate
>
----------------------------------------------------------------------
ft.
----------------------------------------------------------------------
Fernando TUSELL...
2004 Aug 02
2
Windows Server 2000 Server installation
Is there a procedure for installing and configuring SAMBA 3.0 for a Windows
2000 server so as to share files from the Windows 2000 server for Sun
Solaris 8 workstations?
Thanks,
Larry
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
...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, Pima.tr2, quine, Rabbit, road, rock, rotifer, Rubber,
ships, shoes, shrimp, shuttle, Sitka, Sitka89, Skye, snails, SP500,
steam, stormer, survey, synth.te, synth.tr, topo, Traffic, UScereal,
UScrime, VA, waders, whiteside, wtloss
Error in library(MASS) : package/namespace load failed
E...
2010 Aug 24
3
I have a question about the 389 ds
Hi ,all :
I am a newbie to here and I also install the 389 ds in our company for
managering all users account and passwd .
Today , The boss asked me if the ds could set the users vnc screen geometry
in the config file .
Because the user's computer screen is not the same and have different
geometries.
If it could , then we were happy that can solve the user's vnc problem .
Then , I
2003 May 22
1
faraway package installation failed (PR#3076)
...3 05-05-03 15:32 faraway/data/leafblotch.rda
2121 05-05-03 15:32 faraway/data/melanoma.rda
1901 05-05-03 15:32 faraway/data/odor.rda
42169 05-05-03 15:32 faraway/data/ozone.rda
2677 05-05-03 15:32 faraway/data/penicillin.rda
42496 05-05-03 15:32 faraway/data/pima.rda
2577 05-05-03 15:32 faraway/data/pneumo.rda
3557 05-05-03 15:32 faraway/data/rabbit.rda
4237 05-05-03 15:32 faraway/data/rats.rda
5317 05-05-03 15:32 faraway/data/savings.rda
71017 05-05-03 15:32 faraway/data/solder.rda
7737 05-05-03 15:32 faraway/...
2012 Nov 14
3
ctree
Hello,
I plotted a nice tree with "ctree" . It shows 3 nodes with the prediction of
my 2 groups. (see picture)
Unfortunately I need a larger scale to read the exact prediction of my
groups to get the specificity and sensitivity. I tried to change the scale
with "axis" but it didn't work, my guess because it's not a normal graph
with x and y axis.
Has someone an idea
2002 Jul 23
4
ext3 device reported to be 100% full, but we do not know where?
Hello to everybody here,
We have a strange problem with ext3. df reports 28 of 30 GB to be used
(rest may be slack) which it calls 100% used. But with du we can only
find 13 GB, most of it actually in pretty large files (archives). Where
are the other 17 GB gone?
Thanks
Michael
--
Hostsharing eG / Boytinstr. 10 / D-22143 Hamburg
phone+fax:+49/700/HOSTSHARI(ing) (= +49/700/46787427)
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.
2007 Jan 05
1
Upgrading to Windows 2003 servers
We have samba 2.2.12 running on Solaris 9. Our PDC and BDC are windows 2000
servers running AD. Our windows admin is ready to promote a new windows 2003
R2 server to a DC. When she started DCPromo she received a warning message
about older versions of windows and non-windows systems including SAMBA might
not be able to communicate. Our configuration with SAMBA is not restrictive.
Below is a
2006 Nov 26
1
starting Samba and removing PCNetlink
I have a Sun Clutster running on two Sun Fire 4800s, OS is Solaris 9.
The environment was set up with PC Netlink prior to my arrival. On Nov
24 after work I shutdown PC Netlink on both systems and started Samba.
However from the windows side we can only see one Sun box and the one
sun development box that I tested on prior to this weekend. The other
production system can't be seen from