Commit Graph
11983 Commits
Author SHA1 Message Date
Marcus Edel 4ee34f4237 Save the correct labels; thanks Anand! 2014-05-17 13:59:14 +00:00
Ryan Curtin a9e677aa9f Const parameters will cause this to be two billion times faster. 2014-05-13 19:25:55 +00:00
Ryan Curtin d941b4a545 Rewrite NMFALSTest so that random failures should be less likely. 2014-04-26 12:40:03 +00:00
Ryan Curtin fa9101b094 Revert accidental commit. 2014-04-19 05:02:05 +00:00
Ryan Curtin f7d4559465 A better fix for the failing build. 2014-04-19 04:50:23 +00:00
birm adc6dfbaf5 sparse_autoencoder_function lines 55 through 58 modified so it would build. It doesn't pass the test, but it builds now. Please fix. 2014-04-19 04:33:44 +00:00
Ryan Curtin 848fdcf93b Change Sigmoid() function to avoid matrix copies via the return value. 2014-04-16 19:36:06 +00:00
Ryan Curtin b3c5f9beaa Remove unused variables to fix warnings. 2014-04-16 19:09:27 +00:00
Ryan Curtin 654865f0ab Test sparse autoencoder. 2014-04-16 19:01:29 +00:00
Ryan Curtin 3d92c562f9 Build sparse autoencoder as part of mlpack. 2014-04-16 18:59:15 +00:00
Ryan Curtin 357860d476 CMake configuration to compile sparse autoencoders. 2014-04-16 18:57:20 +00:00
Ryan Curtin ce9936e692 Simple style changes; no functionality change. 2014-04-16 18:57:03 +00:00
Ryan Curtin 9ea390df18 Adapt test to work in the larger framework of mlpack tests. 2014-04-16 18:54:17 +00:00
Ryan Curtin 13bbeedf18 Syntax cleanup; just some spacing. No functionality change. 2014-04-16 18:53:24 +00:00
Ryan Curtin b0af55587b Minor (and ultimately trivial) documentation changes; add documentation for
SparseAutoencoderFunction constructor.
2014-04-16 18:45:21 +00:00
Ryan Curtin f8c663a52d First pass: add file headers, include guards, and then my vimrc auto-stripped
all trailing spaces.
2014-04-16 18:35:16 +00:00
Ryan Curtin ed1e4ad691 Add test for sparse autoencoder, contributed by Siddharth. 2014-04-16 18:30:50 +00:00
Ryan Curtin bdd4f83edc Add sparse autoencoder contribution by Siddharth. This is the version given in
ticket #345 as Changes3.tar.gz.
2014-04-16 18:30:27 +00:00
Ryan Curtin bc3d650105 Add new contributor. 2014-04-16 18:19:05 +00:00
Ryan Curtin eae14efc61 Change to two-pass algorithm suggested by Vahab in #344. 2014-04-16 18:18:13 +00:00
Ryan Curtin 5bf6ae3297 Test incremental variance functionality. 2014-04-15 15:24:09 +00:00
Ryan Curtin cf6bff87f8 Adapted patch from Vahab for #344: incremental algorithm for variance
calculation in Naive Bayes classifier.  This is optional and can be specified in
the NaiveBayesClassifier constructor.
2014-04-15 15:23:52 +00:00
Ryan Curtin 154cb575eb Overhaul implementation; do not use gmm::phi(). This gives serious speedup, as
high-dimensional matrix inverses are not being calculated.  The previous calls
to gmm::phi() would invert a diagonal matrix without being able to assume that
the matrix was diagonal.  This explains the very very poor benchmarking results
for nbc in mlpack.
2014-04-14 20:11:16 +00:00
Ryan Curtin 91433326f1 Don't transpose on save; one point per line. 2014-04-14 20:10:29 +00:00
Ryan Curtin 47bb810130 Get the number of classes correctly. 2014-04-14 19:26:36 +00:00
Ryan Curtin 206648b183 Don't transpose the labels upon loading; expect that they are going to be one
line per label.
2014-04-14 19:16:48 +00:00
Ryan Curtin 4817caf8c0 Minor documentation fix, and sometimes the labels need to be transposed. 2014-04-14 19:16:06 +00:00
Ryan Curtin 6013414793 Add rank parameter. This might not be applicable to when we have other
decompositions, though.
2014-04-14 18:20:22 +00:00
Ryan Curtin c5561c6965 Modify test for new RangeSearch API. 2014-04-09 22:27:19 +00:00
Ryan Curtin 0081a0056a Patch from Saheb for #301; refactor RangeSearch constructors so that leafSize is
not a parameter.
2014-04-09 22:27:08 +00:00
Ryan Curtin 262ebe29af Spelling fix; thanks Barak! 2014-04-07 22:35:04 +00:00
Ryan Curtin f200cd5a3f Update documentation due to API change. 2014-04-07 17:59:18 +00:00
Ryan Curtin ac7502e9ed Clean up implementation of GetRecommendations(). 2014-04-07 15:26:22 +00:00
Ryan Curtin 297fcc3210 Document API change in an attempt to piss people off less when their programs
are broken.
2014-04-07 15:22:54 +00:00
Ryan Curtin 4e84e9f347 Patch from Siddharth for #342. 2014-04-07 15:19:24 +00:00
Ryan Curtin 58f92ce883 Actually catch all of the instances where single quotes start lines. 2014-04-07 14:41:28 +00:00
Ryan Curtin 0d106c9efd Doxygen fix so that local paths aren't included in the built documentation. 2014-04-07 14:20:21 +00:00
Ryan Curtin dde19f38a6 Use const reference parameter so it works with temporaries too. 2014-03-31 15:19:23 +00:00
Ryan Curtin 93beaa816f Whatever bug used to be here before isn't here now. 2014-03-31 13:51:10 +00:00
Ryan Curtin e1fdb81761 Add new contributor. 2014-03-28 16:59:47 +00:00
Ryan Curtin 4e1d178dc7 Annotate changes to LRSDP. 2014-03-28 15:53:35 +00:00
Ryan Curtin 57b9be5f35 Better ToString() output. 2014-03-28 15:53:27 +00:00
Ryan Curtin cc8bfb95dd Refactor LRSDP into the main class and a separate function (LRSDPFunction).
This is a patch from Abhishek Laddha for #318.
2014-03-28 15:38:26 +00:00
Ryan Curtin 0618cdd415 Fix minor error that I didn't correct last time. 2014-03-25 14:09:10 +00:00
Ryan Curtin bd1ff33580 Don't use the squared Euclidean distance. 2014-03-25 14:03:12 +00:00
Ryan Curtin b272f363c3 Don't use the SquaredEuclideanDistance. 2014-03-25 14:02:42 +00:00
Ryan Curtin 23fc3acb6b Make parameter const because const-correctness is a good thing. 2014-03-25 12:47:57 +00:00
Ryan Curtin ad4ae0afe1 Add new contributor. 2014-03-24 20:31:58 +00:00
Yash Vadalia a2feea8ccd Incorporate patch from yashdv to move splitting procedure to a different class. 2014-03-24 18:52:43 +00:00
Ryan Curtin 7973e83f94 Update documentation to reflect changes in RangeSearch. 2014-03-13 15:07:38 +00:00