lib/tomoto/ct.rb in tomoto-0.1.1 vs lib/tomoto/ct.rb in tomoto-0.1.2

- old
+ new

@@ -3,10 +3,10 @@ def self.new(tw: :one, min_cf: 0, min_df: 0, rm_top: 0, k: 1, alpha: 0.1, eta: 0.01, seed: nil) model = _new(to_tw(tw), k, alpha, eta, seed || -1) model.instance_variable_set(:@min_cf, min_cf) model.instance_variable_set(:@min_df, min_df) model.instance_variable_set(:@rm_top, rm_top) - model + init_params(model, binding) end def correlations(topic_id = nil) prepare if topic_id