save intermediate
[epclust.git] / epclust / tests / testthat / test.Filter.R
diff --git a/epclust/tests/testthat/test.Filter.R b/epclust/tests/testthat/test.Filter.R
new file mode 100644 (file)
index 0000000..d94a5ac
--- /dev/null
@@ -0,0 +1,8 @@
+TODO: test computeMedoids + filter
+#              #R-equivalent, requiring a matrix (thus potentially breaking "fit-in-memory" hope)
+#              mat_meds = medoids[,]
+#              mi = rep(NA,nb_series)
+#              for (i in 1:nb_series)
+#                      mi[i] <- which.min( rowSums( sweep(mat_meds, 2, ref_series[i,], '-')^2 ) )
+#              rm(mat_meds); gc()
+