Displaying 3 results from an estimated 3 matches for "hard_parse".
2015 Aug 22
3
sprintf error: "only 100 arguments allowed"
...ibrary(data.table)
X = cbind(matrix(rnorm(1:1010), nrow=10, ncol=101), sample(c(1, -1), 10, T))
X = as.data.table(X)
X[, weight:=ifelse(V102 == 1, 3, 1)]
# check out function arguments
head(dt2vw, 2)# function (data, fileName, namespaces = NULL, target,
weight = NULL, # tag = NULL, hard_parse = F)
namespaces = list(a = list(varName = sprintf('V%s',1:50), keepSpace=F),
b = list(varName = sprintf('V%s',51:101), keepSpace=F))
dt2vw(data=X, fileName='../out.vw', namespaces = NULL,
target='V102', weight = 'weight',
tag =...
2015 Aug 26
1
sprintf error: "only 100 arguments allowed"
...ow=10, ncol=101), sample(c(1, -1),
>> 10, T))
>> X = as.data.table(X)
>> X[, weight:=ifelse(V102 == 1, 3, 1)]
>> # check out function arguments
>> head(dt2vw, 2)# function (data, fileName, namespaces = NULL, target,
>> weight = NULL, # tag = NULL, hard_parse = F)
>>
>> namespaces = list(a = list(varName = sprintf('V%s',1:50), keepSpace=F),
>> b = list(varName = sprintf('V%s',51:101),
>> keepSpace=F))
>>
>> dt2vw(data=X, fileName='../out.vw', namespaces = NULL,
>>...
2015 Aug 25
0
sprintf error: "only 100 arguments allowed"
...bind(matrix(rnorm(1:1010), nrow=10, ncol=101), sample(c(1, -1), 10, T))
> X = as.data.table(X)
> X[, weight:=ifelse(V102 == 1, 3, 1)]
> # check out function arguments
> head(dt2vw, 2)# function (data, fileName, namespaces = NULL, target,
> weight = NULL, # tag = NULL, hard_parse = F)
>
> namespaces = list(a = list(varName = sprintf('V%s',1:50), keepSpace=F),
> b = list(varName = sprintf('V%s',51:101), keepSpace=F))
>
> dt2vw(data=X, fileName='../out.vw', namespaces = NULL,
> target='V102', weight =...