Displaying 5 results from an estimated 5 matches for "noutput".
Did you mean:
output
2007 Oct 10
1
Deleting for() loop in function
...functions could substitute the for() loop in the
code, such as mapply().
Can anybody help to rewrite the dea() function as efficiently as
possible?
The code is as follows:
------------------------------------------------------------------------
-------------------
dea <- function(dta, noutput = 1, rts = 1) {
#rts = 1: CRS
#rts = 2: VRS
# lpSolve library call
require(lpSolve)
# set number of outputs
s <- noutput
# set number of inputs
m <- dim(dta)[2] - s
# set number of observations
n <- dim(dta)[1]
# make output matr...
2010 Mar 30
1
Error when checking a package.
...xamples
>
>
> ## AR constraint of 0.25 <= v2/v1 <= 1.
> library(Hmisc)
> library(lpSolve)
> ar.dat <- data.frame(y = c(1, 1, 1, 1, 1, 1),
+ x1 = c(2, 3, 6, 3, 6, 6),
+ x2 = c(5, 3, 1, 8, 4, 2))
> (re <-
+ ar.dual.dea(ar.dat, noutput = 1, orientation = 1, rts = 1, ar.l =
+ matrix(c(0, 0, 0.25, -1, -1, 1), nrow = 2, ncol = 3), ar.r = c(0, 0),
+ ar.dir = c("<=", "<=")))
Error in ar.dual.dea(ar.dat, noutput = 1, orientation = 1, rts = 1, ar.l =
matrix(c(0, :
F used instead of FALSE
Execution halted
---...
2010 Mar 30
1
R package checking error.
...xamples
>
>
> ## AR constraint of 0.25 <= v2/v1 <= 1.
> library(Hmisc)
> library(lpSolve)
> ar.dat <- data.frame(y = c(1, 1, 1, 1, 1, 1),
+ x1 = c(2, 3, 6, 3, 6, 6),
+ x2 = c(5, 3, 1, 8, 4, 2))
> (re <-
+ ar.dual.dea(ar.dat, noutput = 1, orientation = 1, rts = 1, ar.l =
+ matrix(c(0, 0, 0.25, -1, -1, 1), nrow = 2, ncol = 3), ar.r = c(0, 0),
+ ar.dir = c("<=", "<=")))
Error in ar.dual.dea(ar.dat, noutput = 1, orientation = 1, rts = 1, ar.l =
matrix(c(0, :
F used instead of FALSE
Execution halted
---...
2004 May 04
1
nnet function
...lly normalize the X and Y matrices before
the training, or normalization should be
done by the user.
2) I need to understand the $wts matrix. I do imagine that it is a single
column transformation of the two
matrices of weighs (input to hidden Ninputs+1 x Nodes) and hidden to output
(Nodes+1 x Noutputs).
Thanks
----------------------------------------------
Dr. Laurentiu Adi Tarca
Post Doc. in Bioinformatics
Forest Biology Research Center
C-E-Marchand Bld, 3113
Laval University
Quebec, (Qc)
G1K-7P4
Tel: 656-2131 ext. 4509
e-mail: ltarca at rsvs.ulaval.ca
2019 Feb 02
2
[llvm-xray] llvm-xray cannot log every functions
...secondMatrix and storing in array mult.
for(i = 0; i < rowFirst; ++i)
{
for(j = 0; j < columnSecond; ++j)
{
for(k=0; k<columnFirst; ++k)
{
mult[i][j] += firstMatrix[i][k] * secondMatrix[k][j];
}
}
}
}
void display(int mult[][10], int rowFirst, int columnSecond)
{
int i, j;
printf("\nOutput Matrix:\n");
for(i = 0; i < rowFirst; ++i)
{
for(j = 0; j < columnSecond; ++j)
{
printf("%d ", mult[i][j]);
if(j == columnSecond - 1)
printf("\n\n");
}
}
}
Here is the process when I tried to generate the function call:
1. I wrote a cmake file to configure it, s...