Commit Graph
79 Commits
Author SHA1 Message Date
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 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 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
ssharfraz3 46a2ce96ea Added Boost serialization for ArrayList 2010-04-28 13:48:35 +00:00
ssharfraz3 fe8d6a0ad3 Added Boost program options for command line for naive_bayes 2010-04-28 13:47:57 +00:00
ssharfraz3 4c87975cec Added Boost program options for command line for allknn 2010-04-28 13:47:19 +00:00
ssharfraz3 ba52867d00 Added Boost program options for command line for allknn 2010-04-28 13:47:00 +00:00
ssharfraz3 a2c5042b50 Added Boost program options for command line for allkfn 2010-04-28 13:46:41 +00:00
ssharfraz3 965e87bee0 Added Boost program options for command line 2010-04-28 13:45:54 +00:00
Ryan Curtin 0a87fd57f1 Fix #27: incorrect use of LI macro (same as #26 but this fixes it in the fastlib-cmake branch) 2010-04-27 03:28:14 +00:00
Ryan Curtin 9349cc501a Create fastlib-armadillo branch, where we will attempt to try to replace GenMatrix with armadillo's implementation. 2010-04-25 16:17:53 +00:00
Ryan Curtin c560a547f5 Use boost::serialization and boost::program_options and link against both (to be integrated into trunk) 2010-04-21 14:40:28 +00:00
Ryan Curtin 41c8157a4a Make sure executables are installed correctly (may still need polishing) 2010-04-14 14:54:54 +00:00
Ryan Curtin fe06dc2bbb Set up cmake for physpack (do not build by default) 2010-04-14 13:49:11 +00:00
Ryan Curtin ca309ce7d0 Oops, still have to set up physpack with cmake (should be very simple) 2010-04-14 13:39:39 +00:00
Ryan Curtin 046e717c0b Set up cmake infrastructure for contrib, and by default compile those which already compile without me having to fight with it too much 2010-04-14 13:38:54 +00:00
Ryan Curtin 34ca847760 Fix differences in function signatures (.cc implementations were using const char *) 2010-04-14 13:31:27 +00:00
Ryan Curtin 85cd6252eb Huh? 2010-04-14 13:30:50 +00:00
Ryan Curtin 903df895e6 end(), not last(), and fix some fx syntax which has changed 2010-04-14 13:30:26 +00:00
Ryan Curtin 0196952d7a cmake build information for thor 2010-04-14 13:29:35 +00:00
Ryan Curtin 00b12650a9 Include thor in build (it was not there) and move mmanager over, to be tackled later.
CMake will now find and link against pthreads (required for thor).
2010-04-13 22:27:57 +00:00
Ryan Curtin f59c762c8a Remove some unneeded comments. Test for doxygen-update on churchlady 2010-04-13 18:40:40 +00:00
Ryan Curtin dae464671d Add emst to cmake build. 2010-04-13 17:50:26 +00:00
Ryan Curtin ded9354aaf What? Somehow missed copying over emst in MLPACK. Commented out cmake MLPACK program install guidelines, they need to be redone. 2010-04-13 17:46:04 +00:00
Ryan Curtin 5ec6ce29ac Require 2.8 2010-04-12 16:53:16 +00:00
Ryan Curtin 7e06699b01 Copy over contrib directory so that I can start adapting build.py to cmake 2010-04-12 16:48:48 +00:00
Ryan Curtin 0819d96bb1 Install header files correctly into include/fastlib and include/mlpack. 2010-04-07 16:50:23 +00:00
Ryan Curtin 23fe359c7c Move header files to correct directory in build (include/mlpack/) 2010-04-06 21:34:55 +00:00