Sha256: 3e35994839e768e2266b3b2c5875235c05652ed709183c5bac4fcd2206b55daa
Contents?: true
Size: 426 Bytes
Versions: 31
Compression:
Stored size: 426 Bytes
Contents
module Tomoto class HDP def self.new(tw: :one, min_cf: 0, min_df: 0, rm_top: 0, initial_k: 2, alpha: 0.1, eta: 0.01, gamma: 0.1, seed: nil) model = _new(to_tw(tw), initial_k, alpha, eta, gamma, 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) init_params(model, binding) end end end
Version data entries
31 entries across 31 versions & 1 rubygems