Commit Graph
23609 Commits
Author SHA1 Message Date
Omar Shrit ddcaeb170c Remove boost serialization includes
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-20 13:38:02 +02:00
Omar Shrit 6752faeb5e Make pointer_wrapper follows the style guidline in mlpack
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-20 13:29:58 +02:00
Omar Shrit 4d41cda1ee Make arary wrapper follows the Style guidline in mlpack
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-20 13:27:29 +02:00
Omar Shrit 54f20a7293 Remove proof of concept file
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-20 13:08:20 +02:00
Omar Shrit deea8640d4 Remove added explicite by error
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-19 20:18:52 +02:00
Omar Shrit 90efdab39d Remove cereal include, serialize some model
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-19 00:30:23 +02:00
Omar Shrit 0ae5f4617e Use pointer wrapper on pointer instead of NVP in fastmks
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-17 23:24:55 +02:00
Omar Shrit 3dde5a336a Passing the hoeffding_tree_test, replace boost archive by cereal
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-17 18:59:15 +02:00
Omar Shrit f2a2833fbe Passing the hmm test, replace boost::archive into cereal
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-17 18:52:36 +02:00
Omar Shrit bb664f4305 Replace boost archive by cereal archive in gmmt test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-17 18:45:49 +02:00
Omar Shrit 3fa489884f Finish all tested tests.
Test that are compiling are those with no comments.
Other commented tests have either pointer inisde or or need a
specific wrapper

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-17 18:37:32 +02:00
Omar Shrit 640d209357 Merge branch 'master' into cereal
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-15 12:22:08 +02:00
Omar Shrit 330976ea9b Passing the test of adaboost
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-15 12:16:05 +02:00
Ryan Curtin 8e906556bb Merge pull request #2459 from shrit/cli11
CLI11
2020-07-14 19:50:21 -04:00
Omar Shrit ecb1da7a59 Remove boost serialization namespace.
Remove functions defined in boost serialization namespace.
It is no longer required since it has been replaced by cereal

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-14 22:59:31 +02:00
Omar Shrit 504abd8499 Passing the adaboost test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-14 22:47:47 +02:00
Omar Shrit 13d14c37e7 Compile all hoeffding trees. All tests are passing
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-14 19:08:12 +02:00
Omar Shrit a5fbb4f7fb Adding utility header that resolve pair inside map
It seems that cereal supports nested complex type such as
std::unordered_map<int, std::pair<int, int>>. However in order to
be able to do this we need to include the <cereal/types/utility.hpp>

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-14 18:59:41 +02:00
Omar Shrit f9f1fd21b1 Merge branch 'cli11' of https://github.com/shrit/mlpack into cli11 2020-07-14 11:43:00 +02:00
Omar Shrit f8e375cc04 Remove libboost-program-options-dev installing command
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-14 11:38:48 +02:00
shritandYashwant Singh Parihar bfac57a8d1 Fix old discovered typo when bringing back serialization
Co-authored-by: Yashwant Singh Parihar <Yashwantsingh.sngh@gmail.com>
2020-07-14 11:26:50 +02:00
Omar Shrit 610d1dc9bc Bring back boost program options dependency for windows build
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-14 11:18:35 +02:00
Omar Shrit e15fd4b1dd Remove boost program options dependency from README
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-14 11:01:47 +02:00
shritandRyan Curtin b390cf75ce Fix bad regexp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-14 10:58:03 +02:00
shritandRyan Curtin 97b9fe6fa1 Fix bad regexp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-14 10:57:31 +02:00
shritandRyan Curtin 64e3ae8be5 Fix bad regexp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-14 10:56:58 +02:00
shritandRyan Curtin bca1c8de47 Fix bad regexp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-14 10:56:33 +02:00
shritandRyan Curtin 60a9443867 Fix bad regexp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-14 10:53:40 +02:00
shritandRyan Curtin 1a2dfbd73c Fix bad regexp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-14 10:53:21 +02:00
Ryan Birmingham 369f9e327d Merge pull request #2513 from zoq/ci-double-win-test
No reason to run the test suite twice.
2020-07-14 00:05:53 -04:00
Marcus Edel 433c2011cf No reason to run the test suite twice. 2020-07-13 22:05:18 +02:00
saksham189 e325708379 Merge pull request #2474 from kartikdutt18/ErrorInBatchNorm
Extending Support of BatchNorm layer for Convolutional Layer output.
2020-07-13 20:25:18 +05:30
kartikdutt18 b7cdf7cd94 Style Fixes 2020-07-13 18:34:49 +05:30
Omar Shrit ea2feb0e82 Merge branch 'cli11' of https://github.com/shrit/mlpack into cli11 2020-07-13 13:50:23 +02:00
Omar Shrit 0cbd33fd43 Remove boost program option from the doc directory
Following the transition from boost program option to CLI11

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-13 13:49:15 +02:00
shritandYashwant Singh Parihar 6448cd11f0 Correct wrong regexp
Co-authored-by: Yashwant Singh Parihar <Yashwantsingh.sngh@gmail.com>
2020-07-13 13:39:03 +02:00
shritandMarcus Edel a6c049566d Remove extra white space
Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2020-07-13 10:43:11 +02:00
kartikdutt18 626bd67d64 Add warning for batchsize = 1
Use term cumulative avg instead of counting
2020-07-13 09:10:07 +05:30
kartikdutt18andMikhail Lozhnikov 0ae5fcd7a3 parent a5314c30ecf0d123dc3106cfd32fdfc818fff8ad
author kartikdutt18 <kartikdutt@live.in> 1593966541 +0530
committer kartikdutt18 <kartikdutt@live.in> 1594273531 +0530

