[Work Log] Full-tree covariance; Run on WACV dataset

September 16, 2013
Project Tulips
Subproject Data Association v3
Working path projects/​tulips/​trunk/​src/​matlab/​data_association_3
SVN Revision 15229
Unless otherwise noted, all filesystem paths are relative to the "Working path" named above.

Finished testing construct_attachment_covariance.m against legacy method for constructing covariance matrix. Constructed new test wacv_2014/run_wacv_2.m to compare new method against old method in wacv_2014/run_wacv.m. After significant amount of debugging, results match.

Tweak to Corr.prior_K: don't replicate until needed. New function tools/one_d_to_trhee_d helps with this.

Now, to test new covariance matrix algorithm against the existing branching ML code to confirm that the latter is correct...


Wrote curve_tree_ml_ref

Having trouble running on wacv dataset. The covariance matrix constructed by construct_attachment_covariance has several negative eigenvalues (magnitude on the order of 1000). These don't appear when attachments don't exist.

Old method of constructing the covariance matrix has several negative eigenvalues, but they're on the order of 1e-9. (were'nt they identical?)

Lets go back to the WACV example and run everything on those...

The big question to answer is: is WACV ML better with attachments or worse?


On second look, the test and reference prior matricies don't match. Going back to debugging construct_attachment_covaraince.m


found bug in bugfix in attach.m. results now match


Now covariancaes from wacv and curve_tree_ml_ref don't match. Furthermore, curve_tree_ml_ref crashes because the matrix isn't positive definite.


Found issue: wacv program forced model_type to be 1 (no-perturb model). This accounts for the difference between wacv reconstruction and the reference ML code.

Still don't know why we're getting negative eigenvalues when model_type != 1.

Medium-term planning

Q: What is needed to get end-to-end running?

TODO

Posted by Kyle Simek
blog comments powered by Disqus