From: Benjamin Auder Date: Thu, 16 Mar 2017 14:17:42 +0000 (+0100) Subject: all by-col except M in F_Neighbors.R X-Git-Url: https://git.auder.net/doc/html/css/current/scripts/pieces/%7B%7B?a=commitdiff_plain;h=fa5b7bfc79eeffcb6e1f7b254c2d6786ba5cdbe7;p=talweg.git all by-col except M in F_Neighbors.R --- diff --git a/pkg/R/F_Neighbors.R b/pkg/R/F_Neighbors.R index a3d44a3..5b1f826 100644 --- a/pkg/R/F_Neighbors.R +++ b/pkg/R/F_Neighbors.R @@ -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 =