Displaying 20 results from an estimated 4000 matches similar to: "Comparison of vectors in a matrix"
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
2010 May 26
1
Linear Discriminant Analysis in R
Dear R gurus,
Thank you all for continuous support and guidance -- learning without you
would not be efficient. 
I have a question regarding LD analysis and how to best code it up in R.
I have a file of (V52 and 671 time points across all columns) and another
file of phonetic features (each vowel is aligned with a distinct binary
sequence, i.e.
E 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0
2007 Jul 17
1
distance function (analogue)
Hello R-Users,
its again me with a question.
I´m using R 2.5.0 on Mac Power Book running Mac OS X 10.4.10
I try to calculate distances betweeen two data tables looking like this
     V1 V2 V3 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
1    1  0  0  0  1  1  0  1  0   0   0   1   0   0   0   0   0   1    
0   0 
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,
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.
2007 May 11
0
EM covergence problem
Hi, R users
  I am trying to use EM algorithmto estimate a latent class model of discrete choice. The basic model is a logit model which has two variables X=(X1,X2) and the utility is defined as v = Beta*X. There are 3 classes of individuals each has its own Beta values, so Beta is a 3*2 matrix. For each individual, (there are 1000), he make a choice between two randomly generated choice
2018 Jun 27
0
[PATCH v34 0/4] Virtio-balloon: support free page reporting
On 25.06.2018 14:05, Wei Wang wrote:
> This patch series is separated from the previous "Virtio-balloon
> Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT,  
> implemented by this series enables the virtio-balloon driver to report
> hints of guest free pages to the host. It can be used to accelerate live
> migration of VMs. Here is an introduction of
2013 Nov 28
2
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
I"m getting build errors I think from one of your patches O tjoml.
You need to have a build area that builds with clang and does warnings 
as errors to avoid these issues on putback.
here is my configure step for example:
  /home/rkotler/llvm_trunk/configure --enable-werror 
--prefix=/home/rkotler/ll
vm/install CC=/home/rkotler/llvm_3_2/install/bin/clang 
CXX=/home/rkotler/llvm_3_
2018 Jun 15
10
[PATCH v33 0/4] Virtio-balloon: support free page reporting
This patch series is separated from the previous "Virtio-balloon
Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT,  
implemented by this series enables the virtio-balloon driver to report
hints of guest free pages to the host. It can be used to accelerate live
migration of VMs. Here is an introduction of this usage:
Live migration needs to transfer the VM's
2018 Jun 15
10
[PATCH v33 0/4] Virtio-balloon: support free page reporting
This patch series is separated from the previous "Virtio-balloon
Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT,  
implemented by this series enables the virtio-balloon driver to report
hints of guest free pages to the host. It can be used to accelerate live
migration of VMs. Here is an introduction of this usage:
Live migration needs to transfer the VM's
2013 Nov 28
0
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
It is r195843 and fixed in r195905, FYI.
2013/11/29 Reed Kotler <rkotler at mips.com>:
> I"m getting build errors I think from one of your patches O tjoml.
>
> You need to have a build area that builds with clang and does warnings as
> errors to avoid these issues on putback.
>
> here is my configure step for example:
>  /home/rkotler/llvm_trunk/configure
2013 Nov 28
1
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
I'm still seeing this problem.
On 11/28/2013 09:37 AM, NAKAMURA Takumi wrote:
> It is r195843 and fixed in r195905, FYI.
>
> 2013/11/29 Reed Kotler <rkotler at mips.com>:
>> I"m getting build errors I think from one of your patches O tjoml.
>>
>> You need to have a build area that builds with clang and does warnings as
>> errors to avoid these
2013 Apr 27
11
Help
Hello,
I have a question and need your help urgently. I am new to R but want to learn it.
I have several files in a folder which I have imported to R using :
temp = list.files(pattern="*.txt")
>myfiles = lapply(temp, read.delim)
The resulting files are on the workspace stored as List[110]. So they are 110 files in the list. Each file has several different columns and rows.
My
2004 Jul 18
2
a problem: factors, names, tables ..
Hi all,
I am *completely* lost in trying to solve a relatively simple task.
I want to compute the relative number of occurences of an event, the data  
of which sits in a large table (read from file).
I have the occurences of the events in a table 'tt'
0  2 10 11 13 14 15
15  6  1  3  8 15 10
.. meaning that event of type '0' occurs 15 times, type '2' occurs 6 times  
2011 Oct 07
0
[LLVMdev] Enhancing TableGen
On Oct 7, 2011, at 11:23 AM, David A. Greene wrote:
> Evan Cheng <evan.cheng at apple.com> writes:
> 
>> Your proposed new TableGen functionalities are interesting but it is
>> clearly not where the code owners want it to go.
> 
> Jakob at least seems interested in the for loop stuff.  Am I reading you
> correctly, Jakob?  Having that feature would make a huge
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,
2013 Feb 07
1
[LLVMdev] alloca scalarization with dynamic indexing into vectors
Hi all,
I have a question regarding dynamic indexing into a vector with GEP.  I see
that in the ScalarReplAggregates pass in the LLVM 3.2 release the call
SROA::isSafeGEP() will now allow alloca scalarization in the case where a
GEP index into a vector isn’t a constant.  My question is: what is the
expected behavior when the index is out of bounds of the vector?  Is it
undefined?  I have an
2011 Oct 27
1
preceding X. and X
Hello,
Why do I get preceding "X." (that is a and X followed by a period) for
negative numbers and an "X" for positive numbers when I read a csv file? Am
I stuck with this? If so, how do I convert it to normal numbers?
dat=read.csv(file_path)
> dat
  [1] X0.0               X.0.240432350374   X0.355468069625
X.0.211469972378   X1.1812797415      X.0.227975150826