lib/rumale/decomposition/nmf.rb in rumale-0.18.0 vs lib/rumale/decomposition/nmf.rb in rumale-0.18.1

- old
+ new

@@ -87,26 +87,9 @@ def inverse_transform(z) z = check_convert_sample_array(z) z.dot(@components) end - # Dump marshal data. - # @return [Hash] The marshal data. - def marshal_dump - { params: @params, - components: @components, - rng: @rng } - end - - # Load marshal data. - # @return [nil] - def marshal_load(obj) - @params = obj[:params] - @components = obj[:components] - @rng = obj[:rng] - nil - end - private def partial_fit(x, update_comps = true) # initialize some variables. n_samples, n_features = x.shape