Commit Graph
11806 Commits
Author SHA1 Message Date
birm 71fbc0e02d Changed so that "dimension" is not declared, to avoid compiler warning. 2014-01-28 19:24:30 +00:00
birm 395f36142d Addes Tostring here early, mostly because SGD required it. 2014-01-28 19:12:39 +00:00
birm cef741af20 Added Tostring to SGD. 2014-01-28 19:11:45 +00:00
birm 55a113ebbb Updated Test for working optimizers 2014-01-28 19:11:05 +00:00
birm 6a000a7fe6 Added ToString() to core/dists, core/kernels, and core/metrics
Added a test for the ToString() methods
2014-01-27 21:08:40 +00:00
Ryan Curtin c3e90b7924 Fix spacing. 2014-01-27 17:01:23 +00:00
Ryan Curtin 9cf0b0c551 Add new contributor. 2014-01-22 18:47:05 +00:00
Ryan Curtin 2c4eecc4f2 Add tests when the data matrix has linearly dependent features. 2014-01-22 16:36:23 +00:00
Ryan Curtin 613913726f Fix from Michael Fox for #242. 2014-01-22 16:36:06 +00:00
Ryan Curtin bbab33cc11 Ticket #314 resulted in a bunch of useful changes. 2014-01-14 21:13:17 +00:00
Ryan Curtin 80a9c09811 Pull in updated history from version 1.0.8. 2014-01-14 21:10:57 +00:00
Ryan Curtin c4d0ef41bc Handle cases where scales are 0 correctly. 2014-01-14 20:50:23 +00:00
Ryan Curtin 4c63690e40 This wasn't actually calculating the variance correctly. 2014-01-14 20:50:03 +00:00
Ryan Curtin 3bb83801a8 svn:ignore --> 'build*' in case you have multiple build directories. 2014-01-14 20:49:06 +00:00
Ryan Curtin 1ebce66703 When using the constructors that don't specify a model, make sure we create an
actual valid GMM and not just random memory.
2014-01-14 17:46:13 +00:00
Ryan Curtin 2307a999f2 Increase precision of saves. 2014-01-09 17:16:32 +00:00
Ryan Curtin bc5f91efc4 Add Mudit's name to the list of contributors. 2014-01-07 04:23:32 +00:00
Ryan Curtin 0bc57af0d5 Update copyright for the new year. 2014-01-07 04:19:56 +00:00
Ryan Curtin e52724d388 Ignore svnversion.hpp. 2014-01-03 18:30:25 +00:00
Ryan Curtin 4a0dc43559 Fix error so that core.hpp is properly included. 2014-01-03 18:29:31 +00:00
Ryan Curtin 33e64ac417 Add svnversion.hpp to list of sources to track, if necessary. 2014-01-03 18:29:12 +00:00
Ryan Curtin f2f1146005 Remove redundant check for working copy. 2014-01-03 18:15:11 +00:00
Ryan Curtin 1b3acf2844 Safe check for if we are in an svn repo. 2014-01-03 18:14:21 +00:00
Ryan Curtin 64dd830f21 Fix dependency on stringstream. 2014-01-03 18:00:12 +00:00
Ryan Curtin 4e508754a7 CMake scripts to find and update svnversion.hpp, if necessary. 2014-01-03 17:59:49 +00:00
Ryan Curtin 169204e562 CMake script to create svnversion.hpp, if needed. 2014-01-03 17:58:58 +00:00
Ryan Curtin bc4bd66321 Update so that it gets compiled into libmlpack.so. 2014-01-03 16:56:41 +00:00
Marcus Edel cb3225f42d Fix typo: furthest <-> nearest. 2013-12-29 17:10:53 +00:00
Ryan Curtin 3928ccc273 Link to tutorial on versioning information in core.hpp. 2013-12-29 04:30:31 +00:00
Ryan Curtin 0487767b70 Oops, a typo. 2013-12-29 04:30:04 +00:00
Ryan Curtin 215a590bbd Some documentation on versioning information. 2013-12-29 04:29:33 +00:00
Ryan Curtin 78a747d561 Add information so a version can be obtained easily during runtime and also at
compile time.
2013-12-29 04:17:14 +00:00
Ryan Curtin 3ff2ed2b95 I don't remember doing this, and I have no idea when it was, but hey, using
namespace std in cpp files is a cool idea.
2013-12-29 04:16:52 +00:00
Ryan Curtin dbc690fc95 Add main executable for logistic regression. 2013-12-29 03:43:49 +00:00
Ryan Curtin 02535ac1ae Don't hold the optimizer and error function since they are only needed at
construction time.
2013-12-29 02:05:47 +00:00
Ryan Curtin b3d77bb973 Remove predictors and responses because they don't need to be stored by the
LogisticRegression class, and then add a constructor so you can pass a given set
of parameters.
2013-12-12 00:17:19 +00:00
Ryan Curtin 17d04605bf Clarify comment. 2013-11-27 19:20:29 +00:00
Ryan Curtin af4718ed55 Update test for positive regularization... oops... 2013-11-25 06:02:59 +00:00
Ryan Curtin 51e0a9c836 Regularization gets subtracted, not added. Thanks to Sumedh for pointing this
out.
2013-11-25 05:59:11 +00:00
Ryan Curtin 6818f76717 Implement FurthestPointDistance() for cover trees. 2013-11-22 18:49:34 +00:00
Ryan Curtin 61e3aa2663 Test BinarySpaceTree::FurthestPointDistance(). 2013-11-22 17:02:09 +00:00
Ryan Curtin be55f84d95 Add FurthestPointDistance() function. 2013-11-22 17:01:59 +00:00
Ryan Curtin c19d9896ec Update history file incrementally, because doing this all at once at release
time is difficult.
2013-11-21 18:40:14 +00:00
Ryan Curtin 8b4363b5cc Test constructor that takes an instantiated optimizer. 2013-11-21 18:34:50 +00:00
Ryan Curtin 5b85eb566d Add a constructor that allows passing an instantiated optimizer. 2013-11-21 18:34:37 +00:00
Ryan Curtin ac9630f129 Add function to get predictors and responses. 2013-11-21 18:28:01 +00:00
Ryan Curtin f72372a24a Add function to get the function that is being optimized. 2013-11-21 18:27:40 +00:00
Ryan Curtin 027850970b Goodbye, slightly misleading documentation. 2013-11-21 17:58:59 +00:00
Ryan Curtin 1293e2f857 Add tests for actual LogisticRegression object. 2013-11-21 16:57:21 +00:00
Ryan Curtin 871cd988da Refactor LogisticRegression class. LearnModel() can be private, and we can
const-ize a lot of the parameters and functions.  Also restore functionality to
Predict(), ComputeError(), and ComputeAccuracy().  This does not ever make a
copy of the predictors matrix and doesn't add a column for the intercept, which
is faster.
2013-11-21 15:40:40 +00:00