def to_s
      outp = ['LDA Settings:']
      outp << '    Initial alpha: %0.6f'.format(init_alpha)
      outp << '      # of topics: %d'.format(num_topics)
      outp << '   Max iterations: %d'.format(max_iter)
      outp << '      Convergence: %0.6f'.format(convergence)
      outp << 'EM max iterations: %d'.format(em_max_iter)
      outp << '   EM convergence: %0.6f'.format(em_convergence)
      outp << '   Estimate alpha: %d'.format(est_alpha)

      outp.join("\n")
    end
def to_s
      outp = ['LDA Settings:']
      outp << '    Initial alpha: %0.6f'.format(init_alpha)
      outp << '      # of topics: %d'.format(num_topics)
      outp << '   Max iterations: %d'.format(max_iter)
      outp << '      Convergence: %0.6f'.format(convergence)
      outp << 'EM max iterations: %d'.format(em_max_iter)
      outp << '   EM convergence: %0.6f'.format(em_convergence)
      outp << '   Estimate alpha: %d'.format(est_alpha)

      outp.join("\n")
    end
String representation displaying current settings.