Sha256: 87881c261c925e7c97d3082e24ca67e793bc3366fcbb830765c1b4d9412660a5
Contents?: true
Size: 428 Bytes
Versions: 33
Compression:
Stored size: 428 Bytes
Contents
require_relative 'safe/kmeans' module Enumerable def outliers(sensitivity = 0.5, k = nil) EverydayCliUtils::Kmeans.outliers(self, sensitivity, k) end def nmeans(max_k = 10, threshold = 0.05) EverydayCliUtils::Kmeans.nmeans(self, max_k, threshold) end def kmeans(k) EverydayCliUtils::Kmeans.kmeans(self, k) end def get_clusters(means) EverydayCliUtils::Kmeans.get_clusters(self, means) end end
Version data entries
33 entries across 33 versions & 1 rubygems