Commit Graph
1419 Commits
Author SHA1 Message Date
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
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 93a2e1d6ad Fix for #26; forgot the type specifier after LI (since the LI macro now requires a type after it, so it works for all types)
#15 (standardized output system using cout) will solve all these silly printf problems.
2010-04-25 18:13:51 +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 949d8116bb posix_fadvise is not defined on all systems 2010-04-24 23:12:51 +00:00
Ryan Curtin 8604c265a4 Do not build mlpack_contrib or any of its pieces by default 2010-04-24 22:33:32 +00:00
Bill March 630d88a0d5 working on multi-bandwidth version 2010-04-21 19:20:03 +00:00
Ryan Curtin 0e9913e5c7 uint -> unsigned int (same thing but 'uint' does not exist on all platforms apparently) 2010-04-21 17:14:00 +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 8dfec9dffe Allow selection of SCALE_MASSIVE, SCALE_LARGE, or SCALE_NORMAL in CMake configuration (default to SCALE_NORMAL if not otherwise specified, and check to make sure multiple options are not selected) 2010-04-20 16:55:40 +00:00
Ryan Curtin 8a9f77b3d8 Missed these macros 2010-04-20 16:54:56 +00:00
Ryan Curtin 503651e4af #22: replace lots of preprocessor macros with what they actually are where possible.
COMPILER_NO_RETURN -> __attribute__((noreturn))
COMPILER_NO_INLINE -> __attribute__((noinline))
COMPILER_PRINTF -> __attribute__((format(printf, X, Y)))
COMPILER_FUNCTIONAL -> __attribute__((const))
COMPILER_DEPRECATED -> __attribute__((deprecated))
COMPILER_DEPRECATED_MSG -> __attribute__((deprecated))
STATIC_CAST(...) -> static_cast<...>(...)
REINTERPRET_CAST(...) -> reinterpret_cast<...>(...)
2010-04-20 14:58:34 +00:00
Ryan Curtin 2205622dab Incorrect #include line, should use relative paths for fastlib stuff 2010-04-20 14:44:50 +00:00
Ryan Curtin 2f47bc7a6b mmapmm support by default in fastlib means a lot of these methods now compile right 2010-04-15 13:56:12 +00:00
Ryan Curtin 5ead8b1016 Don't use local trilinos headers, use system ones (it's CMake's job to figure out where these are) 2010-04-15 13:55:50 +00:00
Ryan Curtin ab824e4b79 Need to figure out why those two lines have been causing issues 2010-04-14 22:50:19 +00:00
Ryan Curtin 4daef98a6d Add kernel_pca (which required sparse) to default build, modify a few things (ticket #13 is related) so it compiles fine 2010-04-14 22:49:39 +00:00
Ryan Curtin 20ac49f85f Move code that finds trilinos out from sparse CMakeLists 2010-04-14 22:48:32 +00:00
Ryan Curtin d5e7bde7c7 Add mmapmm to fastlib build. A few code changes were necessary stemming from some earlier base/basic_types.h changes. 2010-04-14 21:45:45 +00:00
Ryan Curtin d74c46dc99 Fix nnsvm so it builds correctly (fx_ calls were out of date) and add to CMake build 2010-04-14 21:29:10 +00:00
Ryan Curtin 2bd68567bc Revert 'src' to 'fastlib' so I don't break everything fl-build does. 2010-04-14 15:44:30 +00:00
Ryan Curtin f554a5639a Huge merge of fastlib-cmake into trunk, done all wrong (svn merge failed... surprise?). All the CMakeLists.txt files have been copied over and all of the other relevant CMake files too. I've done my best to keep it as simple as possible but unfortunately that was not entirely feasible here. 2010-04-14 15:38:59 +00:00
Ryan Curtin fd095e9931 Apply same change from branch to trunk ("Huh?") 2010-04-14 15:33:26 +00:00