Commit Graph
20312 Commits
Author SHA1 Message Date
ayesdie 121bd722a2 updated groundTruth issue for SoftmaxRegressionFunction and fixed build 2019-04-07 22:05:07 -04:00
ayesdie c55ea016e9 minimized separable Gradient() and and EvaluateWithGradient(). 2019-04-07 22:05:07 -04:00
ayesdie 05fba00d8f removed the bugtesting test case 2019-04-07 22:05:07 -04:00
ayesdie 652c3716d2 fix to groundTruth 2019-04-07 22:05:07 -04:00
ayesdie 541e9c5073 testcase: 2 2019-04-07 22:05:07 -04:00
ayesdie 8188b48bf8 testcase: 1 2019-04-07 22:05:07 -04:00
Ayush 0ee4364db5 updated fitIntercept 2019-04-07 22:05:07 -04:00
Ayush 9fafaa2656 fix 2019-04-07 22:05:07 -04:00
Ayush 2e32b5c298 index_max() and fix to test 2019-04-07 22:05:07 -04:00
Ayush b98027ff4a removed redundant test case and fixed build 2019-04-07 22:05:07 -04:00
Ayush e99aa492d8 possible fix 2019-04-07 22:05:07 -04:00
Ayush b097abd3b7 refactor 2019-04-07 22:05:07 -04:00
Ayush d247beaeb2 fitIntercept Test and fix 2019-04-07 22:05:07 -04:00
Ayush 56aa38469f fitIntercept (and actually yes). 2019-04-07 22:05:07 -04:00
Ayush 92fb15c070 A beautiful new test for LinearSVMFunctionGradient 2019-04-07 22:05:07 -04:00
Ayush 50a764b026 faster computation with parameters.t() 2019-04-07 22:05:07 -04:00
Ayush 3ffe60b519 removed redundant test case 2019-04-07 22:05:07 -04:00
Ayush d184066f58 fitintercept, but not actually 2019-04-07 22:05:07 -04:00
Ayush 5a7c7deb9b Documentation for gradient. 2019-04-07 22:05:07 -04:00
Ayush ed65216b01 updated tests 2019-04-07 22:05:07 -04:00
Ayush e64f08c353 minimized loss function 2019-04-07 22:05:07 -04:00
Ayush 801e12feac added citation 2019-04-07 22:05:07 -04:00
Ayush a28efb39dd updated tests 2019-04-07 22:05:07 -04:00
Ayush 718ce40f98 added changes for delta to LinearSVM 2019-04-07 22:05:07 -04:00
Ayush 42763c643d Introduced Hyperparameter delta 2019-04-07 22:05:07 -04:00
Ayush 909ffcb9c5 refactor 2019-04-07 22:05:07 -04:00
Ayush c7eedd70ef fixed ComputeAccuracy() function to fix tests 2019-04-07 22:05:07 -04:00
Ayush 92b5632d70 changes to clamping and compute accuracy
arma::clamp takes `DBL_MAX` as upper bound and`ComputeAccuracy` throws a score between 0 and 1.
2019-04-07 22:05:07 -04:00
Ayush cd4c1b0ba2 refactored reviewed syntax issues. 2019-04-07 22:05:07 -04:00
Ayush 887c8d014f improved documentation 2019-04-07 22:05:07 -04:00
Ayush 58f71b6a1b fix for the failed test
increased the test size
2019-04-07 22:05:07 -04:00
Ayush ac40c72312 added tests for LinearSVM with some Optimizers 2019-04-07 22:05:07 -04:00
Ayush 8ae871d7ad removed test: LinearSVMPSGDTwoClasses
removed the bindings of LinearSVM and its tests.
2019-04-07 22:05:07 -04:00
Ayush 6dc5665936 fix to tests 2019-04-07 22:05:07 -04:00
Ayush 59c8575a8d LinearSVM Tests
static code analysis check fix
2019-04-07 22:05:07 -04:00
Ayush 355ad33fec Tests for Separable Evaluate() and Gradient() 2019-04-07 22:05:07 -04:00
Ayush 90d200240f Changed everything from SparseSVM to LinearSVM. 2019-04-07 22:05:07 -04:00
Ayush 1d5c38de33 Another possible fix for test: SparseSVMFunctionGradient. 2019-04-07 22:05:07 -04:00
Ayush 5422ff1698 A possible fix to test: SparseSVMFunctionGradient. 2019-04-07 22:05:07 -04:00
Ayush d93b0b499c Added new test for SparseSVMFunction. 2019-04-07 22:05:07 -04:00
Ayush 5c01f184e4 Updated SparseSVMFunction and added basic implementation of SparseSVM Class
Updated SparseSVMFunction and added basic implementation of SparseSVM Class.

