commit54c6ebe03aMerge:775a3b55fb406fc150Author: Ryan Curtin <ryan@ratml.org> Date: Sun May 1 13:24:24 2022 -0400 Merge pull request #3200 from shubham1206agra/go-cli-fix Go Build Fix commit775a3b55f7Merge:8e72ed69854e291443Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 30 10:41:45 2022 -0400 Merge pull request #3198 from shubham1206agra/py-cli-fix Python Build Fix commit8e72ed6986Merge:f7cd038661c1182301Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 30 10:40:59 2022 -0400 Merge pull request #3199 from shubham1206agra/r-cli-fix R Build Fix commitb406fc1506Author: shubham1206agra <tt1191044@iitd.ac.in> Date: Fri Apr 29 10:42:32 2022 +0530 changes according to suggestion commit54e2914430Author: Shubham Agrawal <58412969+shubham1206agra@users.noreply.github.com> Date: Fri Apr 29 10:20:14 2022 +0530 Update src/mlpack/bindings/python/copy_artifacts.py Co-authored-by: Ryan Curtin <ryan@ratml.org> commitf7cd038660Merge:065fcee293eb8ae67eAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Apr 28 19:00:58 2022 -0700 Merge pull request #2777 from zoq/ann-vtable Swap boost::variant with vtable. commitad4569213aAuthor: shubham1206agra <tt1191044@iitd.ac.in> Date: Thu Apr 28 19:32:14 2022 +0530 temp sol to version issue commit1bfa385663Author: shubham1206agra <tt1191044@iitd.ac.in> Date: Thu Apr 28 18:48:03 2022 +0530 initial fix by disabling go modules commit1c1182301eAuthor: shubham1206agra <tt1191044@iitd.ac.in> Date: Thu Apr 28 12:46:18 2022 +0530 force install pkgbuild commit3cfbb4e65dAuthor: shubham1206agra <tt1191044@iitd.ac.in> Date: Thu Apr 28 12:36:51 2022 +0530 cleanup commitfeab906927Author: shubham1206agra <tt1191044@iitd.ac.in> Date: Thu Apr 28 11:28:32 2022 +0530 missing '/' added commit577cc2d692Author: shubham1206agra <tt1191044@iitd.ac.in> Date: Thu Apr 28 10:33:02 2022 +0530 new directory structure using glob commit3eb8ae67ecMerge:6f98ab7bc065fcee29Author: Ryan Curtin <ryan@ratml.org> Date: Wed Apr 27 20:51:46 2022 -0400 Merge remote-tracking branch 'origin/master' into ann-vtable commit6f98ab7bc9Author: Eshaan Agarwal <eshaan060202@gmail.com> Date: Wed Apr 13 20:13:06 2022 +0530 Fix style issues Co-authored-by: Ryan Curtin <ryan@ratml.org> commitac3097e875Author: eshaanagarwal <eshaan060202@gmail.com> Date: Wed Apr 13 18:22:03 2022 +0530 fix error in size_t cast Signed-off-by: eshaanagarwal <eshaan060202@gmail.com> commitd03aafacf6Author: eshaanagarwal <eshaan060202@gmail.com> Date: Tue Apr 5 13:02:00 2022 +0530 add parameter documentation in size checks commite55609d5beAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Tue Apr 5 00:51:27 2022 +0530 Add transpose parameter in size check commita485da2b71Author: eshaanagarwal <eshaan060202@gmail.com> Date: Thu Mar 31 04:22:53 2022 +0530 fixed issues in styling commitdff01492edAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Mon Mar 14 22:25:27 2022 +0530 fixed styling issues commitca50361083Author: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 22:50:03 2022 +0530 fix build issue by removing row vector assert condition commit5b7d36db85Author: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 20:15:07 2022 +0530 fix failed build commit614f924a4eAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 19:50:54 2022 +0530 fixed redundancy in size-checks commitf67c566a5fAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 19:30:22 2022 +0530 fix matrix completion size-checks commite1e2b5308bAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 12:19:37 2022 +0530 remove incorrect checks in adaboost commite5d701df32Author: eshaanagarwal <eshaan060202@gmail.com> Date: Thu Mar 10 16:30:49 2022 +0530 fix size checks commit2656b300f9Author: eshaanagarwal <eshaan060202@gmail.com> Date: Thu Mar 10 12:24:15 2022 +0530 fix styling issue Signed-off-by: eshaanagarwal <eshaan060202@gmail.com> commitef4d293fedAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Wed Mar 9 02:33:08 2022 +0530 Add: size checks for kmeans and linear regression commit640dd0cde8Author: eshaanagarwal <eshaan060202@gmail.com> Date: Tue Mar 8 02:27:38 2022 +0530 Add : Size checks for adaboost and matix completion Signed-off-by: eshaanagarwal <eshaan060202@gmail.com> commit66bc9cbe00Author: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:29:30 2022 -0400 Huh, I guess it is a new year. commit7b0c1e157bAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:29:15 2022 -0400 Update HISTORY. commite4be17defeAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:26:42 2022 -0400 Add test for KFoldCV and Perceptron. commita70437ffc3Author: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:26:28 2022 -0400 Add constructor to Perceptron for weighted data for KFoldCV. commit9b86271002Author: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:26:08 2022 -0400 Make Classify() set the output predictions' size. commita35fc3b994Author: Yashwants19 <Yashwants19@users.noreply.github.com> Date: Sun Apr 17 10:02:24 2022 +0000 Upgrade Catch to 2.13.9 commita1bb763729Author: Omar Shrit <omar@shrit.me> Date: Sat Apr 16 21:40:15 2022 +0200 Update src/mlpack/core/data/save_image.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit57cec6f081Author: Omar Shrit <omar@shrit.me> Date: Sat Apr 16 16:20:14 2022 +0100 Apply @rcurtin modification to check STB version Signed-off-by: Omar Shrit <omar@shrit.me> commit8e34862cf6Author: Omar Shrit <omar@shrit.me> Date: Sun Mar 13 21:28:32 2022 +0000 Let us see inital try for STB test Signed-off-by: Omar Shrit <omar@shrit.me> commitafcc862cedAuthor: Omar Shrit <omar@shrit.me> Date: Thu Feb 3 21:46:40 2022 +0000 Adding the missing starts, shitty regexp Signed-off-by: Omar Shrit <omar@shrit.me> commit0c076cca19Author: Omar Shrit <omar@shrit.me> Date: Tue Jan 25 12:09:08 2022 +0000 Finish this PR Signed-off-by: Omar Shrit <omar@shrit.me> commitb26f2d2a15Author: Omar Shrit <omar@shrit.me> Date: Mon Jan 24 22:15:55 2022 +0000 Refactor save_image into save_image_impl finally done!! Signed-off-by: Omar Shrit <omar@shrit.me> commit8fffbd55faAuthor: Omar Shrit <omar@shrit.me> Date: Mon Jan 24 21:20:12 2022 +0000 Adjust namespace of mlpack::Log Signed-off-by: Omar Shrit <omar@shrit.me> commit37367c7ec5Author: Omar Shrit <omar@shrit.me> Date: Mon Jan 24 19:51:55 2022 +0100 Update src/mlpack/core/data/image_info_impl.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commit3cc2d250b5Author: Omar Shrit <omar@shrit.me> Date: Mon Jan 24 19:51:49 2022 +0100 Update src/mlpack/core/data/image_info_impl.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commit55c6cfd7dfAuthor: Omar Shrit <omar@shrit.me> Date: Sun Jan 23 19:38:29 2022 +0000 Apply @rcurtin patch to fix the STB issue. Signed-off-by: Omar Shrit <omar@shrit.me> commit8cdb53a313Author: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 18:20:04 2022 +0000 Commenting all #defines that are causing the problems Signed-off-by: Omar Shrit <omar@shrit.me> commite2e000b06fAuthor: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 16:21:27 2022 +0000 Move constructor to implementation Signed-off-by: Omar Shrit <omar@shrit.me> commit981f57c4beAuthor: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 16:03:30 2022 +0000 Compiling locally, adding all modifications Signed-off-by: Omar Shrit <omar@shrit.me> commit4d29f5f9c1Author: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 12:59:31 2022 +0000 Provide more details for namespace in src/mlpack/methods/det/dtree_impl.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commite8a76f8f35Author: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 12:59:03 2022 +0000 Remove mlpack namspace from src/mlpack/methods/hmm/hmm_util_impl.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commit9dd15d0865Author: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 12:58:50 2022 +0000 remove mlpack namespace from src/mlpack/methods/reinforcement_learning/q_networks/categorical_dqn.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commitaa057ccb8bAuthor: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 12:58:38 2022 +0000 Remove mlpack namespace from src/mlpack/methods/hmm/hmm_util_impl.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commit61cc69b1a5Author: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 12:58:22 2022 +0000 Remove mlpack namespace from src/mlpack/methods/reinforcement_learning/q_networks/dueling_dqn.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commit31f9545685Author: Omar Shrit <omar@shrit.me> Date: Sun Jan 16 12:58:06 2022 +0000 Remove mlpack namespace from src/mlpack/methods/reinforcement_learning/q_networks/simple_dqn.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commit665711b9ceAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:33:51 2021 +0100 Remove additional line in src/mlpack/core/kernels/pspectrum_string_kernel.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commit895c885b44Author: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:33:08 2021 +0100 Fix indentation in src/mlpack/core/data/detect_file_type.hpp Co-authored-by: Ryan Curtin <ryan@ratml.org> commitcf6f60aee8Author: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:32:55 2021 +0100 Add forgetten dot in src/mlpack/core/math/random_basis.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit21e045928aAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:32:38 2021 +0100 Add spaces in src/mlpack/core/math/lin_alg_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit1f79e4fc83Author: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:32:16 2021 +0100 Remove additional line in src/mlpack/core/math/lin_alg_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit6dc2d63af6Author: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:32:00 2021 +0100 Fix indentation src/mlpack/core/math/lin_alg_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commited07d9f05aAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:31:41 2021 +0100 Fix indentation in src/mlpack/core/math/lin_alg_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit047dc47b3bAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:31:24 2021 +0100 Add parantheses in src/mlpack/core/math/lin_alg_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit2dae84947aAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:31:00 2021 +0100 Fix style in src/mlpack/core/kernels/epanechnikov_kernel_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit8666165293Author: Omar Shrit <omar@shrit.me> Date: Thu Dec 16 15:30:43 2021 +0100 Update style in src/mlpack/core/kernels/epanechnikov_kernel_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit6254b4b49aAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 2 23:54:27 2021 +0000 Add forgetten layer name Signed-off-by: Omar Shrit <omar@shrit.me> commit407b563330Author: Omar Shrit <omar@shrit.me> Date: Thu Dec 2 22:54:06 2021 +0000 Clean all using namespaces from the headers. Signed-off-by: Omar Shrit <omar@shrit.me> commit4a713818abAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 2 19:40:02 2021 +0000 Fix the random_basis_impl in addition Signed-off-by: Omar Shrit <omar@shrit.me> commit99a485b6beAuthor: Omar Shrit <omar@shrit.me> Date: Thu Dec 2 19:39:05 2021 +0000 Clean partly the namespace. Let us see if this resolve the macOS issues Signed-off-by: Omar Shrit <omar@shrit.me> commit986bdb6bddAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 20 22:03:31 2021 +0000 Adjust namespace in preprocess Signed-off-by: Omar Shrit <omar@shrit.me> commitc3691bdf65Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 20 20:33:55 2021 +0000 Remove the mlpack:: namespace Signed-off-by: Omar Shrit <omar@shrit.me> commitadbedb857bAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 20 19:56:14 2021 +0000 Adding missing math/random headers Signed-off-by: Omar Shrit <omar@shrit.me> commitd246f94286Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 20 19:29:07 2021 +0000 Fix the gmm error Signed-off-by: Omar Shrit <omar@shrit.me> commit10ed5c1c96Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 20 17:06:11 2021 +0000 Let us if this resolves the binding issues Signed-off-by: Omar Shrit <omar@shrit.me> commit8b0c8038ddAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 19:52:19 2021 +0000 Adding a missing std string Signed-off-by: Omar Shrit <omar@shrit.me> commitff2f37c4e7Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 19:40:23 2021 +0000 Finish the pspectrum_string_kernel Signed-off-by: Omar Shrit <omar@shrit.me> commitc6bf80178aAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 19:39:32 2021 +0000 Deleting epanechnikov_kernel and adding pspectrum_string_kernel Signed-off-by: Omar Shrit <omar@shrit.me> commit09f508c6deAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 19:33:05 2021 +0000 Finishing the epanechnikov_kernel Signed-off-by: Omar Shrit <omar@shrit.me> commit61d01a3949Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 19:23:57 2021 +0000 remove epanechnikov_kernel Signed-off-by: Omar Shrit <omar@shrit.me> commitbd84bb2d0dAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 19:15:58 2021 +0000 inline random_basis Signed-off-by: Omar Shrit <omar@shrit.me> commit90b80ea766Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 19:11:32 2021 +0000 Adding missing headers Signed-off-by: Omar Shrit <omar@shrit.me> commite0c5ac34fbAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 18:56:00 2021 +0000 move the impl from .cpp to .impl Signed-off-by: Omar Shrit <omar@shrit.me> commit85a53b486fAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 18:43:17 2021 +0000 Fix the compilation warning related to include implementations Signed-off-by: Omar Shrit <omar@shrit.me> commitc1d3833ff1Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 18:24:15 2021 +0000 Fix comments and compilation bugs Signed-off-by: Omar Shrit <omar@shrit.me> commitb037f4f69fAuthor: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 18:12:02 2021 +0000 Finish inlining the data dir Signed-off-by: Omar Shrit <omar@shrit.me> commit0941f65038Author: Omar Shrit <omar@shrit.me> Date: Sat Nov 13 18:04:01 2021 +0000 Make save image header only Signed-off-by: Omar Shrit <omar@shrit.me> commitba84188163Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Wed Mar 16 23:23:01 2022 -0400 Prettify C++ code used to check for atomic linkage. commitf9cc2f6bfaAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Tue Mar 15 22:14:12 2022 -0400 If we use MSVC no need to check for atomic. commit119da780edAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Feb 20 21:15:50 2022 -0500 Check if libatomic is bundled. commit96f4d9aea6Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Wed Feb 16 21:42:44 2022 -0500 Check if atomics need -latomic linking. commit47f94fbaeeAuthor: zoq <zoq@users.noreply.github.com> Date: Thu Apr 14 10:05:15 2022 +0000 Upgrade Boost Version in CMake script. commitc31961bc46Author: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Thu Apr 14 09:53:55 2022 +0800 Update contributor list commit2d77be64d9Author: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Wed Apr 13 09:33:03 2022 +0800 Replace boost::heap::priority_queue with std::vector commitaa4a8b3922Author: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Wed Apr 13 00:40:08 2022 +0800 Add vector and queue to standard includes commitd9145891a7Author: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Wed Apr 13 00:38:40 2022 +0800 Replace boost::heap::priority_queue with std::vector commit58518ab811Author: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Wed Apr 13 00:27:28 2022 +0800 Replace boost::heap::priority_queue with std::vector commitbc30907f5aAuthor: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Sat Apr 9 15:04:31 2022 +0800 Replace boost::heap::priority_queue with std::vector commite117627c7fAuthor: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Sat Apr 9 14:58:28 2022 +0800 Replace boost::heap::priority_queue with std::vector commit4d962ebab6Author: LiuZhuojin <zhuojinliu.cs@gmail.com> Date: Fri Apr 8 13:53:10 2022 +0800 Replace boost::heap::priority_queue with std::vector commit65afadc4afAuthor: Yashwants19 <Yashwants19@users.noreply.github.com> Date: Fri Apr 1 10:00:54 2022 +0000 Upgrade CLI11 to 2.2.0 commit5875d3625aAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Apr 27 16:10:15 2022 -0400 Apply suggestions from code review Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commitfef34ea8dbAuthor: shubham1206agra <tt1191044@iitd.ac.in> Date: Wed Apr 27 19:25:31 2022 +0530 trying something else commit64e1f75b65Author: shubham1206agra <tt1191044@iitd.ac.in> Date: Wed Apr 27 19:11:02 2022 +0530 trying config file commit065fcee296Merge:56d3f163601fa1241cAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 18 15:43:03 2022 -0700 Merge pull request #3164 from eshaanagarwal/size-checks Added Size checks for Matrix Completion, Kmeans and Linear Regression commit56d3f16368Merge:2994570a0152094dbbAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 18 06:01:10 2022 -0700 Merge pull request #3190 from mlpack/fix-perceptron-cv Add weighted data constructor to `Perceptron` commit2994570a05Merge:fdc7af7a6c47cebdd8Author: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 18 05:55:12 2022 -0700 Merge pull request #3191 from mlpack/catch-header-updates-2.13.9 Upgrade Catch to 2.13.9 commitc47cebdd82Author: Yashwants19 <Yashwants19@users.noreply.github.com> Date: Sun Apr 17 10:02:24 2022 +0000 Upgrade Catch to 2.13.9 commit1645bb22ebAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 16 21:05:15 2022 -0400 Use `typename` instead of `class` for consistency. commitd8a1c27b7fAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 16 20:55:50 2022 -0400 Add serialization to GlorotInit. commit152094dbbeAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:29:30 2022 -0400 Huh, I guess it is a new year. commitc17e9c2f0fAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:29:15 2022 -0400 Update HISTORY. commit9a6551a1b5Author: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:26:42 2022 -0400 Add test for KFoldCV and Perceptron. commit3133a4abbdAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:26:28 2022 -0400 Add constructor to Perceptron for weighted data for KFoldCV. commit80e65d8a5dAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 15 21:26:08 2022 -0400 Make Classify() set the output predictions' size. commit01fa1241ceAuthor: Eshaan Agarwal <eshaan060202@gmail.com> Date: Wed Apr 13 20:13:06 2022 +0530 Fix style issues Co-authored-by: Ryan Curtin <ryan@ratml.org> commitcb35eba204Author: eshaanagarwal <eshaan060202@gmail.com> Date: Wed Apr 13 18:22:03 2022 +0530 fix error in size_t cast Signed-off-by: eshaanagarwal <eshaan060202@gmail.com> commitf12d714c50Author: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 11 13:34:43 2022 -0400 Comment on the weightsPtr parameter. commit44b30019f4Author: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 11 13:32:39 2022 -0400 Add another padding test for Convolution. commit1a9f7ccd5bAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 11 11:56:39 2022 -0400 Return correct type of Weights(). commitbacd18db55Author: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 11 11:53:54 2022 -0400 Update src/mlpack/methods/ann/layer/concatenate_impl.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit3dfe5a000dAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 11 11:53:40 2022 -0400 Update src/mlpack/methods/ann/layer/concatenate.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit6b47a9cd67Author: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 11 11:53:33 2022 -0400 Update src/mlpack/methods/ann/layer/alpha_dropout.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit77203b84cfAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 11 11:53:25 2022 -0400 Update src/mlpack/methods/ann/layer/alpha_dropout.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit845a5a0aedAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Tue Apr 5 13:02:00 2022 +0530 add parameter documentation in size checks commit07be7313a7Author: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 4 22:23:36 2022 -0400 Use network.Forward() to avoid the extra output copy. commit0710d9f111Author: Ryan Curtin <ryan@ratml.org> Date: Mon Apr 4 22:05:35 2022 -0400 Update src/mlpack/methods/ann/ffn.hpp Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de> commit0e9f05adbcAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Tue Apr 5 00:51:27 2022 +0530 Add transpose parameter in size check commit2cd38b3c9eAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 22:02:45 2022 -0400 Some additional cleanups. commitc38625f8d4Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 22:01:13 2022 -0400 Change 'rho' to 'bpttSteps' for clarity. commit6eecba768aAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 21:55:50 2022 -0400 Include numeric header for std::accumulate. commit12287174e4Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 21:29:51 2022 -0400 Fix TODOs in LSTM layer. commit71ecddf8f6Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 20:49:03 2022 -0400 Some cleanups of the RNN class. commit83a178dffaAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 16:53:25 2022 -0400 Some additional type fixes. commitf5b3885998Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 16:30:02 2022 -0400 Remove unused typedef. commiteae99cfacaAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 16:27:29 2022 -0400 Simplify Shuffle() implementation. commit250ab5cdd0Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 16:24:42 2022 -0400 Remove unused Swap() function declaration. commit1432420917Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 16:23:28 2022 -0400 Use MakeAlias() in the RNN implementation. commit03045b0235Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 16:08:59 2022 -0400 Fix line wrap. commitfe8a288613Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 16:07:01 2022 -0400 Minor fixes to tests. commit44a18de28cAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:58:36 2022 -0400 Clarify RNN comment. commit10d04c4153Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:57:02 2022 -0400 Add clarifying comment about where MakeAlias() is used. commit19c60244a7Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:56:06 2022 -0400 More CEREAL_NVP() fixes. commitd45d8787b9Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:54:58 2022 -0400 Fix serialization: use CEREAL_NVP(). commit194211feecAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:53:45 2022 -0400 Fixes for RBFType implementation comments. commit9c33d6b780Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:52:02 2022 -0400 Fix header guard name. commit880c95bee5Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:50:50 2022 -0400 Fix typo. commit2fdd4b823bAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:50:27 2022 -0400 Add explanatory comment. commit416dfc7c4aAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 15:48:36 2022 -0400 Fix inaccurate comment. commit19563e3f63Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:49:37 2022 -0400 Update comment. commitff3717bc53Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:41:01 2022 -0400 Fix typo in comment. commitac42ea450bAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:40:39 2022 -0400 Clarify implementations. commit20c7b5a836Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:37:01 2022 -0400 Remove unused method. commit4fb0dd4965Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:36:36 2022 -0400 Fix includes. commit5253b1427aAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:28:42 2022 -0400 Clarify comment. commitf0aceda809Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:27:38 2022 -0400 Fix serialization for base layer. commit2413a1cdf5Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:26:38 2022 -0400 Add a comment. commit2f0a9419efAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 14:26:05 2022 -0400 Use MakeAlias() instead. commitc599ecfd1aAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:23:32 2022 -0400 Change BaseLayer names for consistency. commit6d69ea45f1Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:18:45 2022 -0400 Clear member that is not serialized on loading. commit8f52887fb5Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:16:29 2022 -0400 Remove inaccurate comments (we did not drop these). commitcb952537e2Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:15:56 2022 -0400 Re-add removed files from CMake. commitc75d03ff6fAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:14:53 2022 -0400 Fix line spacing. commit8b2e57d32eAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:13:46 2022 -0400 Add a clarifying comment. commit454c746491Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:12:52 2022 -0400 Remove duplicated `training` member. commitc6443a43d8Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:05:37 2022 -0400 Add clarifying comment. commit6258a8a9fcAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 13:02:25 2022 -0400 Clean up copy and move operators. commit07fc52fba3Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 12:51:28 2022 -0400 Some clarifying comments. commit0ed1971ce0Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 12:50:24 2022 -0400 Some cleanups of Forward() and Backward(). commitcade46d605Author: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 12:31:27 2022 -0400 Some extra paranoia about `Network()`. commit20bf26651cAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Apr 3 12:18:34 2022 -0400 Use a separate file for forward declarations. commit56ef5ded8aAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 21:38:09 2022 -0400 Oops, revert unintentional CMake changes. commita1e3a8dbefAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 21:28:20 2022 -0400 Fix minor merge issues. commitf52a977dacMerge:835499fdbc4bb721efAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 19:15:59 2022 -0400 Merge remote-tracking branch 'origin/master' into ann-vtable commit835499fdb4Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 18:39:16 2022 -0400 Fix comments and remove working comments. commit2950e1ff9dAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 18:36:29 2022 -0400 Add comments to RecurrentLayer implementation. commit23d27c9b5dAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 18:20:59 2022 -0400 Minor style fixes. commite542fd8404Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 18:19:44 2022 -0400 Comment default typedefs. commit59ca9428c6Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 18:16:28 2022 -0400 Add standardized comment about MatType. commitcc4e3aec28Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 17:52:48 2022 -0400 Use 'Type' and typedef conventions for loss functions. commit232ce2a342Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 15:37:55 2022 -0400 Adapt CustomLayer for testing to have only one template parameter. commit9a9b6334a6Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 15:37:41 2022 -0400 Adapt tests for FFNs and RNNs having only one template parameter for type. commit9fe42a2d7bAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 15:37:21 2022 -0400 Adapt to use only one template parameter. commit6ff20e912bAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 15:36:52 2022 -0400 Adapt to use only one template parameter for types. commit48685d3483Author: Ryan Curtin <ryan@ratml.org> Date: Sat Apr 2 15:36:34 2022 -0400 Adapt to use only one template parameter. commitd79df40382Author: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 1 19:42:59 2022 -0400 Don't allow calling Parameters() on a layer with no weights. commit6cdd49ab88Author: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 1 18:21:50 2022 -0400 Some early attempts to adapt some tests. commit0d73c5e1e2Author: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 1 18:20:50 2022 -0400 Early attempts at refactoring Q-learning code. commita446c67f5aAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Apr 1 17:53:47 2022 -0400 Re-enable RLComponentsTest. commit263d1ddd15Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 30 22:07:37 2022 -0400 Allow the Rho parameter to be reset (it should also be renamed). commitbcbeebcf27Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 30 22:07:27 2022 -0400 Adapt CustomLayer. commit53d903d1c4Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 30 21:17:29 2022 -0400 Re-add the callback tests. commitf34513341fAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 30 21:15:36 2022 -0400 We don't have an arbitrary type; move() should be used here. commit5a2f58f559Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 30 20:03:55 2022 -0400 Re-enable some of the activation function tests. commit0155643e72Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 30 19:36:28 2022 -0400 Forward() should not worry about whether we are in single mode (that's only relevant for training). commitb3b5c6827aAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Thu Mar 31 04:22:53 2022 +0530 fixed issues in styling commited424ae4a1Author: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 29 21:23:37 2022 -0400 Remove other bits of boost::visitor things. commitbe9a3882adAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 29 21:23:28 2022 -0400 Comment out RBMNetworkTests. commitf1f5fc7fa2Author: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 29 21:23:22 2022 -0400 Fix includes for moved files. commit112016ccf1Author: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 29 21:22:59 2022 -0400 Remove boost usage. commit2da71b1f36Author: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 29 21:22:46 2022 -0400 Move some files that aren't yet adapted or are unneeded. commit1998227d9cAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 29 19:58:28 2022 -0400 Fix header guard name. commitf2a1b79e99Author: Ryan Curtin <ryan@ratml.org> Date: Sun Mar 27 14:16:58 2022 -0400 Fix incorrect step reference. commit7fa7eb15f0Author: Ryan Curtin <ryan@ratml.org> Date: Sun Mar 27 12:16:33 2022 -0400 Don't forget virtual destructor for LSTMType. commita501389238Author: Ryan Curtin <ryan@ratml.org> Date: Sun Mar 27 12:16:14 2022 -0400 Make sure to be able to serialize RecurrentLayer. commit4c8364c169Author: Ryan Curtin <ryan@ratml.org> Date: Sun Mar 27 12:15:52 2022 -0400 No need to serialize the training-time-only predictors and responses. commitc219a57da3Author: Ryan Curtin <ryan@ratml.org> Date: Sun Mar 27 12:15:38 2022 -0400 Reference local `results` instead of class-wide `responses`. commit9b7b7f875dAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Mar 27 12:15:20 2022 -0400 Add copy and move operator implementation. commitaccce42b35Author: Ryan Curtin <ryan@ratml.org> Date: Sun Mar 27 12:14:55 2022 -0400 Oops, add RecurrentLayer to the repository. commitdf613499f3Author: Ryan Curtin <ryan@ratml.org> Date: Fri Mar 25 11:59:49 2022 -0400 Adapt test to use multiple epochs. commitaa0ce85656Author: Ryan Curtin <ryan@ratml.org> Date: Fri Mar 25 11:58:43 2022 -0400 Fix alias computation. commit20b109fe42Author: Ryan Curtin <ryan@ratml.org> Date: Fri Mar 25 11:57:57 2022 -0400 Set step correctly for forward pass. commit9ff1fb11f5Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 23 22:40:52 2022 -0400 Test that the RNN and FFN give the same output for only one time step. commit66d929f923Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 23 22:40:42 2022 -0400 Handle series with only one time step. commit0c97b42d80Author: Ryan Curtin <ryan@ratml.org> Date: Wed Mar 23 17:58:28 2022 -0400 Be sure to serialize rho and single too. commit76992e86d6Author: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 22 21:26:19 2022 -0400 Add serialization for some more initializations. commitd6e200ff37Author: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 22 21:26:09 2022 -0400 Fix include issue (this may not be the right fix). commit080dcfccb4Author: Ryan Curtin <ryan@ratml.org> Date: Tue Mar 22 21:25:59 2022 -0400 Correct NumFunctions() implementation. commit4816d7ccfeAuthor: Ryan Curtin <ryan@ratml.org> Date: Sat Mar 19 23:48:10 2022 -0400 Some other minor bugfixes; now the tests pass. commit80efe31e5bAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Mar 17 22:06:01 2022 -0400 Fix a few bugs---now LSTMBatchSizeTest works! (That doesn't mean that RNNs actually work...) commiteab019541dAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Mar 17 21:12:19 2022 -0400 Comment out tests that don't work yet. commit9ff8fd401dAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Mar 17 21:11:47 2022 -0400 Clean up (in some places) RNN implementation. commit5683066a66Author: eshaanagarwal <eshaan060202@gmail.com> Date: Mon Mar 14 22:25:27 2022 +0530 fixed styling issues commit68e40a6b23Author: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 22:50:03 2022 +0530 fix build issue by removing row vector assert condition commitca353778a4Author: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 20:15:07 2022 +0530 fix failed build commit6883c30cb2Author: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 19:50:54 2022 +0530 fixed redundancy in size-checks commit2685d69097Author: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 19:30:22 2022 +0530 fix matrix completion size-checks commitf4db66192bAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Fri Mar 11 12:19:37 2022 +0530 remove incorrect checks in adaboost commit05d74baffdAuthor: eshaanagarwal <eshaan060202@gmail.com> Date: Thu Mar 10 16:30:49 2022 +0530 fix size checks commit54f6506015Author: eshaanagarwal <eshaan060202@gmail.com> Date: Thu Mar 10 12:24:15 2022 +0530 fix styling issue Signed-off-by: eshaanagarwal <eshaan060202@gmail.com> commit8714c77a95Author: eshaanagarwal <eshaan060202@gmail.com> Date: Wed Mar 9 02:33:08 2022 +0530 Add: size checks for kmeans and linear regression commit0a0681f2a5Author: eshaanagarwal <eshaan060202@gmail.com> Date: Tue Mar 8 02:27:38 2022 +0530 Add : Size checks for adaboost and matix completion Signed-off-by: eshaanagarwal <eshaan060202@gmail.com> commitbd08f9a92eAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 16 22:18:54 2022 -0500 Remove debugging output. commitd8b72a862bAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Wed Feb 9 22:14:32 2022 -0500 Some RNN refactoring. commit93fecce9c8Author: Ryan Curtin <ryan@ratml.org> Date: Tue Feb 15 23:00:08 2022 -0500 Significant cleanup of all layers. The ones not in not_adapted/ (other than the LSTM) are ready for review. commitce12cd3e25Author: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 9 22:44:07 2022 -0500 Remove files from CMakeLists.txt. commitee117f355bAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 9 22:43:38 2022 -0500 Remove layer_traits.hpp since it's no longer needed. commit7b969f3014Author: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 9 22:41:54 2022 -0500 Move two layers that got missed. commite2502cbb9cAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 9 22:41:09 2022 -0500 Move unadapted layers into a separate directory (for organization). commitf72340106cAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 9 22:09:08 2022 -0500 Add some documentation about what will happen. commit637b93ddc0Merge:2065e17dfcf190e11fAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 9 22:05:56 2022 -0500 Merge remote-tracking branch 'origin/master' into ann-vtable commit2065e17df8Author: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 9 21:45:29 2022 -0500 Add a test for uneven stride. commitc532632ce9Author: Ryan Curtin <ryan@ratml.org> Date: Sat Feb 5 20:41:43 2022 -0500 Remove comments that turn out to be unnecessary to address. commit5e09ed1671Author: Ryan Curtin <ryan@ratml.org> Date: Sat Feb 5 18:08:06 2022 -0500 Fix implementations of NaiveConvolution for stride and dilation. commit5cd0e38eb6Author: Ryan Curtin <ryan@ratml.org> Date: Sat Feb 5 18:07:39 2022 -0500 Add tests for different strides and dilations. commit8c1a818540Author: Ryan Curtin <ryan@ratml.org> Date: Wed Feb 2 22:55:35 2022 -0500 Fix stride usage for backwards pass. commit110ed75b6fAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Feb 1 18:06:55 2022 -0500 Fix some minor issues and merge problems. commita77d290214Author: Ryan Curtin <ryan@ratml.org> Date: Thu Jan 27 16:28:22 2022 -0500 Add/fix final set of copy/move constructors/operators. commit11cc9a122bAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Jan 26 22:29:45 2022 -0500 Add and fix a bunch more copy/move constructors/operators. commitec06bcbbffAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Jan 25 22:44:34 2022 -0500 Start implementing copy and move constructors correctly. commitf842111039Author: Ryan Curtin <ryan@ratml.org> Date: Tue Jan 25 22:44:25 2022 -0500 Set sizes correctly for test. commit3f5e06e9c5Author: Ryan Curtin <ryan@ratml.org> Date: Sat Jan 22 11:20:35 2022 -0500 Restructure PaddingTest for slight behavior changes. commitabb1450102Author: Ryan Curtin <ryan@ratml.org> Date: Fri Jan 21 23:32:35 2022 -0500 Fix minor bugs in shape computation. commitd600ece415Author: Ryan Curtin <ryan@ratml.org> Date: Fri Jan 21 23:03:24 2022 -0500 Fix failing padding tests. commit94b3294a5dAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Jan 21 14:40:53 2022 -0500 Fix some merge issues. commitc3caed0490Merge:09a28caa93264cd87eAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Jan 20 20:23:26 2022 -0500 Merge remote-tracking branch 'origin/master' into ann-vtable commit09a28caa90Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jan 19 17:41:18 2022 -0500 Some minor bugfixes to FFN. Some need further cleanup. commit96f97421f2Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jan 19 17:16:57 2022 -0500 Fix bug in Gradient() implementation. commit6dc0596ad6Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jan 19 17:16:44 2022 -0500 Consider bias term in gradient. commit9a71a61aacAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Jan 7 18:16:18 2022 -0500 Fix setting of inputDimensionsAreSet. commita4ee2545f6Author: Ryan Curtin <ryan@ratml.org> Date: Tue Jan 4 20:12:34 2022 -0500 Add a sanity check test. It passes. commitf5c4b95860Author: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 28 21:47:40 2021 -0500 Remove debugging output. commitd8fef7eed6Author: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 28 21:47:17 2021 -0500 Adapt to new mlpack 4 conventions. commitbda6e0969fAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 28 21:46:59 2021 -0500 Fix failing tests. commit8d1c05c36fAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 28 21:46:44 2021 -0500 Update to mlpack 4 conventions. commitead043c9b8Author: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 28 21:45:41 2021 -0500 Oops, make sure to add the bias in the forward pass. commiteae19f7c28Author: Omar Shrit <omar@shrit.me> Date: Tue Nov 16 17:43:09 2021 +0000 Finishing the Alphadroput layer, tests are passing Signed-off-by: Omar Shrit <omar@shrit.me> commitc19e39a152Author: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 14 22:30:39 2021 -0500 Turns out the MaxPooling adaptation I did was wrong---this seems more correct. commita1fd4829a1Author: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 14 22:30:15 2021 -0500 Redo Convolution layer implementation. I think this is right but not 100% sure. commitca010221e9Author: Ryan Curtin <ryan@ratml.org> Date: Sun Nov 14 22:29:26 2021 -0500 Enable LeakyReLU layer. commit49954574e9Author: Ryan Curtin <ryan@ratml.org> Date: Mon Nov 1 19:17:24 2021 -0400 Add gradient test for Convolution layer... but it seems to work? commitbe5b4e5e01Author: Ryan Curtin <ryan@ratml.org> Date: Wed Oct 20 17:46:03 2021 -0400 Fix shape of input to reflect the number of input maps. commit19f06709d4Author: Ryan Curtin <ryan@ratml.org> Date: Tue Oct 19 10:18:14 2021 -0400 Use MakeAlias() to avoid accidental copies. commit081c32593dAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Sep 28 11:35:41 2021 -0400 Bias should be one per output map. commit58f1718be1Author: Ryan Curtin <ryan@ratml.org> Date: Tue Sep 28 11:22:07 2021 -0400 Huh, it seems like this fixes ConvolutionLayerPaddingTest. commit6fff4457c6Author: Ryan Curtin <ryan@ratml.org> Date: Mon Sep 20 11:09:36 2021 -0400 Fix two more tests by making sure the inputs and outputs are right. commitad2cb74d05Author: Ryan Curtin <ryan@ratml.org> Date: Sun Sep 19 00:10:20 2021 -0400 Fix some tests. commit051205d78fAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Sep 15 22:12:20 2021 -0400 Now at least the tests don't segfault. :) commit1152c75d23Author: Ryan Curtin <ryan@ratml.org> Date: Wed Sep 15 13:59:43 2021 -0400 Update some ann_layer tests. commitf05590b878Author: Ryan Curtin <ryan@ratml.org> Date: Wed Sep 15 13:59:29 2021 -0400 Fix convolution. commit1cbdaa8ac5Author: Ryan Curtin <ryan@ratml.org> Date: Wed Sep 15 13:58:09 2021 -0400 Fix bug for uninitialized output. commit3a00d82a23Author: Ryan Curtin <ryan@ratml.org> Date: Thu Sep 9 12:02:31 2021 -0400 Some cleanups for the convolution layer. commit72c0f58a27Author: Ryan Curtin <ryan@ratml.org> Date: Thu Sep 9 12:02:06 2021 -0400 Fix some incorrect dimension usages. commita46542b25fAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Sep 7 18:05:04 2021 -0400 Too much writing Julia... commit06f7b34d73Author: Ryan Curtin <ryan@ratml.org> Date: Fri Sep 3 18:43:21 2021 -0400 Fix max pooling bug. commitc9df713091Author: Ryan Curtin <ryan@ratml.org> Date: Sat Aug 21 10:44:43 2021 -0400 First attempt at refactoring Padding, MaxPooling, and Convolution. commit498afa0ab7Author: Ryan Curtin <ryan@ratml.org> Date: Sat Aug 7 11:15:14 2021 -0400 Fix various bugs in the MultiLayer implementation. commit8105bb8583Author: Ryan Curtin <ryan@ratml.org> Date: Wed Aug 4 21:19:54 2021 -0400 Refactor to use MultiLayer inside an FFN. commit5f7a9cd684Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Mon Aug 2 18:19:58 2021 +0200 Filter some 'unused' layers. commit8a4e5b9bdfAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Aug 1 21:42:09 2021 -0400 Refactor Highway (and fix MultiLayer). commit0375e7d575Author: Ryan Curtin <ryan@ratml.org> Date: Sun Aug 1 21:42:00 2021 -0400 Extra paranoia to avoid include boost::visitor... commitd3972c16daAuthor: Ryan Curtin <ryan@ratml.org> Date: Sun Aug 1 21:41:49 2021 -0400 Just make sure boost isn't included... commit57884df9f6Author: Ryan Curtin <ryan@ratml.org> Date: Sun Aug 1 21:41:33 2021 -0400 Split out into convenience function. commitd136ac3df3Author: Ryan Curtin <ryan@ratml.org> Date: Sun Aug 1 21:41:00 2021 -0400 Hey, this is no longer needed! :) commitbe7eeb134dMerge:ce3c3bceee3f4654a8Author: Ryan Curtin <ryan@ratml.org> Date: Fri Jul 23 16:45:08 2021 -0400 Merge branch 'ann-vtable-attempt' into HEAD commite3f4654a8aAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Jul 23 16:43:46 2021 -0400 Update RBF<> layer so tests pass. commitce3c3bcee6Merge:34cf419bb927fabff8Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Tue Jul 20 08:56:37 2021 -0400 Merge pull request #2 from rcurtin/ann-vtable-attempt Further refactoring of ANN to remove boost::visitor. commit927fabff8aAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Jul 13 17:53:33 2021 -0400 Adapt the last commented test in FeedforwardNetworkTest. commited8881d2b6Author: Ryan Curtin <ryan@ratml.org> Date: Tue Jul 13 17:48:46 2021 -0400 Uncomment another test. commitb05736d42cAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Jul 13 17:48:34 2021 -0400 Make sure Parameters() returns the correct thing. commit522ebd11feAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Jul 13 17:48:27 2021 -0400 Adapt AddType<>. commitc8c0797c9dAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Jul 13 17:19:57 2021 -0400 Adapt a few more layers, and uncomment some more tests. commit2b7429594fAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Jul 13 16:47:06 2021 -0400 Oops, I didn't really need to refactor this, but it might work. commitab67249f9fAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Jul 8 17:49:57 2021 -0400 Fix additional warnings. commita5bb31b824Author: Ryan Curtin <ryan@ratml.org> Date: Thu Jul 8 17:38:04 2021 -0400 Remove debugging output. commit188759042cAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Jul 8 17:37:42 2021 -0400 Fix a compilation warning. commit130890c85dAuthor: Ryan Curtin <ryan@ratml.org> Date: Thu Jul 8 17:36:09 2021 -0400 Some additional refactoring and cleanups. Notably, the adapted layers no longer need an input size. commit32b19eb7efAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Jul 7 19:08:32 2021 -0400 Refactor Reparametrization layer. commitd180cc3639Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jul 7 19:08:12 2021 -0400 Serialize output dimensions also. commita87672665cAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Jul 7 18:24:15 2021 -0400 Remove unnecessary copy/move constructor/operators. commitaf68997a6cAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Jul 7 18:22:30 2021 -0400 This function should be const. commit60fe292da9Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jul 7 18:22:10 2021 -0400 These are all the default versions anyway (but don't consider inheritance...). commit30e4ff741bAuthor: Ryan Curtin <ryan@ratml.org> Date: Tue Jul 6 16:22:37 2021 -0400 Update comments. commit7f7f56481fAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Jul 5 21:53:33 2021 -0400 Remove unnecessary functions. commit30aca349cfAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Jul 5 19:26:55 2021 -0400 Fix train/test modes. commitffba7a966cAuthor: Ryan Curtin <ryan@ratml.org> Date: Mon Jul 5 18:52:20 2021 -0400 Remove unnecessary utilities. commita3dd3739c6Author: Ryan Curtin <ryan@ratml.org> Date: Mon Jul 5 18:51:18 2021 -0400 Change 'deterministic' to 'training'. commitafa76d6ae8Author: Ryan Curtin <ryan@ratml.org> Date: Sun Jul 4 16:05:47 2021 -0400 Make sure that we save layerOutputs.back() in case we need it later... commit2875194721Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jun 23 19:58:38 2021 -0400 Fix FFNReturnModel test. commit292bfbef9cAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Jun 23 19:32:34 2021 -0400 Serialize deterministic in whatever state it is currently in---no assumptions. commita30e15fca7Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jun 23 19:32:20 2021 -0400 Remove unnecessary output. commit5d27a4d43eAuthor: Ryan Curtin <ryan@ratml.org> Date: Wed Jun 23 19:24:36 2021 -0400 Add the 'MultiLayer', although maybe we can just use the FFN class itself? commitc2b54b7af6Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jun 23 19:24:21 2021 -0400 Set the size correctly in Predict() and fix a few other errors. commit0c307e89deAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Jun 18 14:11:47 2021 -0400 Initialize totalInputSize and totalOutputSize in the right place. commitd2fd462a8cAuthor: Ryan Curtin <ryan@ratml.org> Date: Fri Jun 18 13:51:46 2021 -0400 Use aliases for layer outputs and deltas. commit064cb7b296Author: Ryan Curtin <ryan@ratml.org> Date: Fri Jun 18 12:42:29 2021 -0400 Okay, this passes FFVanillaNetworkTest! commit9a521c8080Author: Ryan Curtin <ryan@ratml.org> Date: Wed Jun 16 14:07:23 2021 -0400 Step 1: something compiles at all. commit5220de7d14Author: Ryan Curtin <ryan@ratml.org> Date: Fri May 28 12:52:21 2021 -0400 Fix some minor compilation issues. commitf8123469e9Author: Ryan Curtin <ryan@ratml.org> Date: Sat May 22 05:27:37 2021 -0400 Add serialization file. commit1b3ea01b45Author: Ryan Curtin <ryan@ratml.org> Date: Sat May 22 05:19:41 2021 -0400 In-progress, does not quite compile yet. commit34cf419bb8Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Jan 31 19:05:00 2021 +0100 Update FFN tests to use the base layer class. commitb700f8d311Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Jan 31 04:36:35 2021 +0100 Update FFN copy/move constructor tests to use the layer base class. commiteafac8609dAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sat Jan 30 04:39:08 2021 +0100 Add Clone() function which handles polymorphism correctly. commit0c4db57106Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Fri Jan 29 10:14:53 2021 +0530 typo fix commit21057324f3Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Thu Jan 28 16:21:27 2021 +0530 add ResetCell and Reward methods to base class and add method to push layer to ffn model commit43e7639e61Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Tue Jan 26 00:47:55 2021 +0100 Use layer base class for the network initialization. commitfadaaa59a2Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Mon Jan 25 00:04:26 2021 +0100 Update layer to use updated layer base class interface. commit3cdd972be8Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Jan 24 23:17:26 2021 +0100 Adjust determenistic parameter interface. commit5b453b712aAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Jan 24 23:14:04 2021 +0100 Add utiliy functions to update layer parameters and states. commitc641bc527cAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Jan 24 23:13:09 2021 +0100 Restructure FFN class to use the layer base class. commit9c29e5b603Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Tue Jan 19 21:17:32 2021 +0530 update weight_norm layer to use abstract class, and some other fixes commit5d62339e02Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Sun Jan 17 18:04:32 2021 +0530 update fast_lstm to use abstract class (without unit test) commitf2f84991ceAuthor: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Sun Jan 17 17:30:36 2021 +0530 migrate vr_class_reward to loss_functions commitecd2fae814Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Sat Jan 16 10:32:18 2021 +0530 update reinforce_normal and reparametrization layer to use abstract class commit826be5b404Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Fri Jan 15 23:29:21 2021 +0530 update virtual_batch_norm to support abstract class commitf694114805Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Fri Jan 15 23:14:22 2021 +0530 update select, subview, padding and transposed convolution to use abstract class commitdfec0f787dAuthor: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Fri Jan 15 18:28:43 2021 +0530 updated sequential layer to use abstract class commitc6675f4ba3Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Fri Jan 15 16:34:30 2021 +0530 update concat and highway layers to use abstract class commit0da7330f01Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Fri Jan 15 09:11:57 2021 +0530 update positional_encoding and multiply_merge layers to use abstract class commitc30d9ed85cAuthor: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Fri Jan 15 07:18:52 2021 +0530 slight style fixes and lexicographical ordering of layer_types commitcfdb84173aAuthor: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Thu Jan 14 11:22:58 2021 +0530 some corrections and updating layer_norm, max_pooling and mean_pooling commit97d865df79Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Thu Jan 14 10:25:47 2021 +0530 correction in convolution and update join and glimpse layer to use abstract class commit270aab791eAuthor: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Thu Jan 14 10:05:39 2021 +0530 update glimpse layer to use abstract class method commit28d56b1693Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Wed Jan 13 10:52:22 2021 +0530 corrected documentation and updated convolution layer commit09e2995346Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Wed Jan 13 09:19:09 2021 +0530 update multihead attention layer commitdd6b70c2f2Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Tue Jan 12 09:34:23 2021 +0530 update concatenate layer commit004818cca2Author: Mrityunjay Tripathi <mrityunjay2668@gmail.com> Date: Mon Jan 11 23:26:42 2021 +0530 update bilinear_interpolation, linear3d, lookup and base_layer commitaef1158187Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Jan 3 23:31:22 2021 +0100 Add Deterministic() to the abstract layer class. commit3f4d24f7f5Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Jan 3 23:06:40 2021 +0100 Update SpatialDropout layer to use the abstract layer class and add typedef. commit5193102f09Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sat Jan 2 20:57:20 2021 +0100 Update PReLU layer to use the abstract layer class and add typedef. commita57d13f838Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sat Jan 2 20:40:07 2021 +0100 Update CELU layer to use the abstract layer class and add typedef. commit47f35337f6Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sat Jan 2 20:25:57 2021 +0100 Update CReLU layer to use the abstract layer class and add typedef. commitcd05cbecd4Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sat Jan 2 18:54:42 2021 +0100 Update MultiplyConstant layer to use the abstract layer class and add typedef. commit8b0abc219aAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 22:57:13 2020 +0100 Update Softshrink layer to use the abstract layer class and add typedef. commit8cf621f4fdAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 19:57:37 2020 +0100 Update Softmin layer to use the abstract layer class and add typedef. commit3b0318a50dAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 17:44:04 2020 +0100 Update Softmax layer to use the abstract layer class and add typedef. commitf4f66af580Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 17:23:13 2020 +0100 Update Constant layer to use the abstract layer class and add typedef. commitcebce07398Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 16:25:25 2020 +0100 Update LeakyReLU layer to use the abstract layer class and add typedef. commit0217a19b25Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 14:39:47 2020 +0100 Update HardShrink layer to use the abstract layer class and add typedef. commit69f0d5b56aAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 14:24:29 2020 +0100 Update NoisyLinear layer to use the abstract layer class and add typedef. commitc927971363Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sun Dec 27 13:43:57 2020 +0100 Update LinearNoBias layer to use the abstract layer class and add typedef. commitdea01f7215Author: Aakash kaushik <kaushikaakash7539@gmail.com> Date: Fri Dec 25 22:41:46 2020 +0530 tests pass commit09d905f2e5Author: Aakash kaushik <aakash@pop-os.localdomain> Date: Fri Dec 25 17:28:02 2020 +0530 update adaptive_mean_pooling_layer to use the abstract class and added typedef commita893867f37Author: Aakash kaushik <aakash@pop-os.localdomain> Date: Fri Dec 25 17:27:30 2020 +0530 update adaptive_mean_pooling_layer to use the abstract class and added typedef commit66853d1a5bAuthor: Aakash kaushik <aakash@pop-os.localdomain> Date: Fri Dec 25 16:57:51 2020 +0530 update adaptive_max_pooling_layer to use the abstract class and added typedef commit60afb1e1bcAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Sat Dec 26 01:13:17 2020 +0100 Update Dropconnect layer to use the abstract layer class and add typedef. commit322753be75Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Thu Dec 24 11:57:47 2020 +0100 Update HardTanH layer to use the abstract layer class and add typedef. commit80ecca1356Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Thu Dec 24 11:41:37 2020 +0100 Update Dropout layer to use the abstract layer class and add typedef. commit9acac6838dAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Thu Dec 24 01:23:32 2020 +0100 Update ELU/SELU layer to use the abstract layer class and add typedefs. commit5ea2b93618Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Thu Dec 24 00:59:45 2020 +0100 Update SoftMax layer to use the abstract layer class and add typedef. commit2232915792Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Thu Dec 24 00:39:44 2020 +0100 Update FlexibleReLU layer to use the abstract layer class, add documentation and typedef. commit4fd7ae9da7Author: Marcus Edel <marcus.edel@fu-berlin.de> Date: Thu Dec 24 00:38:25 2020 +0100 Remove functions that are already part of the base class. commita6995f83eeAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Wed Dec 23 17:14:07 2020 +0100 Update Linear layer to use the abstract Layer class and add documentation and typedef. commita3f746580bAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Wed Dec 23 17:12:32 2020 +0100 Clean-up abstract layer class and add some further documentation. commitaa6d2b1aadAuthor: Marcus Edel <marcus.edel@fu-berlin.de> Date: Mon Dec 21 17:23:08 2020 +0100 Swap boost::variant with vtable.
a fast, flexible machine learning library
Home | Documentation | Doxygen | Community | Help | IRC Chat
Download: current stable version (3.4.2)
mlpack is an intuitive, fast, and flexible C++ machine learning library with bindings to other languages. It is meant to be a machine learning analog to LAPACK, and aims to implement a wide array of machine learning methods and functions as a "swiss army knife" for machine learning researchers. In addition to its powerful C++ interface, mlpack also provides command-line programs, Python bindings, Julia bindings, Go bindings and R bindings.
mlpack uses an open governance model and is fiscally sponsored by NumFOCUS. Consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.
0. Contents
- Introduction
- Citation details
- Dependencies
- Building mlpack from source
- Running mlpack programs
- Using mlpack from Python
- Further documentation
- Bug reporting
1. Introduction
The mlpack website can be found at https://www.mlpack.org and it contains numerous tutorials and extensive documentation. This README serves as a guide for what mlpack is, how to install it, how to run it, and where to find more documentation. The website should be consulted for further information:
- mlpack homepage
- mlpack documentation
- Tutorials
- Development Site (Github)
- API documentation (Doxygen)
2. Citation details
If you use mlpack in your research or software, please cite mlpack using the citation below (given in BibTeX format):
@article{mlpack2018,
title = {mlpack 3: a fast, flexible machine learning library},
author = {Curtin, Ryan R. and Edel, Marcus and Lozhnikov, Mikhail and
Mentekidis, Yannis and Ghaisas, Sumedh and Zhang,
Shangtong},
journal = {Journal of Open Source Software},
volume = {3},
issue = {26},
pages = {726},
year = {2018},
doi = {10.21105/joss.00726},
url = {https://doi.org/10.21105/joss.00726}
}
Citations are beneficial for the growth and improvement of mlpack.
3. Dependencies
mlpack has the following dependencies:
Armadillo >= 9.800
Boost (math_c99, spirit) >= 1.58.0
CMake >= 3.6
ensmallen >= 2.10.0
cereal >= 1.1.2
All of those should be available in your distribution's package manager. If not, you will have to compile each of them by hand. See the documentation for each of those packages for more information.
If you would like to use or build the mlpack Python bindings, make sure that the following Python packages are installed:
setuptools
cython >= 0.24
numpy
pandas >= 0.15.0
If you would like to build the Julia bindings, make sure that Julia >= 1.3.0 is installed.
If you would like to build the Go bindings, make sure that Go >= 1.11.0 is installed with this package:
Gonum
If you would like to build the R bindings, make sure that R >= 4.0 is installed with these R packages.
Rcpp >= 0.12.12
RcppArmadillo >= 0.8.400.0
RcppEnsmallen >= 0.2.10.0
BH >= 1.58
roxygen2
If the STB library headers are available, image loading support will be compiled.
If you are compiling Armadillo by hand, ensure that LAPACK and BLAS are enabled.
4. Building mlpack from source
This document discusses how to build mlpack from source. These build directions will work for any Linux-like shell environment (for example Ubuntu, macOS, FreeBSD etc). However, mlpack is in the repositories of many Linux distributions and so it may be easier to use the package manager for your system. For example, on Ubuntu, you can install the mlpack library and command-line executables (e.g. mlpack_pca, mlpack_kmeans etc.) with the following command:
$ sudo apt-get install libmlpack-dev mlpack-bin
On Fedora or Red Hat (EPEL):
$ sudo dnf install mlpack-devel mlpack-bin
Note: Older Ubuntu versions may not have the most recent version of mlpack available---for instance, at the time of this writing, Ubuntu 16.04 only has mlpack 3.4.2 available. Options include upgrading your Ubuntu version, finding a PPA or other non-official sources, or installing with a manual build.
Note: If you are using RHEL7/CentOS 7, gcc 4.8 is too old to compile mlpack.
One option is to use devtoolset-8; see
here for more
information.
There are some useful pages to consult in addition to this section:
mlpack uses CMake as a build system and allows several flexible build configuration options. You can consult any of the CMake tutorials for further documentation, but this tutorial should be enough to get mlpack built and installed.
First, unpack the mlpack source and change into the unpacked directory. Here we use mlpack-x.y.z where x.y.z is the version.
$ tar -xzf mlpack-x.y.z.tar.gz
$ cd mlpack-x.y.z
Then, make a build directory. The directory can have any name, but 'build' is sufficient.
$ mkdir build
$ cd build
The next step is to run CMake to configure the project. Running CMake is the
equivalent to running ./configure with autotools. If you run CMake with no
options, it will configure the project to build with no debugging symbols and
no profiling information:
$ cmake ../
Options can be specified to compile with debugging information and profiling information:
$ cmake -D DEBUG=ON -D PROFILE=ON ../
Options are specified with the -D flag. The allowed options include:
DEBUG=(ON/OFF): compile with debugging symbols
PROFILE=(ON/OFF): compile with profiling symbols
ARMA_EXTRA_DEBUG=(ON/OFF): compile with extra Armadillo debugging symbols
BOOST_ROOT=(/path/to/boost/): path to root of boost installation
ARMADILLO_INCLUDE_DIR=(/path/to/armadillo/include/): path to Armadillo headers
ARMADILLO_LIBRARY=(/path/to/armadillo/libarmadillo.so): Armadillo library
BUILD_CLI_EXECUTABLES=(ON/OFF): whether or not to build command-line programs
BUILD_PYTHON_BINDINGS=(ON/OFF): whether or not to build Python bindings
PYTHON_EXECUTABLE=(/path/to/python_version): Path to specific Python executable
PYTHON_INSTALL_PREFIX=(/path/to/python/): Path to root of Python installation
BUILD_JULIA_BINDINGS=(ON/OFF): whether or not to build Julia bindings
JULIA_EXECUTABLE=(/path/to/julia): Path to specific Julia executable
BUILD_GO_BINDINGS=(ON/OFF): whether or not to build Go bindings
GO_EXECUTABLE=(/path/to/go): Path to specific Go executable
BUILD_GO_SHLIB=(ON/OFF): whether or not to build shared libraries required by Go bindings
BUILD_R_BINDINGS=(ON/OFF): whether or not to build R bindings
R_EXECUTABLE=(/path/to/R): Path to specific R executable
BUILD_TESTS=(ON/OFF): whether or not to build tests
BUILD_SHARED_LIBS=(ON/OFF): compile shared libraries and executables as
opposed to static libraries
DISABLE_DOWNLOADS=(ON/OFF): whether to disable all downloads during build
ENSMALLEN_INCLUDE_DIR=(/path/to/ensmallen/include): path to include directory
for ensmallen
STB_IMAGE_INCLUDE_DIR=(/path/to/stb/include): path to include directory for
STB image library
USE_OPENMP=(ON/OFF): whether or not to use OpenMP if available
BUILD_DOCS=(ON/OFF): build Doxygen documentation, if Doxygen is available
(default ON)
For example, to build mlpack library and CLI bindings statically the following command can be used:
$ cmake -D BUILD_SHARED_LIBS=OFF ../
Other tools can also be used to configure CMake, but those are not documented here. See this section of the build guide for more details, including a full list of options, and their default values.
By default, command-line programs will be built, and if the Python dependencies (Cython, setuptools, numpy, pandas) are available, then Python bindings will also be built. OpenMP will be used for parallelization when possible by default.
Once CMake is configured, building the library is as simple as typing 'make'. This will build all library components and bindings.
$ make
If you do not want to build everything in the library, individual components of the build can be specified:
$ make mlpack_pca mlpack_knn mlpack_kfn
If you want to build the tests, just make the mlpack_test target, and use
ctest to run the tests:
$ make mlpack_test
$ ctest .
If the build fails and you cannot figure out why, register an account on Github and submit an issue. The mlpack developers will quickly help you figure it out:
Alternately, mlpack help can be found in IRC at #mlpack on chat.freenode.net.
If you wish to install mlpack to /usr/local/include/mlpack/, /usr/local/lib/,
and /usr/local/bin/, make sure you have root privileges (or write permissions
to those three directories), and simply type
$ make install
You can now run the executables by name; you can link against mlpack with
-lmlpack
and the mlpack headers are found in
/usr/local/include/mlpack/
and if Python bindings were built, you can access them with the mlpack
package in Python.
If running the programs (i.e. $ mlpack_knn -h) gives an error of the form
error while loading shared libraries: libmlpack.so.2: cannot open shared object file: No such file or directory
then be sure that the runtime linker is searching the directory where
libmlpack.so was installed (probably /usr/local/lib/ unless you set it
manually). One way to do this, on Linux, is to ensure that the
LD_LIBRARY_PATH environment variable has the directory that contains
libmlpack.so. Using bash, this can be set easily:
export LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"
(or whatever directory libmlpack.so is installed in.)
5. Running mlpack programs
After building mlpack, the executables will reside in build/bin/. You can call
them from there, or you can install the library and (depending on system
settings) they should be added to your PATH and you can call them directly. The
documentation below assumes the executables are in your PATH.
Consider the 'mlpack_knn' program, which finds the k nearest neighbors in a reference dataset of all the points in a query set. That is, we have a query and a reference dataset. For each point in the query dataset, we wish to know the k points in the reference dataset which are closest to the given query point.
Alternately, if the query and reference datasets are the same, the problem can be stated more simply: for each point in the dataset, we wish to know the k nearest points to that point.
Each mlpack program has extensive help documentation which details what the method does, what each of the parameters is, and how to use them:
$ mlpack_knn --help
Running mlpack_knn on one dataset (that is, the query and reference
datasets are the same) and finding the 5 nearest neighbors is very simple:
$ mlpack_knn -r dataset.csv -n neighbors_out.csv -d distances_out.csv -k 5 -v
The -v (--verbose) flag is optional; it gives informational output. It is not
unique to mlpack_knn but is available in all mlpack programs. Verbose
output also gives timing output at the end of the program, which can be very
useful.
6. Using mlpack from Python
If mlpack is installed to the system, then the mlpack Python bindings should be automatically in your PYTHONPATH, and importing mlpack functionality into Python should be very simple:
>>> from mlpack import knn
Accessing help is easy:
>>> help(knn)
The API is similar to the command-line programs. So, running knn()
(k-nearest-neighbor search) on the numpy matrix dataset and finding the 5
nearest neighbors is very simple:
>>> output = knn(reference=dataset, k=5, verbose=True)
This will store the output neighbors in output['neighbors'] and the output
distances in output['distances']. Other mlpack bindings function similarly,
and the input/output parameters exactly match those of the command-line
programs.
7. Further documentation
The documentation given here is only a fraction of the available documentation
for mlpack. If doxygen is installed, you can type make doc to build the
documentation locally. Alternately, up-to-date documentation is available for
older versions of mlpack:
- mlpack homepage
- mlpack documentation
- Tutorials
- Development Site (Github)
- API documentation (Doxygen)
To learn about the development goals of mlpack in the short- and medium-term future, see the vision document.
8. Bug reporting
(see also mlpack help)
If you find a bug in mlpack or have any problems, numerous routes are available for help.
Github is used for bug tracking, and can be found at https://github.com/mlpack/mlpack/. It is easy to register an account and file a bug there, and the mlpack development team will try to quickly resolve your issue.
In addition, mailing lists are available. The mlpack discussion list is available at
and the git commit list is available at
Lastly, the IRC channel #mlpack on Freenode can be used to get help.