Commit Graph
237 Commits
Author SHA1 Message Date
Bill March 44f37f60c6 wrote naive npt 2011-02-10 21:07:49 +00:00
Ryan Curtin e2e2445cc2 Replicate r7056 in fastlib-stl branch: remove fl-build and fl-build-all (#14). 2011-02-10 18:14:31 +00:00
Ryan Curtin 3c54c48d08 Replicate r7054 in fastlib-stl branch: remove build.py files (#14). 2011-02-10 18:13:59 +00:00
Ryan Curtin a6ef2bcc1e Update KDE to use newer AllkNN constructors. 2011-02-10 16:42:30 +00:00
Ryan Curtin 1da7909f24 Refactor AllkNN API; move Init() functions into constructors; update tests to
use new method definitions.
2011-02-10 16:42:13 +00:00
Bill March 5adef387dc wrote old auton-style multi-tree n-point, did very basic tests, needs more testing. 2011-02-09 21:45:56 +00:00
Bill March 3bf40fcad7 wrote and tested single matcher 2011-02-08 22:03:03 +00:00
Ryan Curtin 260ae78304 Unbreak everything: update references to AllkNN: AllkNN -> mlpack::allknn::AllkNN 2011-02-08 17:04:49 +00:00
Ryan Curtin de6db2a971 Update mvu code. At this point it does not work but it does compile. 2011-02-08 17:00:01 +00:00
Ryan Curtin 46f30f2f32 Move into mlpack::allknn namespace; and separate implementation from declaration
(add allknn.cc).
2011-02-08 16:42:08 +00:00
Bill March 2bed37af81 started new implementaion of n-point, wrote Permutations and tested it 2011-02-07 22:35:58 +00:00
Ryan Curtin eef480db7f Did I really forget to delete these declarations too? Apparently today is not
the day for my memory to work well.
2011-02-07 22:26:41 +00:00
Ryan Curtin 338b00776c Remove unused function; I forgot I had left this here. 2011-02-07 22:18:42 +00:00
Ryan Curtin 442e451089 Remove ComputeNaive() and put that functionality into ComputeNeighbors(). Since
the tree building phase determines how the user will perform the calculation,
having the two methods be separately named is superfluous.
2011-02-07 22:13:43 +00:00
Ryan Curtin 00bb7c7707 Remove deprecated constructors from AllNN. 2011-02-07 19:37:51 +00:00
Ryan Curtin c7421833bb Oops, I broke the build again. The constructor changes have to be propagated to
the main method.
2011-02-04 22:15:13 +00:00
Ryan Curtin 6607ead079 Remove Init() functions for AllNN. Everything is now part of the constructor, and initialization lists are used.
Some of the member declarations had to be re-ordered for the initialization lists to work correctly.
2011-02-04 21:58:21 +00:00
Bill March f935d9fb13 fixed casting error in fastica, changed isnan and isinf to std:isnan, std::isinf in kde 2011-02-03 19:53:11 +00:00
Bill March ce28ba626e added boost 1.45.0 to Boost_ADDITIONAL_VERSIONS 2011-02-02 22:04:22 +00:00
James Cline 01eb566b29 Added the option to enable or disable bounds checking in armadillo for fastlib-stl.
To disable bounds checking:
cmake -DDEBUG=OFF ...
make

To enable bounds checking:
cmake -DDEBUG=ON ...
make
2011-02-02 17:17:33 +00:00
Ryan Curtin 028c0cac4c Ack, I forgot that I had added this line 2011-02-02 17:02:18 +00:00
Ryan Curtin 7868bd67a0 Don't crash out when mlpack_contrib.a does not exist 2011-02-02 16:59:13 +00:00
Ryan Curtin 4e82dfd1d5 Disable compilation of methods that require sparse because sparse support is essentially nonexistent. 2011-02-01 19:38:02 +00:00
Ryan Curtin 15795bd1be Change fourier_expansion to std:: and armadillo components (not tested, but it compiles) 2011-02-01 19:33:18 +00:00
Ryan Curtin b682a44858 Update NNSVM methods to use std:: and armadillo components (not tested, but it compiles) 2011-02-01 19:09:43 +00:00
Ryan Curtin e764af62e8 This file isn't actually even used. Remove it. 2011-02-01 19:09:30 +00:00
Ryan Curtin 895ddaed86 Some fixes that I missed in series_expansion (now KDE should compile fine, but again is untested) 2011-02-01 18:56:05 +00:00
James Cline 3a47821be9 Cleaned up and optimized naive_bayes a bit.
Refactored code into separate header and implementation files.
Updated some documentation.
Removed some unecessary variables and uses less memory.
Should be slightly faster than trunk now.
2011-02-01 18:43:09 +00:00
Ryan Curtin 8d56cdfefe Last of KDE methods converted to std:: and armadillo components (not tested) 2011-02-01 17:48:39 +00:00
Ryan Curtin f40c8ca823 Convert original IFGT methods to armadillo and std:: components (not tested) 2011-02-01 17:47:01 +00:00
Ryan Curtin ad3c9b9784 Check in converted dualtree KDE method file that I missed (not tested) 2011-02-01 17:46:05 +00:00
Ryan Curtin 31f55714b7 Convert FGT-KDE methods to armadillo and std:: components (not tested) 2011-02-01 17:44:58 +00:00
Ryan Curtin c1e64c77b3 Convert FFTKde methods to armadillo and std:: components (not tested) 2011-02-01 17:43:43 +00:00
Ryan Curtin 7720a3b311 Update all dualtree KDE methods to use armadillo and std:: components (not tested -- only compiled). 2011-02-01 17:38:03 +00:00
Ryan Curtin 1289246ccd Change KDE utility classes to use armadillo and std:: components 2011-02-01 17:35:03 +00:00
Ryan Curtin 4b1404e1fd Update naive_kde to use armadillo and std:: components 2011-01-31 19:21:07 +00:00
Ryan Curtin 5d64805dd1 Update promixity_project code (which some MLPACK methods have a dependency on) to use armadillo and std:: components 2011-01-31 19:19:33 +00:00
Ryan Curtin 4e98f49684 Update series_expansion methods to use armadillo and std:: components. 2011-01-31 19:16:13 +00:00
Ryan Curtin 58670e68f6 Formatting pickiness changes from gcolon7's r6924 2011-01-28 23:08:12 +00:00
Ryan Curtin 7bb657af51 Test checkin from ryan to see if anonymous checkins are really allowed now 2011-01-28 22:55:53 +00:00
(no author) 4fe6fe7ef0 changed fastlib files using Math::Pow to std::pow and std::sqrt 2011-01-28 21:16:41 +00:00
(no author) 85319ce4da Changed contrib files using Math::Pow to std::pow and std::sqrt 2011-01-28 21:09:51 +00:00
(no author) de71c181ba converted general_type_bounds.h to using std::pow 2011-01-28 20:48:57 +00:00
(no author) 95cba1d383 Added support for cmath in fastlib.h
Changed all math::Pow<1,2> calls in mvu_objectives to std::sqrt
2011-01-28 20:37:36 +00:00
(no author) 81ee383e58 Removed math::Pow from bounds_aux.h 2011-01-28 20:33:09 +00:00
Ryan Curtin 2db893ab9e And I was so close to getting it all right! 2011-01-24 22:40:45 +00:00
Ryan Curtin 996315a9b8 Rewrite bits of HMM so that they compile. This is not tested at all (and not expected to work right), but the changes made here mainly serve to make the buildserver happy with this branch. 2011-01-24 22:38:29 +00:00
Ryan Curtin b290805ef3 Fix two bugs -- the first is a forgotten reference specifier. The second fix ensures the same tree is not built twice (if you pass the same matrix for queries and references); additionally it prevents the same point from being reported as its own nearest neighbor. 2011-01-21 20:43:04 +00:00
Ryan Curtin e59c15cc53 Add an overload of data::Save() that was necessary for trunk allnn. 2011-01-21 19:37:09 +00:00
Ryan Curtin ef82ad6ad7 Fix bug in TextLineReader::ReadLine_().
The method will loop until it finds \r or \n at the end of the string.  This is a valid approach,
but what happens when the length we chose to fgets() with only gets the \r?  We end up with a line
that's just \n and the whole thing crashes out.  Therefore, after every fgets() we have to check that
the \n isn't the next character.  If so, keep it; if not, step the file pointer back.

And this is precisely why we should be depending on something else to do this for us, not our own code.
2011-01-21 19:36:52 +00:00