List of changes:

1) Moved the code for `sparse_svm_function.hpp` and `sparse_svm_function_impl.hpp`under the mlpack namespace.
2) Fixed missing dependency issue for `MakeAlias` and `ShuffleData` in `sparse_svm_function_impl.hpp`.
3) Added `EvaluateWithGradient()` for `SparseSVMFunction` class.
4) Added a basic starter code for `SparseSVM` class.
fixed syntax issues


fixed syntax issues


fixed syntax issues


fixed inconsistency in optimizer type


fixed some inconsistency 


updated SparseSVM::Classify and added  SparseSVM::ComputeAccuracy()


updated SparseSVM::Classify() and added SparseSVM::ComputeAccuracy().

List of changes.

- updated `SparseSVM::Classify()`.
- added `SparseSVM::ComputeAccuracy()`.
- removed `SparseSVM::FeatureSize()` since `parameters` is a concatenated vector of `w` and `b`.
- added `sparse_svm.hpp` and `sparse_svm.cpp` to `../sparse_svm/CMakeLists.txt`.
fixed SparseSVMFunction::Evaluate() and  fixed an issue in SparseSVM::Classify() (#21)

* fixed SparseSVMFunction::Evaluate()

Updated the function definition for `SparseSVMFunction::Evaluate()` and `SparseSVMFunction::EvaluateWithGradient()` and used arma::clamp().

* fixed an issue in SparseSVM::Classify()

The issue was related to typecasting. The parameter inside `arma::size()` should have the same type as that of `labels`.

Updated SparseSVMFunction::Evaluate() and SparseSVMFunction::Gradient().


First Small Test for class SparseSVMFunction


Fixed Syntax issue and some other issue.


Added SparseSVMFunctionRandomEvaluate test.


test: SparseSVMFunctionGradient


added sparse_svm_impl.hpp


Templatized SparseSVM and SparseSVMFunction.


Updated implementation of SparseSVMFunction.

This takes into account the fact that labels is of type `arma::Row<size_t>` and converts it into appropriate type for the calculation of hinge loss.
Added L2-Regularization.


Added Documentation.


Updated implementation to adapt multiple class classification.


fixed syntax inconsistency
2019-04-07 22:05:07 -04:00
Shikhar Jaiswal 628de7613a Merge pull request #1800 from MuLx10/LSTMCell
Added cellState as output params in LSTM.
2019-04-06 13:04:57 +05:30
Mehul Kumar Nirala 03f7495528 Update lstm.hpp 2019-04-06 07:54:16 +05:30
Marcus Edel 3306fbf304 Merge pull request #1832 from abhinavsagar/abhinavdocs1
Improved documentation.
2019-04-05 22:13:45 +02:00
Shikhar Jaiswal c2b8e4d8a1 Merge pull request #1828 from greatsharma/documentationFixup
Complete Documentation
2019-04-05 19:01:27 +05:30
Shikhar Jaiswal a3eafd63a9 Merge pull request #1831 from jeffin143/documentation
Documentation fixup
2019-04-05 18:51:19 +05:30
Gaurav Sharma f89a04fc9e update documentation 2019-04-05 12:57:56 +05:30
Abhinav Sagar b0a7b94915 Update q_learning_impl.hpp 2019-04-05 00:58:44 +05:30
Abhinav Sagar 47a0ea9a2c Update async_learning_impl.hpp 2019-04-05 00:57:46 +05:30
Abhinav Sagar 45a4784a8b Update async_learning_impl.hpp 2019-04-05 00:55:22 +05:30