Displaying 20 results from an estimated 44 matches for "err2".
Did you mean:
err
2015 Jan 27
3
trabajar con todos los elementos de la fila de un data.table
Hola a todos...Auxilio, estoy varado en esto y creo que mi terquedad no me deja avanzar ... terquedad ya que estoy usando la estructura data.table y no logro obtener el resultado. Tengo una DT contiene un DATO y los resultados de la aplicación de una validación (ERR01, ERR2, ERR3) y la concatenación de estos errores en una sola columna. Si tiene error, graba el número del error, si no lo tiene, graba NA. Utilizando la función paste directamente en el DT se ontiene la variable LISTA:
DATO ERR1 ERR2 ERR3 LISTAAAA 1 2 3 1|2|3BBB NA...
2003 Aug 20
2
RandomForest
Hello,
When I plot or look at the error rate vector for a random forest
(rf$err.rate) it looks like a descending function except for a few first
points of the vector with error rates values lower(sometimes much lower)
than the general level of error rates for a forest with such number of trees
when the error rates stop descending. Does it mean that there is a tree(s)
(that is built the first in
2005 Aug 04
7
[PATCH] Convert shutdown to use xenstore
The attached patch:
1. Converts the shutdown driver and xend to use the store instead of
control messages,
2. Includes Anthony''s xenstore notification code, and
3. Changes xend so that sysrq''s are no longer sent as "special case"
shutdown messages. Store keys are cheap, so making the sysrq
delivery less obscure is good.
I think I have made all of the
2019 Apr 29
0
[nbdkit PATCH 1/3] vddk: Use a separate handle for single-link=true
..."connection, %s, %d, &handle_single_link", filename, flags);
+ err = VixDiskLib_Open (h->connection, filename, flags, &h->handle_single_link);
+ if (err != VIX_OK) {
+ VDDK_ERROR (err, "VixDiskLib_Open: %s", filename);
+ goto err2;
+ }
+
+ nbdkit_debug ("transport mode for single_link: %s",
+ VixDiskLib_GetTransportMode (h->handle_single_link));
+ }
+
return h;
err2:
@@ -559,6 +573,10 @@ vddk_close (void *handle)
free_connect_params (h->params);
DEBUG_CALL ("Vix...
2010 Feb 10
2
Total least squares linear regression
Dear all,
After a thorough research, I still find myself unable to find a function
that does linear regression of 2 vectors of data using the "total least
squares", also called "orthogonal regression" (see :
http://en.wikipedia.org/wiki/Total_least_squares) instead of the
"ordinary least squares" method. Indeed, the "lm" function has a
1999 Aug 26
1
error bars on barplots
Hello again
I'm trying to put error bars onto a barplot. I've tried something that
Bill Simpson suggested a while ago, ie:
x<-c(1,2,3,4,5)
y<-c(1.1, 2.3, 3.0, 3.9, 5.1)
ucl<-c(1.3, 2.4, 3.5, 4.1, 5.3)
lcl<-c(.9, 1.8, 2.7, 3.8, 5.0)
plot(x,y, ylim=range(c(lcl,ucl)))
arrows(x,ucl,x,lcl,length=.05,angle=90,code=3)
#or
segments(x,ucl,x,lcl)
but I can't get it to work on a
2005 Dec 01
1
Kalman Smoothing - time-variant parameters (sspir)
...am trying to do a simple regression where
I assume the intercept is constant and the 'Beta' is changing, how do
I do that? How do i Initialize the filter (i.e. what is appropriate to
set m0, and C0 for the example below)?
The model I want is: y = alpha + beta + err1; beta_(t+1) = beta_t + err2
I thought of the following:
library(mvtnorm) # (1)
library(sspir)
# Let's get some data so we can all try this at home
dfrm <- data.frame(
y =
c(0.02,0.04,-0.03,0.02,0,0.01,0.04,0.03,-0.01,0.04,-0.01,0.05,0.04,
0.03,0.01,-0.01,-0.01,-0.03,0.02,-...
2019 Sep 01
11
[nbdkit PATCH 00/10] Avoid -Wshadow
While working on can_FOO caching, at one point I got confused by
whether 'readonly' meant the global set by -r or a local passed to
.open(). A quick attempt to compile with -Wshadow found several other
confusing points; this series gets us to the point that we can add
-Wshadow to builds with --enable-gcc-warnings.
Eric Blake (10):
server: Avoid -Wshadow warnings
guestfs: Avoid
2019 Apr 29
5
[nbdkit PATCH 0/3] Fix data integrity in vddk plugin
Couple of fixes to return correct data and one nice-to-have clean-up which is not needed. I just find it nicer to read.
Martin Kletzander (3):
vddk: Use a separate handle for single-link=true
vddk: Do not report hole extents to be zero with single-link=true
vddk: Eliminate one needless goto
plugins/vddk/vddk.c | 48 +++++++++++++++++++++++++++++++++------------
1 file changed, 36
2020 Aug 06
5
[PATCH nbdkit NOT WORKING 0/2] vddk: Relax threading model.
I believe this roughly implements Nir's proposal here:
https://www.redhat.com/archives/libguestfs/2020-August/msg00028.html
Unfortunately it doesn't work for me. It actually slows things down
quite a lot, for reasons I don't understand. Note the adjustment of
the pool-max parameter and how it affects the total time. The results
are quite reproducible.
$ ./nbdkit -r -U - vddk
2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
...spin_unlock(&inode_lock);
if (sync)
wait_on_inode(inode);
+ return err;
}
EXPORT_SYMBOL(write_inode_now);
@@ -641,8 +643,11 @@
need_write_inode_now = 1;
spin_unlock(&inode_lock);
- if (need_write_inode_now)
- write_inode_now(inode, 1);
+ if (need_write_inode_now) {
+ err2 = write_inode_now(inode, 1);
+ if (!err)
+ err = err2;
+ }
else
wait_on_inode(inode);
diff -Nru linux-2.6.10-bk6/fs/inode.c linux-2.6.10-bk6_fix/fs/inode.c
--- linux-2.6.10-bk6/fs/inode.c 2004-12-25 06:35:40.000000000 +0900
+++ linux-2.6.10-bk6_fix/fs/inode.c 2005-01-04 19:58:48.00000000...
2020 Aug 06
0
[PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...DEBUG_CALL ("VixDiskLib_Open",
- "connection, %s, %d, &handle", filename, flags);
- err = VixDiskLib_Open (h->connection, filename, flags, &h->handle);
- if (err != VIX_OK) {
- VDDK_ERROR (err, "VixDiskLib_Open: %s", filename);
- goto err2;
- }
-
- nbdkit_debug ("transport mode: %s",
- VixDiskLib_GetTransportMode (h->handle));
+ h->flags |= VIXDISKLIB_FLAG_OPEN_UNBUFFERED;
return h;
- err2:
- DEBUG_CALL ("VixDiskLib_Disconnect", "connection");
- VixDiskLib_Disconnect (h...
2018 Nov 21
3
[PATCH nbdkit v2 0/3] Rewrite xz plugin as a filter.
v2:
- Fixes a number of bugs in corner cases.
- Uses a 1M block size to fetch from the underlying plugin. This
improves performance considerably.
I also tested this much more thoroughly and can't find any more bugs.
Rich.
2011 Aug 27
46
[PATCH 0000/0046] Staging: hv: Driver cleanup
Further cleanup of the hv drivers.
1) Cleanup reference counting.
2) Handle all block devices using the storvsc driver. I have modified
the implementation here based on Christoph's feedback on my earlier
implementation.
3) Fix bugs.
4) Accomodate some host side scsi emulation bugs.
5) In case of scsi errors off-line the device.
This patch-set further reduces the size of
2011 Aug 27
46
[PATCH 0000/0046] Staging: hv: Driver cleanup
Further cleanup of the hv drivers.
1) Cleanup reference counting.
2) Handle all block devices using the storvsc driver. I have modified
the implementation here based on Christoph's feedback on my earlier
implementation.
3) Fix bugs.
4) Accomodate some host side scsi emulation bugs.
5) In case of scsi errors off-line the device.
This patch-set further reduces the size of
2019 Jan 23
0
[PATCH v2] fix build failure when CONFIG_KLIBC_ZLIB is not set
...mdisk_load.c
@@ -46,6 +46,7 @@ static int change_disk(const char *devpath, int rfd, int disk)
return open(devpath, O_RDONLY);
}
+#ifdef CONFIG_KLIBC_ZLIB
/* Also used in initrd.c */
int load_ramdisk_compressed(const char *devpath, FILE * wfd,
off_t ramdisk_start)
@@ -133,6 +134,14 @@ err2:
err1:
return -1;
}
+#else
+int load_ramdisk_compressed(const char *devpath, FILE * wfd,
+ off_t ramdisk_start)
+{
+ fprintf(stderr, "Compressed ramdisk not supported\n");
+ return -1;
+}
+#endif
static int
load_ramdisk_raw(const char *devpath, FILE * wfd, off_t ramdisk_star...
2019 Jan 24
0
[klibc:master] fix build failure when CONFIG_KLIBC_ZLIB is not set
...mdisk_load.c
@@ -46,6 +46,7 @@ static int change_disk(const char *devpath, int rfd, int disk)
return open(devpath, O_RDONLY);
}
+#ifdef CONFIG_KLIBC_ZLIB
/* Also used in initrd.c */
int load_ramdisk_compressed(const char *devpath, FILE * wfd,
off_t ramdisk_start)
@@ -133,6 +134,14 @@ err2:
err1:
return -1;
}
+#else
+int load_ramdisk_compressed(const char *devpath, FILE * wfd,
+ off_t ramdisk_start)
+{
+ fprintf(stderr, "Compressed ramdisk not supported\n");
+ return -1;
+}
+#endif
static int
load_ramdisk_raw(const char *devpath, FILE * wfd, off_t ramdisk_star...
2023 Nov 29
0
computer algebra in R
Dear Konrad,
I presume that the system can be written as follows, where h0, d0, ga0, kga and kd are given:
err1 = h + hd + hga - h0;
err2 = d + hd - d0;
err3 = ga + hga - ga0;
err4 = hga - kga*h*ga;
err5 = hd - kd*h*d;
All error terms should be zero.
Do you need (a) the symbolic solution or (b) is a numeric solution fine?
I do not have any experience with yacas or caracas. But see below.
### Case (a)
I did write a (very rudimenta...
2004 Aug 01
0
phylogenetic trees calculation
...s was copied from which.
The error presence/absence is coded in binary format. The plan is to use
a maximun parsimony tree approach. The data looks like this toy example:
"ms1" "ms2" "ms3" "ms4"
"err1" 0 1 0 0
"err2" 0 0 1 1
"err3" 1 1 0 0
"err4" 0 0 0 1
"err5" 1 1 1 0
"err6" 1 1 0 1
"err7" 0 1 0 0
"err8" 0 1 0 1
A...
2016 Aug 22
5
[PATCH] CodingStyle: add some more error handling guidelines
...e
@@ -397,8 +397,7 @@ cleanup needed then just return directly.
Choose label names which say what the goto does or why the goto exists. An
example of a good name could be "out_buffer:" if the goto frees "buffer". Avoid
-using GW-BASIC names like "err1:" and "err2:". Also don't name them after the
-goto location like "err_kmalloc_failed:"
+using GW-BASIC names like "err1:" and "err2:".
The rationale for using gotos is:
@@ -440,6 +439,47 @@ A common type of bug to be aware of is "one err bugs" which look...