search for: fpr

Displaying 20 results from an estimated 266 matches for "fpr".

Did you mean: for
2005 Jan 21
4
which.pmin?
I have two vectors (k.floor and k.ceiling) of integers of the same length, and a function (fpr). b <- 10:40 k.floor <- floor(log(2) * b) k.ceiling <- ceiling(log(2) * b) fpr.floor <- fpr(b, k.floor) fpr.ceiling <- fpr(b, k.ceiling) If R had a element-wise ternary function, I'd like to do something like this: (fpr.floor < fpr.ceiling) ? k.floo...
2005 Jun 15
1
Reducing the FPR (false positive rate)
Hello R-USERS, I think some people didn't understand my question. What I want is to use the training set to minimize the FALSE POSITIVE RATE. I think it is possible. I sacrifice ACCURACY to have less FALSE POSITIVES. I don't want a classifier result with 5% of FPR and, for example, 93% of ACCURACY. I want a 1% FPR sacrificing the 93% ACCURACY. Do you know how can I do this? I really need this because the requisite of the work I'm doing is only 1% of FPR. Thanks and best regards. ************************************************* |????????????????| -...
2009 Mar 27
1
ROCR package finding maximum accuracy and optimal cutoff point
...es the accuracy?do we do the following?(is there a simpler way): > cutoff.list <- unlist(perf.acc at x.values[[1]]) > cutoff.list[which.max(perf.acc at y.values[[1]])] If the above is correct how is it possible to find the average false positive and negative rates? from the following perf.fpr <- performance(pred, "fpr") perf.fnr <- performance(pred, "fnr") The dataset that consists of two columns; score and a binary response, similar to this: 2.5, 0 -1, 0 2, 1 6.3, 1 4.1, 0 3.3, 1 Thanks, Saeed ?--- R 2.8.1 Win XP Pro SP2 ROCR package v1.0-2 e1071 v1.5-19
2007 Apr 03
3
[LLVMdev] Implementing a complicated VAARG
...he given va_list is already allocated. // // typedef struct { // char gpr; /* index into the array of 8 GPRs // * stored in the register save area // * gpr=0 corresponds to r3, // * gpr=1 to r4, etc. // */ // char fpr; /* index into the array of 8 FPRs // * stored in the register save area // * fpr=0 corresponds to f1, // * fpr=1 to f2, etc. // */ // char *overflow_arg_area; // /* location on stack that holds //...
2015 Sep 05
3
[PATCH] mips/setjmp.S don't save and restore float point registers
Klibc FTBFS with '-mno-odd-spreg' on mips32(el) platforms, As it try to save/restore odd-number FPR. Indeed no other architectures save/restore FPR at all. It shouldn't be needed. --- usr/klibc/arch/mips/setjmp.S | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/usr/klibc/arch/mips/setjmp.S b/usr/klibc/arch/mips/setjmp.S index 68eed19..21e4115 100644 --- a/usr/kli...
2007 Apr 03
0
[LLVMdev] Implementing a complicated VAARG
...cated. > // > // typedef struct { > // char gpr; /* index into the array of 8 GPRs > // * stored in the register save area > // * gpr=0 corresponds to r3, > // * gpr=1 to r4, etc. > // */ > // char fpr; /* index into the array of 8 FPRs > // * stored in the register save area > // * fpr=0 corresponds to f1, > // * fpr=1 to f2, etc. > // */ > // char *overflow_arg_area; > // /* location on s...
2010 Oct 24
1
cvs fpr R
Hello everyone. These days I am writing some code for a small project. I have started having problems with different versions of the files I keep (in case I need to move to older files). I need some easy cvs platform ( I do not know if cvs is the general name or a specific program) that is easy to use. I do not need something that special or specific. Could you please suggest me one easy to
2007 Apr 03
1
[LLVMdev] Implementing a complicated VAARG
...typedef struct { >> // char gpr; /* index into the array of 8 GPRs >> // * stored in the register save area >> // * gpr=0 corresponds to r3, >> // * gpr=1 to r4, etc. >> // */ >> // char fpr; /* index into the array of 8 FPRs >> // * stored in the register save area >> // * fpr=0 corresponds to f1, >> // * fpr=1 to f2, etc. >> // */ >> // char *overflow_arg_area; >> //...
2011 Jun 01
1
Function to save plots
...custom function. My data frames are named like test1, test2, test3. Each data frame has three variables: method1, method2, goldstandard. Right now, for each plot I have to run: png('test1_method1.png') plot(performance(prediction(test1$method1, test1$goldstandard), "tpr", "fpr")) dev.off() Here is the function I tried to create but I failed: roc <- function(arg1, arg2){ png(paste(arg1, arg2, "png", sep="_")) plot(performance(prediction(arg1$arg2, arg1$goldstandard), "tpr", "fpr")) dev.off() } I wanted to pass the t...
2009 Dec 04
0
Problems while plotting with ROCR
...dd=TRUE option does not work for plotting performance objects The following code is taken from the reference manual (example for ROCR.hiv, page2) data(ROCR.hiv) attach(ROCR.hiv) pred.svm <- prediction(hiv.svm$predictions, hiv.svm$labels) perf.svm <- performance(pred.svm, 'tpr', 'fpr') pred.nn <- prediction(hiv.nn$predictions, hiv.svm$labels) perf.nn <- performance(pred.nn, 'tpr', 'fpr') plot(perf.svm, lty=3, col="red",main="SVMs and NNs for prediction of HIV-1 coreceptor usage") now I see some dotted red ROC curves. Now after the...
2009 Feb 19
1
[LLVMdev] help: about how to use tblgen to constraint operand.
I define a pattern to move two 32bits gpr to 64bits fpr. like arm instructure fmdrr. But I need to use an even/odd register pair to save its 2 operands. I define in mytarget.td: myfmdrr: SDTypeProfile<1, 2, [SDTCisVT<0, f64>, SDTCisVT<1, i32>,     SDTCisSameAs<1, 2>]>; def my_fmdrr : ........... def myFMDRR : ....            ...
2010 Feb 03
12
[PATCH 0/12] Add support for writing to hive files
This patch series adds support for some simple operations on hive files, and I've now tested and verified that those operations work correctly. All except for the last patch (12/12) are ready to be committed. The last patch is WIP. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any
2016 Feb 16
2
Voicemail using object storage?
...ne on the VoiceMail app to actually store and retrieve messages to/from an object store? Cheers, Andrew -- Andrew Ruthven, Wellington, New Zealand MIITP, ITCP At work: andrew.ruthven at catalyst.net.nz At home: andrew at etc.gen.nz Cloud : NZs only real cloud - https://catalyst.net.nz/cloud GPG fpr: C603 FC4E 600F 1CEC D1C8 D97C 4B53 D931 E4D3 E863 LCA2016: LCA By the Bay, Geelong, AU - lca2016.linux.org
2014 Jun 23
2
Resumen de R-help-es, Vol 64, Envío 33
Hola, Marta, Por lo que he podido ver tus datos ya tienen calculados las tasas de verdaderos y falsos positivos (TPR y FPR). También parece que los tienes ordenados por la variable FishSpeed y supongo que también por las que parecen marcas de tiempo. No necesitas ROCR porque con un simple plot te sale algo parecido a una curva. Eso sí, veo que son medidas repetidas en el tiempo para cada valor de FishSpeed. Como apaño...
2012 Mar 13
7
ROC Analysis
Hi everybody, I have a data set with a value and a status (positive or negative case) and I want make a ROC Analysis. So, with ROCR Package, I have got the ROC curve (True Positive Fraction [tpf] according 1-True Negative Fraction [1-tnf]). http://r.789695.n4.nabble.com/file/n4469203/01.png But, now I want a new graphic which show the sum of true positive fraction and true negative fraction
2011 Jul 11
1
Named numeric vectors with the same value but different names return different results when used as thresholds for calculating true positives
..., na.rm = TRUE) length(x) - length(x[x <= bin.ct]) # Very curious. One last thing which may or may not be related: # If I try and subset results from ctch using different values of ctch$threshold, this happens: ctch[ctch$threshold == 3.0, ] # threshold val tp fp tn fn tpr fpr tnr fnr #7 3 395.38 3029 16883 16888 111 0.96465 0.499926 0.500074 0.03535 ctch[ctch$threshold == 3.5, ] # [1] threshold val tp fp tn fn tpr fpr tnr fnr #<0 rows> (or 0-length row.names) ctch[ctch$threshold == 4.0, ] # thr...
2009 Sep 14
3
[PATCH REBASED] Remove main loop
...g->sock_watch = -1; cleanup0: free (kernel); @@ -1513,20 +1401,12 @@ qemu_supports (guestfs_h *g, const char *option) return g->qemu_help && strstr (g->qemu_help, option) != NULL; } -static void -finish_wait_ready (guestfs_h *g, void *vp) -{ - if (g->verbose) - fprintf (stderr, "finish_wait_ready called, %p, vp = %p\n", g, vp); - - *((int *)vp) = 1; - g->main_loop->main_loop_quit (g->main_loop, g); -} - int guestfs__wait_ready (guestfs_h *g) { - int finished = 0, r; + int r; + uint32_t size; + void *buf = NULL; if (g->state...
2004 May 23
2
Re: problem and maybe bug in 2.08 and later with vmware 4.5.1
>I found a problem with pxelinux in 2.08 and 2.09pre13 when working with >vmware 4.5.1 (the latest with builtin support fpr pxe-boot). With 2.07 and >2.01 it works without problems. But when trying the later versions there is >trouble. I reach pxeboot.msg >and it shows fine but when I try to choose an image it dosent give keyboard >feedback (first I thought it had hanged) but after some testing it showed &gt...
2009 Feb 25
3
Using package ROCR
...ething is wrong with my R-environment ? Could somebody provide a hint, what is wrong. Question 2) When I run an example commands from the manual library(ROCR) data(ROCR.simple) pred <- prediction( ROCR.simple$predictions, ROCR.simple$labels ) perf <- performance( pred, "tpr", "fpr" ) plot( perf ) the plot command issues the following error message Error in as.double(y) : cannot coerce type 'S4' to vector of type 'double' How this could be fixed ? Thanks for the support -- View this message in context: http://www.nabble.com/Using-package-ROCR-tp22...
2009 Feb 20
2
[LLVMdev] help: about how to use tblgen to constraint operand.
...t* a PAIR_GPR register, you have to use two INSERT_SUBREG. To extract out a GPR from a PAIR_GPR, you need to issue EXTRACT_SUBREG. In most cases, these will be nop's. In other cases, they are copies. Evan On Feb 19, 2009, at 2:00 AM, 任坤 wrote: I define a pattern to move two 32bits gpr to 64bits fpr. like arm instructure fmdrr. But I need to use an even/odd register pair to save its 2 operands. I define in mytarget.td: myfmdrr: SDTypeProfile<1, 2, [SDTCisVT<0, f64>, SDTCisVT<1, i32>,     SDTCisSameAs<1, 2>]>; def my_fmdrr : ........... def myFMDRR : ....           ...