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
Davis King
3b0f4ff135
Added more unit tests for the forces_last_weight_to_1 stuff.
2013-01-03 22:17:10 -05:00
Davis King
9ab59297b2
Added the forces_last_weight_to_1() option to the svm_c_linear_trainer.
2013-01-03 22:15:27 -05:00
Davis King
96264d3339
Changed svm_c_linear_dcd_trainer so that when the user forces the last weight
...
to 1 it automatically disables use of the bias since that is almost certainly
what the user will want to do.
2013-01-03 22:02:16 -05:00
Davis King
b445ddbd8d
Switched this code to use the oca object's ability to force a weight to 1
...
instead of rolling its own implementation.
2013-01-03 22:00:02 -05:00
Davis King
277b47ae58
Added the option to force the last weight to 1.
2013-01-03 21:55:53 -05:00
Davis King
59cd70c643
tweaked icons and logo a little
2013-01-02 21:53:03 -05:00
Davis King
cb1c3df1a2
Minor change to svg paths
2013-01-01 23:11:57 -05:00
Davis King
bc3cee678a
tweaked the download button a little
2013-01-01 23:09:58 -05:00
Davis King
04c7c36ec4
changed svg document size to contain all the contents
2013-01-01 20:58:52 -05:00
Davis King
6d12bbd065
Fixed image alignment
2013-01-01 20:58:32 -05:00
Davis King
88cd0f518c
changed download icon slightly
2013-01-01 20:12:19 -05:00