search for: testinput

Displaying 6 results from an estimated 6 matches for "testinput".

2008 Jul 23
2
Can't Load Text Files
...o text. I don't know if it's relevant, but I use a mac. These are the error messages I get: > source("/Users/jiayingmei/Desktop/R/Testdate.txt") Error in eval.with.vis(expr, envir, enclos) : object "Date" not found Error in source("/Users/jiayingmei/Desktop/R/Testinput.txt") : /Users/jiayingmei/Desktop/R/Testinput.txt: unexpected symbol at 1: Date France I'm sure its something simple that is causing this, but I've been away from R very long, and I've been trying to pick it up today, sorry if this is a stupid post. I even tried to shift th...
2008 Jul 24
2
Can R fill in missing values?
...are filled with NAs (which is what the all.x=TRUE does). Is there any way to replace those NAs with the value of the latest row that contains a value? For example: > Date<-read.table("Desktop/R/Testdate.txt", head=T, sep="\t") > Data<-read.table("Desktop/R/Testinput.txt", head=T, sep="\t") > Merged<-merge(Date, Data, all.x=TRUE) > Merged Date France Germany 1 3/10/07 2 4 2 3/11/07 NA NA 3 3/12/07 NA NA 4 3/13/07 NA NA 5 3/14/07 NA NA 6 3/15/07 1 2 Given this Merged data,...
2009 Jul 23
1
Activation Functions in Package Neural
...rainInput <- matrix(rnorm(10)) trainAnswers <- ifelse(trainInput <0, -1, 1) trainNeurons <- 1 trainingData <- mlptrain(inp=trainInput, neurons=trainNeurons, out=trainAnswers, it=1000) ## To call this network, we can see how it works on a set of known positive and negative values testInput <- matrix(-2:2) mlp(testInput, trainingData$weight, trainingData$dist, trainingData$neurons, trainingData$actfns) Will vary - but output on my computer was: [,1] [1,] 0.001043291 [2,] 0.001045842 [3,] 0.072451270 [4,] 0.950744548 [5,] 0.950931168 So it's instead classifying the...
2007 Nov 15
1
read complicated file
Dear R experts, I have been given data files in the following configuration and have been puzzling about how to read them in. First I will give a snippet of the beginning of file: Data File: W Para File: GABOR_0.gor v 10.6, Date : 29/10/2007 Time : 13:33 3.00 5.000 Noise SD (deg): 15.000 1 -5.321 -5.321 2 -5.321 -3.991 3 -5.321 -2.661 4 -5.321 -1.330 5 -5.321 0.000 6 -5.321 1.330 7
2012 Jul 09
4
Skipping lines and incomplete rows
I have a text file that has semi-colon separated values. The table is nearly 10,000 by 585. The files looks as follows: ******************************************* First line: Skip this line Second line: skip this line Third line: skip this line variable1 Variable2 Variable3 Variable4 Unit1 Unit2 Unit3 10 0.1 0.01 0.001 20
2011 Jan 07
0
Wine release 1.3.11
...tbl pointer in cf. wbemprox: Use an iface instead of a vtbl pointer in wbemprox_cf. msxml3: Use an iface instead of a vtbl pointer in parse_error_t. explorerframe/tests: COM cleanup for INameSpaceTreeControlEventsImpl. xmllite/tests: Use an iface instead of a vtbl pointer in testinput. wmiutils: Use an iface instead of a vtbl pointer in wmiutils_cf. hnetcfg: Use an iface instead of a vtbl pointer in hnetcfg_cf. sti: Use an iface instead of a vtbl pointer in sti_cf. oleaut32/tests: COM cleanup for usrmarshal.c. mshtml: COM cleanup for the IHTMLElemen...