angeloskath / supervised-lda

A flexible variational inference LDA library.
MIT License
22 stars 5 forks source link

Create namespaces for the code #2

Closed angeloskath closed 8 years ago

angeloskath commented 8 years ago

Most code is in the global namespace and there exist no inner namespaces to organize the different parts of the code.

angeloskath commented 8 years ago

I am thinking the ldaplusplus for the top-level namespace and then:

  1. optimization to hold GradientDescent and the various functions
  2. corpus to hold the corpus and document classes and interfaces
  3. em to hold the various Expectation and Maximization steps
  4. events to hold the various events

all the rest like LDA, LDABuilder and utils should reside in the top-level namespace. Also I am thinking we should mirror the namespaces in folder names.

What do you think @paschalidoud ?