Commit Graph
23401 Commits
Author SHA1 Message Date
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 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
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
Omar Shrit 3f8b1f9139 Serialize det tree raw pointers using cereal
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 15:01:20 +02:00
Omar Shrit 15eec38d17 Serialize test if Hrectbound is compiling
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 14:54:34 +02:00
Omar Shrit 0556eaa79d Mahalabonis ball bound test is compiling
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 14:48:38 +02:00
Omar Shrit b1f44fc525 Serialize ballbound tree using cereal pointer macro
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 14:46:19 +02:00
Omar Shrit 6710903adb Compiling RBM tests
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 14:39:23 +02:00
Omar Shrit 6d2dcbe971 Compile the test of Naive Bayes and Decision stump
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 14:33:19 +02:00
Omar Shrit 09e7f0de19 Serialize perceptron and logistic regression
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 14:27:25 +02:00
Omar Shrit f9337e3fff Serialize raw pointer in cover tree
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 13:55:36 +02:00
Omar Shrit 77ac6bd7f3 Merge branch 'master' into cereal
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 11:28:41 +02:00
Omar Shrit fb50827a11 Comment non pointer test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 11:21:19 +02:00
Omar Shrit 87dbc5aee2 Serialize dataset variable pointer type
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-11 11:19:32 +02:00
Marcus Edel 17d679829e Merge pull request #2507 from rcurtin/julia-doc-fix
Fix version of Julia in documentation.
2020-07-10 22:17:14 +02:00
Ryan Curtin 82a6a87bd4 Fix version of Julia in documentation. 2020-07-09 10:06:01 -04:00
Omar Shrit 1db05d87ce Fix error in regex replcement for xml to json
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-09 13:56:53 +02:00
Omar Shrit a7c9635575 Disable copy constructor for the array_wrapper
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-09 13:53:50 +02:00
Marcus Edel 5a1d2b98c6 Merge pull request #2497 from nishantkr18/env
Adding support to use gym_tcp_api for training agents in q_learning.
2020-07-09 13:12:23 +02:00
Ryan Curtin d6ed91959c Merge pull request #2442 from UtR491/krann-test
Krann Test
2020-07-08 10:17:29 -04:00
Nishant Kumarandfavre49 ef9df85cf3 Update src/mlpack/methods/reinforcement_learning/environment/env_type.hpp
Co-authored-by: favre49 <40389657+favre49@users.noreply.github.com>
2020-07-08 11:05:57 +05:30
Ryan Birmingham 3168e47be3 Merge pull request #2481 from jeffin143/issue-templ
Add feature request Issue Template
2020-07-08 00:26:14 -04:00
UtR491andMarcus Edel f0ba548dc1 Update src/mlpack/tests/main_tests/krann_test.cpp
Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2020-07-08 01:17:59 +05:30
UtR491andMarcus Edel 70a830466f Update src/mlpack/tests/main_tests/krann_test.cpp
Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2020-07-08 01:17:37 +05:30
UtR491andMarcus Edel 555f2a21de Update src/mlpack/tests/main_tests/krann_test.cpp
Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2020-07-08 01:17:20 +05:30
UtR491andMarcus Edel 2e647b7bbb Update src/mlpack/tests/main_tests/krann_test.cpp
Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2020-07-08 01:16:57 +05:30
Omar Shrit 1d52b1699e Comment all tests and keep binary tree test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 17:00:52 +02:00
Omar Shrit 7ef10acef2 Use pointer wrapper in binary_space_tree
This will serialize raw pointers using pointer wrapper

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 16:57:15 +02:00
Omar Shrit 94f07daca0 Replace boost::serialization by cereal in Test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 16:53:46 +02:00
Omar Shrit e62e339422 Replace boost serialization headers with cereal headers
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 16:27:59 +02:00
Omar Shrit 1b7a70bb4f Add a pointer wrapper header in prereqs header file
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 16:12:22 +02:00
Omar Shrit 8e035fea12 Adding a local make_unique since it is not available in C++11
This is a small hack until the mlpack uses C++14 as the defaults

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 16:09:44 +02:00
Omar Shrit 9a4ef61e06 Add a pointer wrapper to make cereal serialize raw pointer
This is a local implmentation since cereal does not support
the serialization of raw pointers

Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 15:12:47 +02:00
nishantkr18 94f8c081a9 removed minor styling issues 2020-07-07 16:22:47 +05:30
Omar Shrit b0a468c02f Remove pointer wrapper test
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 12:34:29 +02:00
Omar Shrit 52efa3075a Merge branch 'cereal' of https://github.com/shrit/mlpack into cereal 2020-07-07 12:29:28 +02:00
Omar Shrit 987dee5bf3 macro for pointer wrapper, not finished yet
Signed-off-by: Omar Shrit <omar@shrit.me>
2020-07-07 12:15:15 +02:00
shritandRyan Curtin 097063fe4f Adding missing reference in the wrapper
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-07 10:35:23 +02:00
shritandRyan Curtin 4cf63a0c01 return the class directly instead of object of it
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2020-07-07 10:33:16 +02:00
nishantkr18 24bb2618e4 Added some documentation for env_type 2020-07-06 22:35:41 +05:30