Displaying 2 results from an estimated 2 matches for "my_label".
Did you mean:
mr_label
2011 Feb 23
0
Problem with Mclust
...1,2,4)
sample_percentage <- 0.9
my_data <- read.csv("http://dl.dropbox.com/u/5685598/dataedges.csv",
header=FALSE)
my_data <- as.matrix(my_data)
set.seed(1234)
ms <- sample(seq(sample_percentage*dim(my_data)[1]))
train_set <- my_data[ms, sel_col]
my_labels <- my_data[ms,-sel_col]
train <- mclustDAtrain(train_set, labels = my_labels)
## training step
summary(train)
print("OK training")
test_set <- my_data[-ms, sel_col]
test <- mclustDAtest(test_set, train) ## compute model densities
clTest <- summary(test)$class ## classi...
2010 May 22
1
How to find all single minima, i.e. only each one within each next part of analyzed vector (table)
.... . . . .
#correct answer would be vector :
# "lab2","lab13"
#expected answer =
local_min_positions = (2 ,13 )
local_min_values = (0 ,1 )
local_min_labels = ("lab2","lab13")
How to find labels from my_label:
for all localizations of different minima in mass,
but within time window there can be only one minimum,
i.e. in dt=5 second wide time window there can be only one minimum
Yours sincerely,
Eugen
[[alternative HTML version deleted]]