Displaying 20 results from an estimated 120 matches similar to: ""as.numeric""
2015 Aug 22
3
sprintf error: "only 100 arguments allowed"
I'm trying to apply a function defined in the VW R docs, that attemps to
convert a data.table object to Vowpal Wabbit format. In the process i'm
getting the error in printf mentioned in the subject.
The original function is here:
https://github.com/JohnLangford/vowpal_wabbit/blob/master/R/dt2vw.R
Below there is a small example that reproduces the error. The function
works great with
2015 Aug 26
1
sprintf error: "only 100 arguments allowed"
Wouldn't it make sense to have this in the man page?
The 8192-byte limitation for 'fmt' is mentioned but not this one.
Thanks,
H.
On 08/25/2015 02:08 AM, Prof Brian Ripley wrote:
> From the sources:
>
> #define MAXNARGS 100
> /* ^^^ not entirely arbitrary, but strongly linked to
> allowing %$1 to %$99 !*/
>
>
>
> On 22/08/2015 04:21, Martin
2006 Feb 01
2
sort columns
Hi.
I have a simple (I think) question
My dataset have these variables:
names(data)
[1] "v1" "v2" "v3" "v4" "v5" "v6" "v7" "v8" "v9" "v10"
"v11" "v12" "v13" "v14" "v15" "v16" "v17"
2015 Aug 25
0
sprintf error: "only 100 arguments allowed"
From the sources:
#define MAXNARGS 100
/* ^^^ not entirely arbitrary, but strongly linked to
allowing %$1 to %$99 !*/
On 22/08/2015 04:21, Martin Bel wrote:
> I'm trying to apply a function defined in the VW R docs, that attemps to
> convert a data.table object to Vowpal Wabbit format. In the process i'm
> getting the error in printf mentioned in the subject.
2009 Aug 10
3
Pregunta sencilla
Estimados me ha surgido una duda con un simple stem and leaf
el mismo es el siguiente:
> stem.leaf(Datos$ej1.21)
1 | 2: represents 0.12
leaf unit: 0.01
n: 40
LO: 0.72 0.85
3 10 | 9
11 |
4 12 | 4
5 13 | 7
7 14 | 710 (*)
9 15 | 18
16 16 | 3447899
(6) 17 | 045599 (***)
18 18 | 2568
14 19 | 23710 (**)
10 20 | 389
7 21
2012 Apr 05
15
[PATCH 0/0] MSI/MSIX injection for Xen HVM guests
Implement a simple Xen APIC module and use it to deliver MSI/MSIX for
Xen HVM guests.
2008 Jul 14
2
long data frame selection error
Hello,
I am trying to select the following headers from a data frame but when I try
and run the command it executes halfway through and give me an error at V188
and V359.
Temp <- data.frame(V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15,
V16, V17, V18, V19, V20, V21, V22, V23, V24, V25, V26, V27, V28, V29, V30,
V31, V32, V33, V34, V35, V36, V37, V38, V39, V40, V41, V42, V43, V44, V45,
2010 Apr 06
1
Caret package and lasso
Dear all,
I have used following code but everytime I encounter a problem of not having
coefficients for all the variables in the predictor set.
# code
rm(list=ls())
library(caret)
# generating response and design matrix
X<-matrix(rnorm(50*100),nrow=50)
y<-rnorm(50*1)
# Applying caret package
con<-trainControl(method="cv",number=10)
data<-NULL
data<- train(X,y,
2009 Aug 24
0
R survival package error message - bug?!
Dear all,
I have encountered a weird behaviour in R
survival package which seems to me to be a bug.
The weird behaviour happens when I am using
100 variables in the ridge function when calling
coxph with following formula Surv(time = futime,
event = fustat, type = "right") ~ ridge(X1, X2,
X3, X4, X5, X6, X7, X8, X9, X10, X11, X12, X13,
X14, X15, X16, X17, X18, X19, X20, X21, X22,
2008 Sep 02
0
Error in .local(object, ...) : test vector does not match model !
I am getting a really strange error when I am using predict on an ksvm model. The error is "Error in .local(object, ...) : test vector does not match model !". I do understand that this happens when the test vectors do not match the
Model. But in this case it is not so. I am attaching a portion of both the test data used for prediction and the data used to build the model. I could
2012 Apr 12
2
[PATCH v2 0/2] MSI/MSIX injection for Xen HVM guests
Hi all,
this patch series by Wei Liu implements a simple Xen APIC module and use
it to deliver MSI/MSIX for Xen HVM guests.
The second version of this series includes the "or later" copyright
clause for xen_apic.c and a fix to the return value of xen_apic_mem_read
(thanks Peter for finding it out).
Stefano Stabellini (2):
Xen: basic HVM MSI injection support.
Xen: Add
2013 Aug 07
29
[Bug 2140] New: Capsicum support for FreeBSD 10 (-current)
https://bugzilla.mindrot.org/show_bug.cgi?id=2140
Bug ID: 2140
Summary: Capsicum support for FreeBSD 10 (-current)
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs at
2005 Jan 25
3
multi-class classification using rpart
Hi,
I am trying to make a multi-class classification tree by using rpart.
I used MASS package'd data: fgl to test and it works well.
However, when I used my small-sampled data as below, the program seems
to take forever. I am not sure if it is due to slowness or there is
something wrong with my codes or data manipulation.
Please be advised !
The data is described as the output from str()
2009 May 27
1
[PATCH server] UI tweaks for cloud
Initial styling for the cloud, added a few images
Signed-off-by: Jeremy Perry <jeremy.perry at redhat.com>
---
src/app/views/cloud/instance/index.rhtml | 2 +-
src/app/views/layouts/cloud/cloud.rhtml | 9 +-
src/public/images/mystery_cloud2.png | Bin 0 -> 1984 bytes
src/public/images/tab_bg.png | Bin 0 -> 174 bytes
src/public/stylesheets/cloud/layout.css |
2005 Apr 22
4
I have a problem similar to FAQ 2 scenario, but reply packets don''t seem to be recognized.
Hello,
I am running Shorewall 2.0.2f, on SuSE 9.2 distro, kernel
2.6.8-24.11-default
My ip addr show output is as follows:
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0:
2015 Jun 05
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
On Thu, Jun 4, 2015 at 5:33 PM, Reid Kleckner <rnk at google.com> wrote:
> On Thu, Jun 4, 2015 at 5:17 PM, Teresa Johnson <tejohnson at google.com> wrote:
>>
>> Agreed. Although I assume you mean invoke the new pass under a
>> ThinLTO-only option so that avail extern are not dropped in the
>> compile pass before the LTO link?
>
>
> No, this pass
2004 Oct 06
3
flac-1.1.1 completely broken on linux/ppc and on macosx if built with the standard toolchain (not xcode)
Sadly the latest optimization broke completely everything.
The asm code isn't gas compliant. the libFLAC linker script has a typo,
disabling the asm optimization and/or altivec won't let a correct build
anyway.
Instant fixes for the asm stuff:
sed -i -e"s:;:\#:" on the lpc_asm.s
to load address instead of addis+ori you could use
lis and la and PLEASE use the @l(register)
2020 Jun 30
0
[PATCH 01/18] tools: bpf: Use local copy of headers including uapi/linux/filter.h
Pulling header files directly out of the kernel sources for inclusion in
userspace programs is highly error prone, not least because it bypasses
the kbuild infrastructure entirely and so may end up referencing other
header files that have not been generated.
Subsequent patches will cause compiler.h to pull in the ungenerated
asm/rwonce.h file via filter.h, breaking the build for tools/bpf:
| $
2020 Jul 10
0
[PATCH v3 01/19] tools: bpf: Use local copy of headers including uapi/linux/filter.h
Pulling header files directly out of the kernel sources for inclusion in
userspace programs is highly error prone, not least because it bypasses
the kbuild infrastructure entirely and so may end up referencing other
header files that have not been generated.
Subsequent patches will cause compiler.h to pull in the ungenerated
asm/rwonce.h file via filter.h, breaking the build for tools/bpf:
| $
2008 Oct 27
1
Megatec and Batteries
Hi to all,
I am new on the lists but using nut on megatec for last two and half years.
Looking at archives I saw that there is a lot of people confused about battery voltage and I want to help them to clear out some stuff in their heads.
This story is based on my experience with UPS devices from 600VA to 20kVA, from single phase systems to three phase systems, with battery packs from 1