Commit Graph
22673 Commits
Author SHA1 Message Date
jeffin sam 154b0ed963 Exposing callbacks to sparseautoencoder (#2198)
Exposing callbacks to sparseautoencoder.
2020-04-16 20:48:09 +02:00
Marcus Edel 3ce835cbab Merge pull request #2369 from nishantkr18/pendulum
Changes in the Pendulum-v0 implementation.
2020-04-15 21:34:07 +02:00
Toshal Agrawal 8002e49150 Merge pull request #1933 from walragatver/gan_gradient
Merging this in. Thanks everyone for their review.
2020-04-15 11:20:29 +05:30
walragatver c8b800ad36 Prevent update of discriminator network while training generator network and call gradient indirectly. 2020-04-14 21:58:25 +05:30
nishantkr18 e15ef5d631 changes in pendulum test 2020-04-14 19:28:51 +05:30
Marcus Edel 5ae87b5d44 Merge pull request #2365 from nishantkr18/activations-patch
Changes in parameter description for activation functions in ANN module.
2020-04-13 22:04:53 +02:00
nishantkr18 6e12eed346 updated HISTORY.md 2020-04-12 21:05:30 +05:30
nishantkr18 d5111dbbf1 motified test for Pendulum 2020-04-12 20:40:49 +05:30
Ryan Curtin 52c6b0eb98 Pass CXXFLAGS correctly to Python build (#2367)
* Pass CXXFLAGS to Python build correctly.

* Update HISTORY.

* Add issue number.
2020-04-12 00:30:58 -04:00
nishantkr18 d5f92dbb95 removed isTerminal from Sample 2020-04-10 23:57:36 +05:30
nishantkr18 c26ba34914 removed AngleThreshold 2020-04-10 23:40:47 +05:30
nishantkr18 492d144116 modified reward function 2020-04-10 23:37:07 +05:30
nishantkr18 80ba0eed14 corrected AngleNormalize() 2020-04-10 23:34:55 +05:30
nishantkr18 92cf436c64 changed parameter comments 2020-04-10 16:28:25 +05:30
favre49 fded9ee333 Merge pull request #2354 from nishantkr18/patch-2
Removing terminal state for Pendulum-v0 env
2020-04-09 11:08:16 +05:30
bb7cb051fe Adding L1 loss function (#2203)
* Adding L1 loss function

* Adding Suggested changes

* Adding Tests

* Adding changes in History.md

* Adding some changes in implmentation

* Using arma::accu

* Style fix

* Adding some suggested changes

* Chaging class name

* Style fix

* Changes for r-value refactor

* Adding suggestion

* Updating history

* Solving rebase issues

* Serializing mean

* Update src/mlpack/methods/ann/loss_functions/l1_loss_impl.hpp

Co-Authored-By: favre49 <40389657+favre49@users.noreply.github.com>

* Templating loss function

* Fix broken syntax from merge

* Changing History.md

Co-authored-by: favre49 <40389657+favre49@users.noreply.github.com>
Co-authored-by: Ryan Birmingham <birm@rbirm.us>
2020-04-09 11:05:07 +05:30
Ryan Curtin 364042ec93 Merge pull request #2273 from y2s82/refact-pvv
refactor(ProgramDoc): changed ProgramDoc constructor to accept pass-by-value
2020-04-08 22:03:24 -04:00
Nishant Kumar de55dcdbba Merge branch 'master' into patch-2 2020-04-08 12:16:37 +05:30
Bisakh MondalandMarcus Edel a129c5069d Adding ELiSH Activation Function (#2274)
* template created

* Definition done

* adding elish layer

* CMake updated

* Adding tests

* typo fixed & url added

* Update src/mlpack/methods/ann/activation_functions/elish_function.hpp

Co-Authored-By: Marcus Edel <marcus.edel@fu-berlin.de>

* Update src/mlpack/methods/ann/activation_functions/elish_function.hpp

Co-Authored-By: Marcus Edel <marcus.edel@fu-berlin.de>

* Update src/mlpack/methods/ann/activation_functions/elish_function.hpp

Co-Authored-By: Marcus Edel <marcus.edel@fu-berlin.de>

* Deriv() & Fn() modified

* minor style fix

* styles fix

* Condition checking modified

* wrong {} position fix

* base_layer documentation updated

* Update src/mlpack/methods/ann/activation_functions/elish_function.hpp

Co-Authored-By: Marcus Edel <marcus.edel@fu-berlin.de>

* Updated History.md

* Style fixed

* Updated to arma

* unnecessary digits truncated

* Documentation updated

* EOL whitespace removed

Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2020-04-08 10:33:33 +05:30
Marcus Edel dc3fd7b9c0 Merge branch 'master' into patch-2 2020-04-07 21:00:55 +02:00
nishantkr18 f9bdc4b9b1 updated History.md 2020-04-08 00:27:24 +05:30
Nishant Kumar 88fc2e4454 Updated comment for maxSteps 2020-04-08 00:18:37 +05:30
Nishant KumarandMarcus Edel 3382b7238b Addition of q_networks (#2317)
* added q_network

* added vanilla dqn, along with tests

* added comments

* style errors removed

* style error removed

* Revert "style error removed"

This reverts commit 578601546d47f7a0df3d3a2d05e13c21d8492c0b.

* style errors removed

* Update src/mlpack/methods/reinforcement_learning/q_networks/vanilla_dqn.hpp

Co-Authored-By: Marcus Edel <marcus.edel@fu-berlin.de>

* made suggested changes in vanillaDQN

* changed vanillaDQN to simpleDQN

* backward compatibility for custom models

Co-authored-by: Marcus Edel <marcus.edel@fu-berlin.de>
2020-04-07 14:27:33 -04:00
Ryan Curtin 81c02c8e9c Update name of link. 2020-04-07 09:24:28 -04:00
Ryan Curtin 5e55b16ce5 Add new block to HISTORY.md for next version. 2020-04-07 09:17:16 -04:00
Ryan Curtin a5814d0c5c Update version to next release version. 2020-04-07 09:17:16 -04:00
Ryan Curtin 5677c2b5b9 Update version to 3.3.0. 2020-04-07 09:17:16 -04:00
Ryan Curtin 02dbca40d2 Add missing licenses. 2020-04-07 09:17:04 -04:00
Ryan Curtin 1e2d3f2286 Update history for release. 2020-04-07 09:14:22 -04:00
Ryan Curtin 0c7ccaead7 Merge pull request #2359 from rcurtin/regression-size-fix
Fix LogisticRegression parameter size
2020-04-07 07:49:18 -04:00
favre49 2bacff2ba6 Merge pull request #2357 from rcurtin/stb-include-fix-2
Workaround Debian buster STB include bug
2020-04-07 10:48:47 +05:30
Mrityunjay Tripathi ec96ed17a1 inclusion of all layers in layer.hpp (#2353)
* added remaining layers

* slight change

* including linear_no_bias.hpp in layer_types.hpp
2020-04-07 01:11:21 -04:00
Conrad Sanderson bfde028fbb Merge pull request #2356 from conradsnicta/traits-fix
corrections to handle vector types in Armadillo 9.870
2020-04-07 03:26:42 +02:00
Conrad SandersonandRyan Curtin 77a0513d1d layout changes
Co-Authored-By: Ryan Curtin <ryan@ratml.org>
2020-04-07 02:56:12 +02:00
Ryan Curtin fad498cae0 Add a test case. 2020-04-06 16:34:20 -04:00
Ryan Curtin 7dfdae66a5 Update history. 2020-04-06 16:17:15 -04:00
Ryan Curtin eebece7c54 Set size of parameters in all Train() calls. 2020-04-06 16:16:27 -04:00
Ryan Curtin ee4a09fef1 Merge branch 'master' into HEAD 2020-04-06 12:50:45 -04:00
Nishant Kumar 67322b791b Update pendulum.hpp 2020-04-06 20:09:53 +05:30
Ryan Curtin 674737eb19 Workaround Debian buster STB include bug. 2020-04-06 09:36:08 -04:00
Conrad Sanderson dcb926d2f6 corrections to handle vector types in Armadillo 9.870
This patch corrects handling of Armadillo vector types by `IsVector`.
Without this patch, mlpack will not compile with Armadillo 9.870 (and development version 9.869).

Armadillo 9.870 has extended handling of sparse submatrix views. In addition to `arma::SpSubview`, it now has `arma::SpSubview_col` and `arma::SpSubview_row`.  The latter two types are vector types, so `IsVector` needs to be adjusted accordingly.
2020-04-06 10:53:12 +02:00
favre49 b9663b0bf9 Merge pull request #2209 from kartikdutt18/Add-Cosine-Embedding
Add Cosine Embeddings.
2020-04-05 20:41:26 +05:30
kartikdutt18 dc91890489 Merge branch 'master' into Add-Cosine-Embedding 2020-04-05 20:23:46 +05:30
favre49 9d7535714a Merge pull request #2264 from AndreiMihalea/marginranking-loss
Implemented margin ranking loss
2020-04-05 11:02:34 +05:30
Ryan Curtin 4ddee431f9 Merge pull request #2019 from jeffin143/loading-image-binding
Binding For Loading and Saving Images
2020-04-04 22:13:52 -04:00
Ryan Curtin c4509e32c3 Merge pull request #2251 from lozhnikov/TfIdf-and-BagOfWords-fixes
[Ready] TfIdf and Bag of Words fixes
2020-04-04 11:31:41 -04:00
Mikhail Lozhnikov b841b37b4f Merge remote-tracking branch 'upstream/master' into TfIdf-and-BagOfWords-fixes 2020-04-04 15:30:06 +03:00
Mikhail Lozhnikov 8c5fe9dc84 Tiny documentation fixes for some string encoding algorithms. 2020-04-04 15:28:14 +03:00
Marcus Edel c1c6fc51ad Merge pull request #2350 from bisakhmondal/azure-fix
Remove deprecated vs2015 from the ci pipeline.
2020-04-03 20:52:44 +02:00
jeffin143 f369ae57e9 add ccov.hpp to fix julia binding failures 2020-04-03 23:35:59 +05:30