search for: testsampl

Displaying 5 results from an estimated 5 matches for "testsampl".

Did you mean: testsamp
2009 Sep 18
1
lapply - value changes as parameters to function?
Hi, I'm trying to get better at things like lapply but it still stumps me. I have a function I've written, tested and debugged using individual calls to the function, ala: ResultList5 = DoAvgCalcs(IndexData, Lookback=5, SampleSize=TestSamples , Iterations=TestIterations ) ResultList8 = DoAvgCalcs(IndexData, Lookback=8, SampleSize=TestSamples , Iterations=TestIterations ) ResultList13 = DoAvgCalcs(IndexData, Lookback=13, SampleSize=TestSamples , Iterations=TestIterations ) ResultList21 = DoAvgCalcs(IndexData, Lookback=21, SampleSize=T...
2009 Jul 10
2
predict.glm -> which class does it predict?
...e logistic regression model in R model <- glm(T ~ ., data=d.f(Y), family=binomial) (Y is the dataset of the Proteins). This works fine. T is a factored vector with levels cancer, noncancer. Proteins are numeric. Now, I want to use predict.glm to predict a new data. predict(model, newdata=testsamples, type="response") (testsamples is a small set of new samples). The result is a vector of the probabilites for each sample in testsamples. But probabilty WHAT for? To belong to the first level in T? To belong to second level in T? Is this fallowing expression factor(predict(model...
2005 Jun 02
3
trouble getting speex_echo_cancel() to work
...> > Also, if you're using two different soundcards (as I understand) for the > playback and the capture, you're *never* going to get echo canceller to > work because the playback and capture need to be *exactly* in sync. I did a bit more testing, and ended up creating a set of testsamples, as follows: ideal.pcm => me saying "This is what I'd like to hear" junk.pcm => me saying "With a bit of luck, this is gone" mixdown.pcm => ideal.pcm, with junk.pcm started 7 ms later and 3 dB lower. (All of this as 8000 Hz, 16-bit signed) I then copied junk.p...
2005 Jun 02
0
trouble getting speex_echo_cancel() to work
> I did a bit more testing, and ended up creating a set of testsamples, as > follows: > > ideal.pcm => me saying "This is what I'd like to hear" > junk.pcm => me saying "With a bit of luck, this is gone" > mixdown.pcm => ideal.pcm, with junk.pcm started 7 ms later and 3 dB lower. The problem with that is that it'...
2005 May 31
2
trouble getting speex_echo_cancel() to work
I'm trying to convert my current headphones and microphone chat application to support loudspeakers and microphone, and so I thought I'd give speex_echo_cancel() a try. Since my users quite frequently have other sound-producing applications running on their computer (such as winamp), I sample 'wave' recording device of the soundcard in addition to the microphone. I then call