Davis King
633a9cdc9a
Modified structural_svm_problem_threaded to reduce the amount of copying
...
overhead.
2013-01-26 00:44:58 -05:00
Davis King
51666563e3
Added BLAS bindings for xscal and xaxpy routines.
2013-01-26 00:20:03 -05:00
Davis King
c19bb9f36c
Added another folder to blas search paths
2013-01-23 20:08:29 -05:00
Davis King
b97a64ed7f
Changed the scripts so that the environment tests for makedocs only check
...
things really needed by makedocs. Things needed by makerel are now in their
own check. Also switched to unix2dos instead of unsing flip since unix2dos is
more common.
--HG--
rename : docs/testenv => docs/testenv_rel
2013-01-23 19:42:06 -05:00
Davis King
4eb8c5388b
Changed the code so that each worker thread gets more things to do for each
...
job. This should give better overall CPU utilization than the previous smaller
job sizes.
2013-01-23 18:49:31 -05:00
Davis King
14cea9da7d
switched testenv to check for hg instead of svn
2013-01-23 18:39:12 -05:00
Davis King
b34b25a193
Expanded the set of folder we search when looking for BLAS and
...
LAPACK.
2013-01-22 18:57:22 -05:00
Davis King
98628bfea7
clarified spec
2013-01-21 18:02:05 -05:00
Davis King
014aa448a5
updated docs
2013-01-21 17:13:05 -05:00
Davis King
e341600ffb
Added count_bits() and hamming_distance()
2013-01-21 17:06:27 -05:00
Davis King
2f61fe09c1
merged
2013-01-20 23:51:21 -05:00
Davis King
d707528209
Changed general_hash so it uses dlib::hash to hash integers rather
...
than returning them unmodified.
2013-01-20 23:50:44 -05:00
Davis King
a07590a7ad
made unit test more robust
2013-01-20 14:21:10 -05:00
Davis King
ed9bd6376e
clarified spec
2013-01-20 14:01:43 -05:00
Davis King
2b7b216f7c
Added more cca() unit tests.
2013-01-20 13:43:50 -05:00
Davis King
a99fc5661a
Made svd_fast() accept a wider range of matrices as arguments.
2013-01-20 11:50:01 -05:00
Davis King
6391a03440
Made some of this code a little more general.
2013-01-19 00:35:43 -05:00
Davis King
04f8d80361
Increased the default number of power iterations done by svd_fast()
...
from 0 to 1.
2013-01-19 00:35:19 -05:00
Davis King
9f9a720a23
updated docs
2013-01-19 00:17:16 -05:00
Davis King
b51d11484e
Made the svd_fast() code a little more readable and memory efficient.
...
Also added the orthogonalize() function.
2013-01-19 00:15:29 -05:00
Davis King
246a60c249
Added a version of get_q() to qr_decomposition that allows the user
...
to get the Q matrix by reference rather than by value.
2013-01-18 23:17:56 -05:00
Davis King
9376502ce7
updated docs
2013-01-18 22:11:35 -05:00
Davis King
170cffad97
Added make_sparse_vector_inplace()
2013-01-18 22:10:42 -05:00
Davis King
c8b59522e1
refined spec a little
2013-01-17 20:43:16 -05:00
Davis King
d3c2655126
updated docs
2013-01-17 20:33:57 -05:00
Davis King
36bf764acc
renamed function
2013-01-17 20:30:04 -05:00
Davis King
a2ae46cd03
Refactored the Platt scaling code a little. Now there is a function,
...
learn_platt_scaling(), that allows you to directly call the Platt scaling code
without supplying a trainer object.
2013-01-17 20:22:44 -05:00
Davis King
03ec260cb3
reformatted comments.
2013-01-17 19:20:38 -05:00
Davis King
91e8594b23
made examples slightly clearer
2013-01-17 19:18:35 -05:00
Davis King
d19048000c
fixed a typo
2013-01-16 20:59:27 -05:00
Davis King
19a890da5b
Switch a DLIB_CASSERT to DLIB_ASSERT
2013-01-16 20:59:18 -05:00
Davis King
567aeab023
Added an overload of get_next_double_click() that allows the user to find out
...
which mouse button was double clicked.
2013-01-16 20:38:58 -05:00
Davis King
578107c364
Fixed a problem where the pixel click location reported by
...
image_window::get_next_double_click() was slightly off.
2013-01-16 18:24:56 -05:00
Davis King
5cc5c1160b
Changed the image_window so it doesn't try to adjust the size or position
...
when set_image() is called with an image the same size as the one currently
being displayed.
2013-01-16 18:18:45 -05:00
Davis King
43f983f30e
Fixed a bug which could potentially occur when empty std::vector<char>
...
or std::vector<unsigned char> were serialized.
2013-01-16 17:42:35 -05:00
Davis King
721d55a610
Added serialization support for std::vector<bool>.
2013-01-16 17:30:10 -05:00
Davis King
b88c47d958
Minor change to avoid a compiler error in 4.1
2013-01-15 18:51:12 -05:00
Davis King
21808a99f2
Added some missing includes that only triggered a compiler error in
...
clang and also fixed a function call ambiguity.
2013-01-15 18:03:29 -05:00
Davis King
46985273b1
made tests more robust
2013-01-14 23:46:54 -05:00
Davis King
70360c76b4
Added unit tests for cca() and svd_fast()
2013-01-14 23:19:52 -05:00
Davis King
e7c770f05b
Made cca() more numerically robust.
2013-01-14 22:55:39 -05:00
Davis King
38ed409ed9
Added missing asserts
2013-01-14 19:33:43 -05:00
Davis King
f422124938
updated docs
2013-01-13 23:13:35 -05:00
Davis King
fd9ed7397f
Added cca()
2013-01-13 23:06:52 -05:00
Davis King
3dfa76a339
Added svd_fast()
2013-01-13 22:59:18 -05:00
Davis King
64a5789fdf
simplified code
2013-01-08 20:54:35 -05:00
Davis King
d9118a5dd3
Saving another icon file
2013-01-08 18:00:12 -05:00
Davis King
4374f18952
clarified spec
2013-01-07 21:18:58 -05:00
Davis King
cab98cc10e
Added some features to the image display widgets to let the user easily
...
get information about where the user is clicking.
2013-01-07 21:17:44 -05:00
Davis King
e1c13bf150
Fixed spelling error in comment
2013-01-07 21:13:44 -05:00