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
Davis King
dbc9a815e2
Fixed an endianness bug in the PNG I/O functions which occurred when 16bit
...
grayscale PNGs were used. libpng doesn't automatically convert from host
endianness to big endian as the PNG standard demands. You have to explicitly
tell it to do this or it will write out the 16bit pixel data in host order
which result in the wrong thing happening on little endian chips. Similarly
for reading PNGs.
2013-01-07 19:49:47 -05:00
Davis King
452972086e
updated docs
2013-01-06 20:13:26 -05:00
Davis King
07cce7a22a
updated release notes
2013-01-06 18:22:37 -05:00
Davis King
ee72092e62
merged
2013-01-06 15:28:44 -05:00
Davis King
33a192fc28
Fixed a bug pointed out by Joel Nelson in the version of md5() that took an
...
istream. The bug caused the function to crash on strings longer than 56
characters.
2013-01-06 15:28:09 -05:00
Davis King
63a360e177
updated release notes
2013-01-05 19:39:56 -05:00
Davis King
6d601583d5
Made test more robust and also added more print_spinner()
...
calls.
2013-01-05 09:59:35 -05:00
Davis King
a4f048701a
clarified spec
2013-01-04 23:55:43 -05:00
Davis King
89b6a6ced7
updated docs
2013-01-04 23:18:47 -05:00
Davis King
479168b2cd
updated icon files
2013-01-04 21:23:19 -05:00
Davis King
90d4b034f4
saving another icon
2013-01-04 21:03:46 -05:00
Davis King
bbb71033c6
Removed download button and replaced it with the old text link. Also
...
regenerated the icons and logo from the svg file.
2013-01-04 20:49:14 -05:00
Davis King
19a2f8e4ff
Added the gradient and a little border to the dlib gear
2013-01-04 20:37:45 -05:00
Davis King
9f44528d24
filled out release notes
2013-01-03 23:29:23 -05:00