module Savanna::Outliers::Operations

Public Instance Methods

get_max_outlier() click to toggle source
# File lib/savanna-outliers/operations.rb, line 4
def get_max_outlier
  indexed_array.max[0] if max_outlier?
end
get_max_outlier_index() click to toggle source
# File lib/savanna-outliers/operations.rb, line 12
def get_max_outlier_index
  indexed_array.max[1] if max_outlier?
end
get_min_outlier() click to toggle source
# File lib/savanna-outliers/operations.rb, line 8
def get_min_outlier
  indexed_array.min[0] if min_outlier?
end
get_min_outlier_index() click to toggle source
# File lib/savanna-outliers/operations.rb, line 16
def get_min_outlier_index
  indexed_array.min[1] if min_outlier?
end