search for: nnb

Displaying 11 results from an estimated 11 matches for "nnb".

Did you mean: nb
2007 Mar 12
1
knncat question
...5) > knncat.m Training set misclass rate: 36.88% then I try to calculate prediction accuracy by the following: > pr.knncat.train <- predict (knncat.m,training.new,training.new,train.classcol=5,newdata.classcol=5) > tb.knncat.train <-table (pr.knncat.train, training.new$y) > nnb.accuracy.train<-round(sum(diag(tb.knncat.train))/sum(tb.knncat.train),2) > cat("NNB prediction accuracy for training",nnb.accuracy.train,"\n") NNB prediction accuracy for training 0.67 I thought I should to get : 100%-36.88%=63.12%=0.63. But in my calculation, I get 0.6...
2001 Jun 06
3
methods on missing data
...nded the summary-function to my.summary including SDev, in order to use it with tapply, which crashes in case of groups with no valid data. 2. is a similar problem. I use tapply with hist. On groups without valid data it crashes, like hist(as.numeric(c(NA))) returning Error in pretty(rx, n = nnb, min.n = 1) : x must be numeric hist(as.numeric(c(NA)),breaks=c(1,2)) works, as it does not use "pretty". I know these are very special cases, but unfortunately they kill the whole process. I can figure out some personal solution, but I hope for a professional one. Hope this is kind o...
1998 Dec 23
0
hist(1) results in a segmentation fault (at least on my machine) (PR#86)
...<- !missing(breaks) && (nB <- length(breaks)) > 1 > if(use.br) > breaks <- sort(breaks) 20,22c20,22 < rx <- range(x) < pretty (rx + c(0, diff(rx)/1000), < n = if(missing(breaks)) 1 + log2(n) --- > dx <- diff(rx <- range(x)) > nnb <- > if(missing(breaks)) 1 + log2(n) 27d26 < }) 28a28 > breaks <- pretty (rx + c(-1,1)/1000 * dx, n = nnb) 29a30,35 > if(nB == 1) {## search anew for breaks; dx is (always ?) 0. > breaks <- > if(abs(breaks) > 1e-20) sort(breaks * c(.8, 1.2)) else c...
2019 Mar 26
0
[PATCH nbdkit v4 06/15] delay: Allow block status (extents) requests to be separately delayed.
...elay-extents=(SECS|NNms) =head1 DESCRIPTION @@ -63,6 +64,13 @@ Delay zero operations by C<SECS> seconds or C<NN> milliseconds. Delay trim/discard operations by C<SECS> seconds or C<NN> milliseconds. +=item B<delay-extents=>SECS + +=item B<delay-extents=>NNB<ms> + +Delay block status (extents) operations by C<SECS> seconds or C<NN> +milliseconds. + =item B<wdelay=>SECS =item B<wdelay=>NNB<ms> diff --git a/filters/delay/delay.c b/filters/delay/delay.c index a00292b..d11958b 100644 --- a/filters/delay/delay.c +++ b...
1999 Apr 08
0
Keep-timestamp-in-`get'-patch for smbclient in samba-2.0.3
...m not subscribing the mailing list (so sorry for interruption.), so kindly send an direct Email to my address below if you have any comment on this. The patch goes as the next part (applies on source/client/client.c). Seiichi NAMBA <sn@asahi-net.email.ne.jp> http://www.asahi-net.or.jp/~pi9s-nnb/ http://www.asahi-net.or.jp/~pi9s-nnb/dired-dd-home.html --Multipart_Thu_Apr__8_13:33:51_1999-1 Content-Type: text/plain; type=gzip; charset=US-ASCII Content-Disposition: attachment; filename="samba-2.0.3-smbcilent.get-with-timestamp.patch" Content-Transfer-Encoding: 7bit --- client/cl...
2000 Jul 09
1
Modified Histogram functions
...used when `breaks' specified") } else if(!is.null(nclass) && length(nclass) == 1) breaks <- nclass use.br <- use.br && (nB <- length(breaks)) > 1 if(use.br) breaks <- sort(breaks) else { # construct vector of breaks rx <- range(x) nnb <- if(missing(breaks)) 1 + log2(n) else { # breaks = `nclass' if (is.na(breaks) | breaks < 2) stop("invalid number of breaks") breaks } breaks <- pretty (rx, n = nnb, min.n=1, eps.corr = 2) nB <- length(breaks) if(nB <= 1) { #...
2019 Mar 26
21
[PATCH nbdkit v4 00/15] Implement Block Status.
I'm not sure exactly which version we're up to, but let's say it's version 4. I'm a lot happier with this version: - all filters have been reviewed and changed where I think that's necessary - can_extents is properly defined and implemented now - NBD protocol is followed - I believe it addresses all previous review points where possible The "only" thing
2019 May 16
27
[nbdkit PATCH v2 00/24] implement NBD_CMD_CACHE
Since v1: - rework .can_cache to be tri-state, with default of no advertisement (ripple effect through other patches) - add a lot more patches in order to round out filter support And in the meantime, Rich pushed NBD_CMD_CACHE support into libnbd, so in theory we now have a way to test cache commands through the entire stack. Eric Blake (24): server: Internal hooks for implementing
2019 Mar 28
32
[PATCH nbdkit v5 FINAL 00/19] Implement extents.
This has already been pushed upstream. I am simply posting these here so we have a reference in the mailing list in case we find bugs later (as I'm sure we will - it's a complex patch series). Great thanks to Eric Blake for tireless review on this one. It also seems to have identified a few minor bugs in qemu along the way. Rich.
2019 Aug 23
22
cross-project patches: Add NBD Fast Zero support
This is a cover letter to a series of patches being proposed in tandem to four different projects: - nbd: Document a new NBD_CMD_FLAG_FAST_ZERO command flag - qemu: Implement the flag for both clients and server - libnbd: Implement the flag for clients - nbdkit: Implement the flag for servers, including the nbd passthrough client If you want to test the patches together, I've pushed a
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...i8+Av3!tB6^H{tZkRifVSw4!S;7)565Ggi z_iAk&T+^Ip6bC*t+`B9f)YS=`W|!b3iUWr+;n_&`{fyH@`3}qW#ah=vcWCGMK8VAX zBq6?36M-*b9VBUnAaChuVJJ7;wn;j_+mo!+gS at Fq_fwSBh&ul%DA{#Qw{1~nC$FU2 zzmBP7tcQ+~s&GuDwoQf)3ilFq217g&&m1&F<q9fx+x}mv98Wh9wN`$M?@dirXq^#m zox5DOP8m%PhqzOroYr<CoY*LAnnNbK{UP$EtMzO`<ONz{dx2<oCrMe}7=!YpN|Q+7 zq&S*9Lj?bf%wD?7hpH at 3bkjt-mr}$DC*p)1;Z{a9IK|wH+(^HhsWFLjvSVg>Z?iR3 z=SFW;2yB%Eb~#B}lFve1OC(3>%O|2Pm)UKdpIbo37mH4c{c8%u?{ku1_-es0p at 21r zSeI*}Q~aDNc)wckp2l$t;NqaU-VkK!H&YwRs>@8x=Jr|LBS0VbrPGr;4m9YH#l7~g zM$j<}loWw92iUTtWv;!zM<LWJX...