Displaying 3 results from an estimated 3 matches for "tempd".
Did you mean:
temp
2011 Mar 02
1
a question on sqldf's handling of missing value and factor
Dear subscribers:
I am using the following code to read a large number of big text files:
library(sqldf)
tempd <- file(XXXX)
tempdx <- sqldf("select * from tempd", dbname = tempfile(), file.format =
list(header = T, sep="\t", row.names = F))
The problem is: all my numberical variable become factor (maybe because
these columns all contain missing value). It would be quite cubersome...
2010 Jan 28
1
Trouble in decoding speex on PC
...of encoded data from file and processed as shown below.. But it gives error like - Invalid mode and stream got corrupted...What could be the reason? Also how do I calculate the number of speex bytes to be decoded at a given time.. Any help will be appreciated..
while (!feof(fin))
?? {
??? ? fread(tempd, 1, 26, fin);
????? if (feof(fin))
???????? break;
????? speex_bits_reset(&bits);
??? ?speex_bits_read_from(&bits, tempd, 26);??? ?
????? speex_bits_rewind(&bits);
????? speex_decode_int(dec, &bits, out_short);
fwrite(&out_short[skip_group_delay], sizeof(short), FRAME_SIZE-...
2012 May 30
1
caret() train based on cross validation - split dataset to keep sites together?
...OR MODEL FITTING
fitControl <- trainControl(method = "repeatedcv", number=10, repeats=3)
tuning <- read.table("temptunegrid.txt",head=T,sep=",")
tuning
# # Model with 100 iterations
registerDoMC(4)
tempmod100its <- train(watmntemp~tempa + tempb + tempc + tempd + tempe +
netarea + netbuffor + strmslope +
netsoilprm + netslope + gwndx + mnaspect + urb + ag + forest +
buffor + tempa7day + tempb7day +
tempc7day + tempd7day + tempe7day + tempa30day + tempb30day +
tempc30day + tempd30day +
tempe30day, data = temp.train, method = "nnet", linout=...