Commit Graph

269 Commits

Author SHA1 Message Date
Davis King 39fe986296 Added an is_std_vector to the is_kind.h file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402500
2008-09-06 15:53:33 +00:00
Davis King 0aae909742 Added some comments to this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402499
2008-09-06 15:15:13 +00:00
Davis King e295d55527 added more comments to the kcentroid example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402498
2008-09-06 14:50:36 +00:00
Davis King b5578687c8 cleaned up the sockets test
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402497
2008-09-06 14:26:42 +00:00
Davis King aa34d39f27 Added some overloads of the create_connection() and create_listener()
functions that use scoped_ptr objects instead of just plain pointers.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402496
2008-09-06 14:26:17 +00:00
Davis King ea261db86c cleaned up the code
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402495
2008-08-22 18:51:39 +00:00
Davis King c3a9af0aee changed slightly to avoid a warning in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402494
2008-08-22 17:56:30 +00:00
Davis King f841ccb543 Fixed another bug in the thread_specific_data object. It should now
work right regardless of the destruction order of the relevant global
bits of state hanging around.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402493
2008-08-22 16:01:47 +00:00
Davis King d9462674a9 changed the tests a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402492
2008-08-22 14:09:57 +00:00
Davis King 961283af39 updated makefile
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402491
2008-08-22 13:20:33 +00:00
Davis King f022055ceb Added some regression tests for the svm/kernel methods stuff
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402490
2008-08-22 13:20:07 +00:00
Davis King 2c8422ebbf Cleaned up the rvm code and made the regression version more
numerically robust.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402489
2008-08-21 23:59:18 +00:00
Davis King 82b2a4cf6f Made the rvm classifier more numerically robust
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402488
2008-08-21 23:36:20 +00:00
Davis King e63984c846 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402487
2008-08-21 01:51:37 +00:00
Davis King 96b3209a4d Organized the Unicode overloads into a more readable format. Also added some missing
overloads to the spec file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402486
2008-08-21 01:39:07 +00:00
Davis King 3292376ce6 Added some overloads for move_rect() and translate_rect() that take a
point object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402485
2008-08-21 01:07:26 +00:00
Davis King 66a56209ce updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402484
2008-08-21 00:47:55 +00:00
Davis King 54bfa36a36 Added the unregister_thread_end_handler() function and also used it to
fix a bug that can trigger when the thread_specific_data object is destructed.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402483
2008-08-21 00:47:22 +00:00
Davis King 66a3e29207 Added an additional stopping condition to the kkmeans object. It is now
possible to tell it to top when a certain fraction of centers don't change.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402482
2008-08-20 23:45:43 +00:00
Davis King de24dbb0ff Fixed the serialization code for the kkmeans object so that it actually works.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402481
2008-08-20 23:29:37 +00:00
Davis King f311e46d91 Fixed some potential bugs in the rvm
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402480
2008-08-20 22:31:35 +00:00
Davis King c0754e3b61 Fixed the cmake option to toggle the ENABLE_ASSERTS macro
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402479
2008-08-20 21:17:29 +00:00
Davis King 4d84a13c61 Added a missing mutex lock to the tooltip widget.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402478
2008-08-20 21:15:21 +00:00
Davis King dfd774fe84 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402476
2008-08-14 23:30:36 +00:00
Davis King 320fc0cbfb updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402475
2008-08-14 23:16:51 +00:00
Davis King e54bfbb9dd Optimized matrix multiplication a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402474
2008-08-14 02:56:03 +00:00
Davis King cbafa9c537 Added some tests to catch problems with optimized versions of
matrix multiplication

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402473
2008-08-14 02:52:14 +00:00
Davis King 0514e8a1e5 Changed code slightly to avoid another warning from valgrind.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402472
2008-08-13 23:38:26 +00:00
Davis King 712c8d48da Changed the code slightly to avoid a warning from valgrind.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402471
2008-08-13 23:10:30 +00:00
Davis King de3f14431c Changed the test slightly to avoid warning from valgrind.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402470
2008-08-13 22:43:47 +00:00
Davis King 7218589f0a Changed the sockets example so that it uses scoped_ptr to
contain the connection object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402469
2008-08-13 01:39:13 +00:00
Davis King 3c8e14c221 Added the spec for the new overload of close_gracefully()
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402468
2008-08-13 01:34:57 +00:00
Davis King a35dd6da7a Added some stuff to encourage the use of scoped_ptr with the connection
objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402467
2008-08-13 01:32:23 +00:00
Davis King f2cd116fce Refactored the matrix code so that all matrix assignments from a matrix_exp
ultimately happen inside the matrix_assign() function.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402466
2008-08-12 02:02:54 +00:00
Davis King ce2a36315e Made an example less confusing.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402465
2008-08-10 13:35:20 +00:00
Davis King 83963abf64 Grammar
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402464
2008-08-07 03:01:44 +00:00
Davis King 44f4f5eb25 Fixed a potential bug in the hysteresis_threshold() function.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402463
2008-08-06 21:39:23 +00:00
Davis King 3a140cc063 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402462
2008-08-06 02:09:37 +00:00
Davis King 22d718b601 Added some extra checks in the stopping conditions to avoid
getting stuck while training an rvm.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402461
2008-08-06 02:05:30 +00:00
Davis King 3a2ffaa755 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402460
2008-08-05 02:14:12 +00:00
Davis King bf13005115 added a spec for the rvm_regression_trainer
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402459
2008-08-05 01:59:17 +00:00
Davis King 23a50bd466 fixed a spelling error
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402458
2008-08-05 01:58:43 +00:00
Davis King 4360b88512 worked on the rvm regression
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402457
2008-08-05 01:44:55 +00:00
Davis King 69d481ca34 Added an initial cut of the rvm stuff
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402456
2008-08-05 00:20:27 +00:00
Davis King 3dd1af02b1 optimized the squared and cubed functions a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402455
2008-08-05 00:19:39 +00:00
Davis King ea6d003c4a Added more error handling to the nativefont. Also changed the
code so that the native font object isn't instantiated unless
you try to use it for something.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402454
2008-08-04 21:42:46 +00:00
Davis King 4d95091d90 Added the length and length_squared functions. Also cleaned up
the sigmoid function's code and spec

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402453
2008-08-03 20:19:49 +00:00
Davis King 278c4bcf17 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402452
2008-07-30 22:26:20 +00:00
Davis King db7e54051a Fixed some typos in the matrix utilities spec file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402451
2008-07-30 03:03:22 +00:00
Davis King 80f82a221c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402450
2008-07-29 23:55:06 +00:00