all by-col except M in F_Neighbors.R
authorBenjamin Auder <benjamin.auder@somewhere>
Thu, 16 Mar 2017 14:17:42 +0000 (15:17 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Thu, 16 Mar 2017 14:17:42 +0000 (15:17 +0100)
pkg/R/F_Neighbors.R

index a3d44a3..5b1f826 100644 (file)
@@ -108,7 +108,7 @@ NeighborsForecaster = R6::R6Class("NeighborsForecaster",
                                sd_dist = sd(distances2)
                                if (sd_dist < .Machine$double.eps)
                                {
-                                       warning("All computed distances are very close: stdev too small")
+#                                      warning("All computed distances are very close: stdev too small")
                                        sd_dist = 1 #mostly for tests... FIXME:
                                }
                                simils_endo =
@@ -146,7 +146,7 @@ NeighborsForecaster = R6::R6Class("NeighborsForecaster",
                                sd_dist = sd(distances2)
                                if (sd_dist < .Machine$double.eps)
                                {
-                                       warning("All computed distances are very close: stdev too small")
+#                                      warning("All computed distances are very close: stdev too small")
                                        sd_dist = 1 #mostly for tests... FIXME:
                                }
                                simils_exo =