search for: ndist

Displaying 16 results from an estimated 16 matches for "ndist".

Did you mean: dist
2006 Sep 19
2
Exc CB Search very little Question
...is equal to 2. So all I can do, in my opinion, is to check if the LSBs of best_nind[0][i] and best_nind[1][i] (for each i in 0:nb_subvect) are different. The Problem is, that I would like to know how big the error is, which I introduce into the signal by this change. But in the end, I only know the ndist for all indexes of the last one of these nb_subvect indexes. (I could increase N of course, but I guess the condition stated in the second line of the first paragraph here could be violated by that) So for my choice stated above, I can only change something on the last of these nb_subvect CB line...
2006 Sep 19
1
Exc CB Search very little Question
...nations_ of CB IDs? Wouldn't it be easier and just as effective (for N==2) to do the following: Get nb_subvect indeces to write into the stream. Write all but the last of these into the stream. If nind[0][nb_subvect-1] and nind[1][nb_subvect-1] have different LSBs and if the difference between ndist[0] and ndist[1] is small enough (smaller than the normal variation of ndist[0], which can be measured), we can decide to write nind[1][nb_subvect-1] into the stream instead of nind[0][nb_subvect-1]. (that's actually what I am doing right now) > Of course, there will be cases where all of th...
2001 Oct 15
0
predict.fda difficulties
...ck() _______________ > traceback() 5: stop(paste("invalid labels; length", nl, "should be 1 or", length(levels))) 4: factor(pclass, labels = dimnames(means)[[1]]) 3: switch(type, variates = return(x), class = { n <- nrow(x) prior <- 2 * log(prior) mindist <- dist(x, means[1, ], dimension) - prior[1] pclass <- rep(1, n) for (i in seq(2, J)) { ndist <- dist(x, means[i, ], dimension) - prior[i] l <- ndist < mindist pclass[l] <- i mindist[l] <- ndist[l] } return...
2008 Jan 31
1
Ryacas
...then need to manually write R code whereas I think Ryacas will give me the expression such that I can export for Tex and produce code I can use for a function. Is there a way I can use Ryacas with built in functions, like dnorm? For example, I can define the normal and then use the D function as: ndist<-expression( (1/(s*sqrt(2*pi))) * exp(- ((x-u)^2/(2*s^2)))) D(ndist, "u") But, I don't see in the vignette a way to use dnorm?
2006 Sep 19
0
Exc CB Search very little Question
...l I can do, in my opinion, is to check if the LSBs of > best_nind[0][i] and best_nind[1][i] (for each i in 0:nb_subvect) are > different. The Problem is, that I would like to know how big the error > is, which I introduce into the signal by this change. But in the end, I > only know the ndist for all indexes of the last one of these nb_subvect > indexes. (I could increase N of course, but I guess the condition stated > in the second line of the first paragraph here could be violated by that) > > So for my choice stated above, I can only change something on the last > of...
2006 Sep 20
2
Denoiser level and AEC problem
...is equal to 2. So all I can do, in my opinion, is to check if the LSBs of best_nind[0][i] and best_nind[1][i] (for each i in 0:nb_subvect) are different. The Problem is, that I would like to know how big the error is, which I introduce into the signal by this change. But in the end, I only know the ndist for all indexes of the last one of these nb_subvect indexes. (I could increase N of course, but I guess the condition stated in the second line of the first paragraph here could be violated by that) So for my choice stated above, I can only change something on the last of these nb_subvect CB line...
2006 Sep 19
2
Exc CB Search very little Question
Hi, Jean-Marc Valin wrote: > Well, you could change the order in the encoder as long as you reverse > it in the decoder as well. Ok, I see that in the split_cb_shape_sign_unquant function, that each coefficient is tied to it's position in the nb_subvect exc coefficients. Honestly, I have problems understanding what exactly the codebook search works like. If you have the time to to
2012 Jan 16
0
FDA predict problem
...preformed a flexible discriminant analysis (FDA) using a set of 148 trips. A total of 36 predictors were considered. the resulting FDA rule was applied to the 4409 trips and for the same predictors in order to predict to which group the trip will belong. A consistent error is occuring: Error in mindist[l] <- ndist[l] : NAs are not allowed in subscripted assignments script: matriz <- read.table("matriz2010.txt", header=T, sep="\t") names(matriz) matrizR <- matriz[,-c(1:9, 11:15, 32, 35, 36, 47, 50, 51, 56)] names(matrizR) matrizRR <- matrizR[,-c(2:7)] names(m...
2006 Sep 11
2
Distances in codebook search
Hello, I recently measured the distances ndist[0][nb_subvect-1] which are used to make the decicion, which codebook entries are to be used in libspeex/cb_search.c (function split_cb_search_shape_sign). For that I took a couple of audio books (all german speech), downsampled the tracks to 8kHz and encoded them with "speexenc -n --bitrate 1...
2008 Apr 13
2
Arrays and functions
Hi, I' am doing a stats project using R to work out the size of a t-test and wilcoxon test depending on the distribution and sample size. I just can't get it to work - I want to put my results from the function size() into an array.At the moment I keep getting the error message:Error in res[distribution, test, samplesize] <- results : subscript out of boundsCan anyone tell me where
2006 Sep 11
0
Distances in codebook search
...a website... CB -----Original Message----- From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of Bj?rn Thalheim Sent: Monday, September 11, 2006 4:43 AM To: speex-dev@xiph.org Subject: [Speex-dev] Distances in codebook search Hello, I recently measured the distances ndist[0][nb_subvect-1] which are used to make the decicion, which codebook entries are to be used in libspeex/cb_search.c (function split_cb_search_shape_sign). For that I took a couple of audio books (all german speech), downsampled the tracks to 8kHz and encoded them with "speexenc -n --bitrate 1...
2009 Mar 05
0
predict.fda - NAs are not allowed in subscripted assignments
...0 1780 1730 1690 1660 1630 ... $ VA_D121: num 230 240 250 240 230 210 210 220 230 250 ... $ CAT : num 1 2 3 4 5 6 7 8 9 10 ... $ PRES : num NA NA NA NA NA NA NA NA NA NA ... I'm using: bruto.fitted <- predict(bruto.fda, new.data) but obtained the following message: Error in mindist[l] <- ndist[l] : NAs are not allowed in subscripted assignments What does it means? I can I solve the problem? P.S The same error is returned when I do: bruto.fitted <- predict(bruto.fda,train.data) Any help is appreciated...thanks in advance! Monica
2020 Jun 18
1
[PATCH] fix warnings with GCC 10
...3); @@ -873,6 +885,7 @@ int flush; Tracev((stderr, "inflate: code lengths ok\n")); state->have = 0; state->mode = CODELENS; + /* fallthrough */ case CODELENS: while (state->have < state->nlen + state->ndist) { for (;;) { @@ -947,6 +960,7 @@ int flush; } Tracev((stderr, "inflate: codes ok\n")); state->mode = LEN; + /* fallthrough */ case LEN: if (have >= 6 && left >= 258) {...
2012 Nov 22
1
prediction problem
...A total of 23 predictors were considered. 20 of the predictors are "numeric" and 3 are "discrete/categorical". The resulting FDA rule was applied to the matrix and for the same predictors in order to predict the color. However a consistent error is occuring: ****Error in mindist[l] <- ndist[l] : ******NAs are not allowed in subscripted assignments It is possible the problem being related with the 2 predictors that are discrete/categorical variables? There is already available some rotine to perform a discriminant analysis considering continuous and discrete/categ...
2012 Feb 02
9
Modelo senoidal de datos temporales de radiación y prueba de Thom
Hola a todos: Estoy intentado realizar un modelo senoidal de unos datos de radiación solar con el fin de afrontar el relleno de la serie y aplicar la prueba de Thom para verificar su homogeneidad [0]. De momento me encuentro con los siguientes problemas: 1- ¿Existe la prueba de Thom en R? ¿O debo crearme mi propia función? 2- Para la realización del modelo senoidal estoy siguiendo los pasos
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address