Ryan Curtin
e434965a7d
Add cheap utility CSV saving method for allnn
2010-05-24 21:50:38 +00:00
Ryan Curtin
b1ff13d12a
Update documentation so that it actually works, and make sure we tell the user that they can actually give a dataset as a parameter
2010-05-24 21:17:55 +00:00
Ryan Curtin
537c979fe3
Oops, fix -h and -help
2010-05-24 21:06:34 +00:00
Ryan Curtin
49a5b23715
More accurate documentation that meshes better with help screens
2010-05-24 20:57:46 +00:00
Bill March
aed59f9ed0
added lower bounds to perm-free, stopped recomputing invalid indices
2010-05-24 20:55:22 +00:00
Ryan Curtin
dc9ad359a1
Modify fx output format a little bit so it's a bit easier to understand. Code is ugly but it works... I can't wait to rip this entire system out and replace it with something sensible
2010-05-24 19:49:01 +00:00
Ryan Curtin
9c7407bf34
Make parameter description give --submod/param instead of --param to eliminate confusion
2010-05-21 20:02:19 +00:00
Ryan Curtin
12d0a5ff65
Did not mean to commit this minor change; it turned out to be unnecessary
2010-05-20 16:26:50 +00:00
Ryan Curtin
1b0b1187c3
When a user enters no parameters or -h, fake it so FX thinks the user is asking for help.
...
The mere fact that I needed to do THIS to make it work... I have no words.
2010-05-20 16:23:48 +00:00
Ryan Curtin
55237a2f79
Link against mlpack and Trilinos
2010-05-17 22:46:29 +00:00
James Cline
ccd36d7c6d
Sped up slightly. "Safer" code.
2010-05-17 19:21:41 +00:00
James Cline
ff4692e96d
Switched MinHeap to use std::vector.
...
It is now basically a wrapper for std::push_heap, std::pop_heap.
The speed tests I did indicated similar performance to the previous version, though more testing could be done on a machine with more RAM.
2010-05-17 15:03:00 +00:00
Dongryeol Lee
f640752d28
Attempt to compile boost unit test.
2010-05-15 15:36:54 +00:00
Ryan Curtin
b51f48ee53
Unfortunately, CMake won't work at all if it's being told to configure directories that no longer exist, so I commented out the directories removed in r5575 so it won't freak out anymore.
...
Maybe there is a configuration option where it will ignore directories that don't exist?
2010-05-14 22:15:57 +00:00
Dongryeol Lee
ee59960be8
Restarting KDE.
2010-05-14 22:09:18 +00:00
Ryan Curtin
ae7c0f1f37
I'm pretty sure the user is aware of what they typed. Don't echo it when they type --help.
2010-05-14 19:25:34 +00:00
Ryan Curtin
944fedb1fe
Fix calls to TKdTree assembly methods; replace ArrayLists with arma::vec for what are essentially fixed-size arrays (ArrayLists were unnecessary for the application)
2010-05-14 16:26:35 +00:00
Ryan Curtin
799ca87ffa
Update TKdTree methods to use armadillo vector and matrix instead of GenVector and GenMatrix. I also removed unnecessary uses of ArrayList, replacing with arma::vec where possible.
2010-05-14 16:25:40 +00:00
James Cline
8e055a50f1
Converted rangeset.h to use std::vector. Needs testing, still.
2010-05-13 15:14:39 +00:00
James Cline
108a506d1f
Create fastlib-vector branch for swapping ArrayList -> std::vector.
2010-05-13 14:00:47 +00:00
Ryan Curtin
0b30babbc2
Modify MLPACK methods to work with DHrectBound API change
2010-05-12 19:59:28 +00:00
Ryan Curtin
b6e426a922
Modify thor methods to work with change of DHrectBound
2010-05-12 19:59:11 +00:00
Ryan Curtin
392b533cd8
Rewrite DHrectBound to use arma::vec internally and in its interfaces. The kdtree methods needed some modification and one needed to be moved into an implementation file (since it was not templated).
2010-05-12 19:58:51 +00:00
ssharfraz3
6896f02af6
Undoing serialization for matrix as of now
2010-05-12 15:27:40 +00:00
ssharfraz3
fb5d4e140b
Serialization to fastlib/src
2010-05-12 15:23:10 +00:00
Ryan Curtin
c87b2ef2aa
Fix calls to LMetric<>::Distance() to use arma::vec with arma_compat layer
2010-05-11 19:11:13 +00:00
Ryan Curtin
9142af1a26
Rewrite LMetric<> to not use GenVector by default, then modify a couple other files so that all works.
...
Partial template specialization was required for MidDistance() in DBallBound when working with TMetric = LMetric<2> and TPoint = GenVector.
DBallBound was also changed to use TPoint = arma::vec by default.
2010-05-11 19:10:42 +00:00
Ryan Curtin
77185c8eb1
Change name of variable so -D TRILINOS_LIB_DIR=... can be used
2010-05-11 18:55:31 +00:00
tqlong
4ee7531942
noob test CMAKE
2010-05-09 03:35:28 +00:00
Bill March
e5218d5e14
fixed bug in UpdateIndices_, was using wrong index
2010-05-07 17:29:09 +00:00
Bill March
e448a0b180
Permutation free version works for just upper bounds as long as I recompute all the distances after each split. Need to work on UpdateIndices_() to figure out why keeping them doesn't work. Add lower bounds after that.
2010-05-06 20:55:54 +00:00
Ryan Curtin
e7f06052cf
Change TAU to a preprocessor constant to fix odd linker error on Mac (or at least attempt to)
2010-05-06 17:09:50 +00:00
Ryan Curtin
3bdf634853
Add GenVector to arma::vec compatibility functions to arma_compat::
2010-05-06 01:29:19 +00:00
Ryan Curtin
7fa1737142
Stop using GenVector in data (quick and simple replacement)
2010-05-06 01:05:32 +00:00
Ryan Curtin
313ba6ba2c
Split up bound classes into separate files for each class, and then separate files for interface and implementation.
2010-05-05 20:33:53 +00:00
Ryan Curtin
7afd03a0dc
Update mlpack methods for tree API changes
2010-05-04 22:50:47 +00:00
Ryan Curtin
98ca8c0ae3
Rewrite tree to use armadillo.
2010-05-04 22:50:26 +00:00
Ryan Curtin
16b6973482
Don't use deprecated values.h; prefer limits.h and float.h instead.
2010-05-04 19:00:34 +00:00
Ryan Curtin
7ae10b6859
Ensure each built library links against BLAS ( #28 ). Apparently this was fine on Linux systems but failed on Macs; hopefully this will solve the issue.
2010-05-03 19:59:06 +00:00
Bill March
e86d43b250
updated cmake list
2010-05-03 19:48:06 +00:00
Bill March
21967af0bc
wrote permutation free version
2010-05-03 18:51:26 +00:00
Ryan Curtin
f3b24dde68
Add useful compat function which emulates Matrix::MakeColumnVector() functionality (albeit slowly)
2010-04-30 15:52:13 +00:00
Ryan Curtin
b7d7b03616
Update all MLPACK methods to use arma_compat layer so that they can use the new Dataset interface. Eventually all this arma_compat stuff should be removed, but for now it is fine.
2010-04-29 06:44:29 +00:00
Ryan Curtin
370f363422
Use arma_compat layer to allow Thor to interface with changed Dataset API
2010-04-29 06:43:45 +00:00
Ryan Curtin
23eb4594cb
Separate dataset classes into separate files, and then adapt them to use arma::mat internally (as well as on their external interfaces). Update CMake to include our new files in compilation.
2010-04-29 06:43:13 +00:00
Ryan Curtin
fa17828fde
Add header inclusion guards (how did I forget these?), clean up formatting of base.h
2010-04-28 15:01:43 +00:00
Ryan Curtin
81c4c7dee0
Add compatibility layer to convert between Matrix and arma::mat (this is NOT fast! but it's only here for compatibility)
2010-04-28 14:45:00 +00:00
Ryan Curtin
b7e7052f4e
Allow TextFile to return its own filename
2010-04-28 14:43:59 +00:00
Ryan Curtin
5b2be37ec8
Fix syntactical errors in CMake files
2010-04-28 14:41:54 +00:00
ssharfraz3
31096fa32a
Added Boost serialization for series_expansion
2010-04-28 14:07:19 +00:00