Set running vars to 1

Fix equation definition.

Support explicit dimension lists in ARFF files.

Make one dimension "harder" by using T/F not 1/0.

Oops, print training accuracy when the user specifies.

Now a higher minimum split is necessary to make the test work.

Fix iterator end overrun.

Style Fixes

Linking RL tutorial

adding poisson nll loss

use

Co-authored-by: Mikhail Lozhnikov <lozhnikovma@gmail.com>

use class name in class description

Co-authored-by: Mikhail Lozhnikov <lozhnikovma@gmail.com>

LaTeX format in parameter description

Co-authored-by: Mikhail Lozhnikov <lozhnikovma@gmail.com>

changes in description

fix type error

fix type error

added description of accessor methods

correction in header guards

Co-authored-by: Mikhail Lozhnikov <lozhnikovma@gmail.com>

reverting back changes in unrelated code by mistake

adding more tests

check if probs are in range [0, 1]

adding tests for logInput = false

remove check from Backward

change variable name reduction to mean

Update batch_norm_impl.hpp

Better comments and style fixes

Don't use welford in minibatchnorm

Don't use welford method anywhere add tests from pytorch

Serialization Fix

Does momentum part fail

Does making var const& fix the error

Change var initialization

Revert to previous definition -> make atomic changes

Lets change the definition first

Single implementation

Rever last 3 commits

Input Stream Fix

Dont transpose

Redo the whole implementation, cleaner simpler code

Only batchnorm2d

Remove merge redundant files

Use cubes as done in conv layers

Style Fixes

Add serialization of multiplicative factor

Remove multiplication factor

Add the factor in expression

Add numerical stability
2020-07-13 09:10:06 +05:30
Ryan Curtin 0c8e8cef2e Merge pull request #2510 from birm/rm-swp
remove and ignore vim temp files
2020-07-12 19:26:23 -04:00
Omar Shrit c56fd35a03 Serialize pointer in hoeffding tree using cereal pointer
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-12 22:45:49 +02:00
Omar Shrit 1d1a8f08c8 Add unordered map and tuple header
This will allow us to serialize these two types using cereal

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 21:44:39 +02:00
Ryan Birmingham f5903f8761 remove and ignore vim temp files 2020-07-11 12:44:25 -04:00
Omar Shrit d53b82b527 Compile LARS serialization_test using cereal
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 17:54:59 +02:00
Omar Shrit 48b54f3035 Compile LSH serialization_test with cereal raw pointer
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 17:51:45 +02:00
Omar Shrit 7e1c8bda94 Compile RaSearch test with cereal raw pointer
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 17:17:16 +02:00
Omar Shrit 1e0640f627 Compile KNN serialization_test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 17:11:00 +02:00
Omar Shrit 279cecd61e Compile serialization rectangle_tree
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 17:05:21 +02:00
Omar Shrit d0892b8697 Add cereal vector serialization header in order to serialize std::vector
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 17:04:14 +02:00
Omar Shrit 95bf72dbb0 Passing part of hoeffding serialization_test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 15:16:28 +02:00