sgd icon indicating copy to clipboard operation
sgd copied to clipboard

Plot diagnostics

Open dustinvtran opened this issue 9 years ago • 5 comments

These must allow one to specify multiple sgd objects to plot.

  • [x] MSE
  • [x] Classification error
  • [ ] Evaluation of cost function

available x-axis for each of the above plots:

  • [x] Runtime
  • [x] log-Iteration

dustinvtran avatar May 01 '15 16:05 dustinvtran

http://arxiv.org/abs/1505.02417 some examples of plot diagnostics we'd like (and also experiments to run)

dustinvtran avatar May 15 '15 17:05 dustinvtran

Store 100 uniformly separated parameter estimates as default, in log space

dustinvtran avatar May 15 '15 17:05 dustinvtran

For some idea of what the visuals look like, I quite like the stuff in http://arxiv.org/abs/1206.1106 for example (not particularly, just an arbitrary paper I chose). i.e. high resolution fonts, embedded LaTeX in the legend, etc.

dustinvtran avatar May 15 '15 17:05 dustinvtran

picture of current progress screen shot 2015-05-31 at 11 18 23 am bugs/things to continue working on:

  • sgd gives nonsensical prediction results (could be a result of bad learning rate)
  • adagrad takes a disproportionately long time; not sure if this is just because it's O(d)
  • sgd and adagrad give nonsensical cost function evaluations

dustinvtran avatar May 31 '15 15:05 dustinvtran

Progress: screen shot 2015-05-31 at 5 03 19 pm

  1. was definitely just a problem of setting the hyperparameter alpha in the Xu's learning rate. This also still needs to be tweaked for implicit and ai-SGD
  2. adagrad's bug, if it exists, lies in the C++ code. The time it takes is definitely proportional to the number of features. Covertype has 54 features, MNIST has 784, and Covertype is much faster as seen above
  3. I still need to find the bug in this one

dustinvtran avatar May 31 '15 21:05 dustinvtran