lib/rumale/clustering/hdbscan.rb in rumale-0.18.1 vs lib/rumale/clustering/hdbscan.rb in rumale-0.18.2

- old
+ new

@@ -69,24 +69,9 @@ raise ArgumentError, 'Expect the input distance matrix to be square.' if @params[:metric] == 'precomputed' && x.shape[0] != x.shape[1] distance_mat = @params[:metric] == 'precomputed' ? x : Rumale::PairwiseMetric.euclidean_distance(x) @labels = partial_fit(distance_mat) end - # Dump marshal data. - # @return [Hash] The marshal data. - def marshal_dump - { params: @params, - labels: @labels } - end - - # Load marshal data. - # @return [nil] - def marshal_load(obj) - @params = obj[:params] - @labels = obj[:labels] - nil - end - private # @!visibility private class UnionFind def initialize(n)