search for: my_labels

Displaying 2 results from an estimated 2 matches for "my_labels".

Did you mean: y_labels
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 ## classif...
2010 May 22
1
How to find all single minima, i.e. only each one within each next part of analyzed vector (table)
Dear R users, How to find all single minima within each next part of analyzed vector (table) Select all minima (mass_value=min & mass_value<2) (many) in vector(table), BUT first put mask on table in order to select within one window mask (5 elements) only one local minimum, and next to search within the next time window mask the second minimum (only one local along second mask)