Commit Graph
14110 Commits
Author SHA1 Message Date
Rishabh Garg d8de86b095 Remove unrequired functions 2021-07-16 00:33:53 +05:30
Rishabh Garg 8b34433e05 Add evaluate method to calculate gain before split 2021-07-16 00:20:01 +05:30
Rishabh Garg a5fffe3c0b OutputValue => OutputLeafValue 2021-07-15 22:07:00 +05:30
Rishabh Garg 83cca54140 Add L1 regularization 2021-07-15 07:47:14 +05:30
Rishabh Garg 537e3ca447 Add default ctor and fix one test 2021-07-15 07:43:46 +05:30
Rishabh Garg a3769b6799 Add L1 and L2 parameter to SSELoss 2021-07-15 07:43:46 +05:30
Rishabh Garg 6a187c41cd Add sanity check for empty vector 2021-07-15 07:43:46 +05:30
Rishabh Garg a1edb432b8 Removed unnecessary SFINAE check 2021-07-15 07:43:46 +05:30
Rishabh GargandRyan Curtin 154768851a Update src/mlpack/methods/xgboost/loss_functions/sse_loss.hpp
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2021-07-15 07:19:53 +05:30
Rishabh Garg c3d65e8571 Simplified methods by removing unnecessary indirections of functions 2021-07-12 21:36:17 +05:30
Rishabh Garg 25f8f47cb5 Add more tests 2021-07-12 19:57:32 +05:30
Rishabh Garg de9938ee51 Removing unrequired overload of Hessian() 2021-07-12 19:57:14 +05:30
Rishabh Garg d082f9a866 Change enable_if statement to use cleaner syntax 2021-07-03 16:56:52 +05:30
Rishabh Garg b81c84c093 moved sse_loss.hpp to parent directory's CMakeLists.txt 2021-07-03 16:22:21 +05:30
Rishabh Garg 44f76f0c96 write first test 2021-07-01 21:59:34 +05:30
Rishabh Garg f974f4e95e Start compiling (hopefully) 2021-07-01 21:59:16 +05:30
Rishabh Garg 72e617bca9 Missed semicolon 2021-07-01 21:27:57 +05:30
Rishabh Garg 093c4433f1 Fixed filling the hessian vector with 1 2021-06-30 23:02:53 +05:30
Rishabh Garg 61e88e6b3c Add OutputValue and SimilarityScore methods 2021-06-30 23:00:50 +05:30
Rishabh Garg b80ecf2e95 Add missing typename 2021-06-30 20:50:40 +05:30
Rishabh Garg e4b073f3ee Update template for InitialPrediction so that it can take any armadillo vector instead of just arma::Row 2021-06-30 20:46:12 +05:30
Rishabh Garg e9cba5a179 Fix name of header guards 2021-06-30 20:37:22 +05:30
Rishabh Garg 873b35e37f Add SSE Loss for xgboost 2021-06-30 20:36:47 +05:30
Ryan Curtin fff3d691d1 Merge pull request #2994 from shrit/fix_comments
Fix small bug JSON -> txt
2021-06-28 17:19:42 -04:00
Aakash Kaushik 96703ce69d correcting serialization param 2021-06-28 21:54:38 +05:30
Marcus Edel 0d9de4b541 Merge pull request #2993 from shrit/is_same
Use std::is_same instead of boost::is_same.
2021-06-25 18:01:25 -04:00
Marcus Edel 1a4fc23789 Merge pull request #2959 from abh2k/channel
Implemented channel shuffle.
2021-06-24 20:01:26 -04:00
abh2kandkartikdutt18 6f0ee6d014 Update src/mlpack/methods/ann/layer/channel_shuffle_impl.hpp
Co-authored-by: kartikdutt18 <39593019+kartikdutt18@users.noreply.github.com>
2021-06-24 20:21:06 +05:30
Ryan Curtin 4c0dae676c Merge pull request #2992 from zoq/style-fix-3
Style fixes (line length, extra spaces, newline).
2021-06-23 15:41:25 -04:00
Marcus Edel 89e2ca2ec5 Merge pull request #2989 from abh2k/patch-1
Improved speed of lp forward pass.
2021-06-22 20:20:17 -04:00
Marcus EdelandRyan Curtin 8c09b1f4a7 Apply suggestions from code review.
Co-authored-by: Ryan Curtin <ryan@ratml.org>
2021-06-22 12:47:25 -04:00
Omar Shrit f1adf41a2e Fix small bug JSON -> txt
Signed-off-by: Omar Shrit <omar@shrit.me>
2021-06-22 14:17:06 +02:00
Omar Shrit bcb3735a67 Use std::is_same instead of boost::is_same
Signed-off-by: Omar Shrit <omar@shrit.me>
2021-06-22 14:12:57 +02:00
Marcus Edel 9fc0513b26 Style fixes (line length, extra spaces, newline). 2021-06-22 03:34:04 +02:00
Ryan Curtin 68ff28175d Merge pull request #2988 from rcurtin/rl-ens-include
Include ensmallen so ENS_VERSION_MAJOR is defined.
2021-06-21 08:00:17 -04:00
abh2kandkartikdutt18 a08bbf1316 Apply suggestions from code review
Co-authored-by: kartikdutt18 <39593019+kartikdutt18@users.noreply.github.com>
2021-06-21 14:18:52 +05:30
abh2k 83207c4439 Use arma::pow to use fast armadillo computation 2021-06-21 12:10:20 +05:30
abh2k 821a2f2712 Update lp_pooling.hpp 2021-06-20 23:18:39 +05:30
Marcus Edel a888b569e2 Merge pull request #2980 from rcurtin/dataset-info-resize-fix
LoadCSV: only reset the DatasetMapper if the dimensionality is wrong.
2021-06-20 12:13:06 -04:00
abh2k 18efd64977 Fixed the computation of submatrix sum 2021-06-20 20:48:50 +05:30
abh2k ff1041282a Improved speed of lp forward pass 2021-06-20 20:43:08 +05:30
Ryan Curtin 6428557f47 Include ensmallen so ENS_VERSION_MAJOR is defined. 2021-06-18 20:57:25 -04:00
Ryan Curtin 1313b4eebd Merge pull request #2983 from shrit/boost_headers
I do think these headers are useless here in this file.
2021-06-17 19:34:18 -04:00
Ryan Curtin ae173028df Merge remote-tracking branch 'origin/master' into dataset-info-resize-fix 2021-06-17 09:20:50 -04:00
Aakash kaushik 64b9d63f02 Padding layer fix for multiple filters (#2985)
* padding fix for multiple filters

* padding for single and multiple layers

* add tests and comments

* zero output fix(forgot to assign to subcube)

* fixed the implementation

* applying suggestions

* tests failed because of wronginputdims that i gave

* correct outputHeight and width

* fix failing test

* final test fix

* tests pass
2021-06-17 15:38:54 +05:30
abh2kandMarcus Edel aa6d555826 Update src/mlpack/methods/ann/layer/channel_shuffle_impl.hpp
Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2021-06-17 10:00:20 +05:30
Ryan Curtin 710380bc9d Merge pull request #2974 from rcurtin/r-fix-attempt
Try to fix R build
2021-06-16 20:28:36 -04:00
Ryan Curtin e48e4b7e81 Use SetDimensionality(); the constructor will lose the policy. 2021-06-16 14:24:42 -04:00
Omar Shrit 218e13843f Re-organize header, I am confused now
Signed-off-by: Omar Shrit <omar@shrit.me>
2021-06-16 16:14:41 +02:00
Omar Shrit ad2c512be2 Adding the missing boost headers.
Still surprised were the headers removal hits.

Signed-off-by: Omar Shrit <omar@shrit.me>
2021-06-16 14:32:17 +02:00