Displaying 6 results from an estimated 6 matches for "baserate".
Did you mean:
basedate
2011 Apr 12
0
cross-validation complex model AUC Nagelkerke R squared code
...tics, incorporating interaction
effects etc.). The final prediction at the end however would be through
a glm object (called fit.glm). Then, I think so, it would be no problem
to calculate a Nagelkerke R squared measure and an AUC value (for
example with the pROC package) following the script:
BaseRate <- table(Data$Y[[1]])/sum(table(Data$Y))
L(0)=Likelihood(Null-Model)=
(BaseRate*log(BaseRate)+(1-BaseRate)*log(1-BaseRate))*sum(table(Data$Y))
LIKM <- predict(fit.glm, type="response")
L(M)=Likelihood(FittedModell)=sum(Data$Y*log(LIKM)+(1-Data$Y)*log(1-LIKM))
R2 = 1-(L(0)/L(M))^2/...
2011 Jun 22
1
caret's Kappa for categorical resampling
...overfits
and barely beats the base rate if it builds a complicated tree. But the
Kappa numbers go the opposite direction, and here's where I'm not sure
what's going on. The examples in the vingette show Accuracy and Kappa being
positively correlated. I thought Kappa was just (Accuracy - baserate)/(1 -
baserate), but the reported Kappa is definitely not that.
Suggestions? Aside from looking for a better model, which would be good
advice here, what metric would you recommend? Thank you!
-Harlan
[[alternative HTML version deleted]]
2008 Jan 10
2
`[.data.frame`(df3, , -2) and NA columns
Dear baseRs,
I recently made a mistake when renaming data frame columns, accidentally
creating an NA column. I found the following strange behavior when negative
indexes are used.
Can anyone explain what happens here. No "workarounds" required, just curious.
Dieter
Version: Windows, R version 2.6.1 (2007-11-26)
#-----------------------------
df = data.frame(a=0:10,b=10:20)
df[,-2]
2019 Dec 11
3
Problems with large loops in CentOS
I have run into a problem when do loops with lots of elements in CentOS (I
am a new user after using Ubuntu for many years). I am attaching two
scripts, one called
Looping_Centos_minimal_bug_OK.R
which runs fine. I simply repeat a function call in it 15 times. However,
if I repeat that function call 16 times, as in this one,
Looping_Centos_minimal_bug_breaks.R
I get the error,
Error: unexpected
2008 Dec 22
2
Flac player for Android
Hi, apologies if this question has been asked before; is there anyone
working on a flac player for the Android G1? Is anyone interested in working
on such a player?
Thanks.
--
"The mind is like a parachute. It doesn't work unless it's open."
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
1999 Jun 08
2
Tuýrkish Character Set
Hello,
I am new to this list. I have (and all Trukish users of Samba) trouble with
Turkish charactes (iso8859-9)with Samba. I saw some character definition tables
in charcnv.o (in sources). I couldn't understand the logic. A part of the table
for iso8859-2 is
/* MSDOS Code Page 852 -> ISO-8859-2 */
update_map("\241\244\242\364\243\235\244\317\245\225\246\227\247\365");