Ryan Curtin
f34c15dc6c
Minor assorted spacing fixes.
2024-06-21 16:51:39 -04:00
Ryan Curtin
5a5195c5c2
Fix all kinds of spacing mistakes.
2024-06-21 11:20:44 -04:00
Ryan Curtin
cccf60d974
Move metrics to distances/ and dists to distributions/. And adapt... everything.
2024-06-14 15:14:48 -04:00
Omar Shrit
4af7f4847d
Fix const and SFINAE signature for all of these functions
...
Signed-off-by: Omar Shrit <omar@avontech.fr >
2024-04-20 18:05:53 +02:00
Omar Shrit
f256c4cd1d
Merge branch 'master' into coot_14
...
Signed-off-by: Omar Shrit <omar@avontech.fr >
2024-04-10 12:25:25 +02:00
Omar Shrit
1dcbd06b9d
Convert arma::zeros to zeros
...
Signed-off-by: Omar Shrit <omar@avontech.fr >
2024-04-08 17:08:03 +02:00
Ryan Curtin
e9be8af2cc
Clean up MakeAlias() and put it in only one place.
2024-04-02 14:51:50 -04:00
Omar Shrit
a62b12d4ed
Change arma::min to min
...
Signed-off-by: Omar Shrit <omar@avontech.fr >
2024-02-29 12:33:08 +01:00
Omar Shrit
081ffcfb3a
arma::trans to trans
...
Signed-off-by: Omar Shrit <omar@avontech.fr >
2024-01-14 21:05:05 +01:00
Ryan Curtin
e6ad5f78c0
Remove namespaces ( #3269 )
2022-09-21 03:40:20 +02:00
Ryan Curtin
2b27e6c11f
Merge pull request #2464 from shrit/pre_increment
...
Pre increment
2020-06-30 10:48:52 -04:00
Omar Shrit
d5e6ece336
j++ into ++j and k++ into ++k
...
Signed-off-by: Omar Shrit <omar@shrit.me >
2020-06-19 18:50:49 +02:00
Omar Shrit
50794b783b
Replace i++ to ++i
...
Why?
Pre-increment is faster than post-increment
I know that gcc generated the same code, but it is easier to
keep a good practice
Signed-off-by: Omar Shrit <omar@shrit.me >
2020-06-19 18:50:37 +02:00
Ryan Birmingham
496d121f92
use fuller path names
2020-05-13 10:46:38 -04:00
Kim SangYeon
b9f3aa7df8
Edited to comply with the Style Checks
2019-02-10 06:21:32 +09:00
Marcus Edel
0f35a28826
Use ensmallen optimizer framework.
2018-11-15 21:12:02 +01:00
Ryan Curtin
c7ec18f16c
Merge pull request #1466 from manish7294/impBounds
...
LMNN: Bounds for avoiding Impostors recalculation
2018-08-02 09:51:18 -04:00
Manish
9edda268ff
Added Re-order()
2018-07-22 13:58:01 +05:30
Manish
b7e25aba5e
Reviewed changes
2018-07-21 18:22:11 +05:30
Manish
74236a6bd3
Takes care of boundary condition
2018-07-20 09:09:07 +05:30
Manish
f972da4759
Add optimization to batches as well.
2018-07-19 22:57:18 +05:30
Manish Kumar
42303c30c8
Merge branch 'master' into impBounds
2018-07-19 20:25:20 +05:30
Manish
3bd4acfdf3
rectify shuffle()
2018-07-19 09:03:03 +05:30
Manish
457980ebfe
use is_empty()
2018-07-17 07:58:30 +05:30
Manish
65842b9867
Reviewed changes
2018-07-15 10:48:45 +05:30
Manish
a845afec53
apply optimization over Gradient() as well
2018-07-14 14:29:57 +05:30
Manish
7025a8bc3d
Use Ryan's strategy to handle variable batch size
2018-07-14 13:47:51 +05:30
Manish
6df99cb70d
some reviewed changes
2018-07-13 17:24:10 +05:30
Manish
0a77354803
made changes to bounds
2018-07-12 17:40:38 +05:30
Manish
1b7da33831
Reviewed changes
2018-07-11 18:53:25 +05:30
Manish
cb36f2d702
solves some errors
2018-07-11 13:23:43 +05:30
Manish
1bc7dc0a2a
remove optimization from batches
2018-07-10 11:56:34 +05:30
Manish
a63ade3d47
impostors bounds
2018-07-10 00:24:03 +05:30
Manish
2d064506b5
Solves logical mistake
2018-07-09 21:20:09 +05:30
Manish
d2c8124145
Small optimization
2018-07-06 16:53:15 +05:30
Manish
772a7b4afd
rectify implementation
2018-07-06 10:22:33 +05:30
Manish
35af7935bc
update bounds
2018-07-05 17:17:12 +05:30
Manish
0e7f82a562
bound eval
2018-07-04 22:37:44 +05:30
Manish
73143f473c
Reviewed changes
2018-07-04 18:08:04 +05:30
Manish
5484806838
Takes care of boundary condition
2018-06-29 21:02:20 +05:30
Manish
7832ffe645
Solves logical error
2018-06-29 20:43:15 +05:30
Manish
76d1a7f5d4
update
2018-06-23 14:07:02 +05:30
Manish
99228850f9
reviewed changes
2018-06-23 12:53:15 +05:30
Manish
18aba9b8bd
make constraint member of the LMNN function class
2018-06-23 11:06:26 +05:30
Manish
104fb2aa1e
small update
2018-06-22 15:33:49 +05:30
Manish
1f0858230c
update documentation
2018-06-22 12:27:47 +05:30
Manish
1b571f2b5c
Some reviewed changes
2018-06-22 10:44:13 +05:30
Manish
620ee5987f
update distance cache
2018-06-21 23:13:43 +05:30
Manish
d05cfd31cc
Cache distance to avoid recomputation
2018-06-21 20:39:09 +05:30
Manish
8a6709f089
Added a range parameter to calculate impostors after some particular iterations
2018-06-13 18:33:02 +05:30