-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cost functions now support Stan Math, Kept the previous classes for backward compatability. #4294
Commits on Jun 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 220b11d - Browse repository at this point
Copy the full SHA 220b11dView commit details -
Built a class on stan that can define any arbitrary cost function wit…
…hout explicitly calculating the gradient
Configuration menu - View commit details
-
Copy full SHA for ff2dd1a - Browse repository at this point
Copy the full SHA ff2dd1aView commit details -
Wrote two unit tests to the new class to demonstrate how to write a n…
…ew cost function on stan
Configuration menu - View commit details
-
Copy full SHA for 3cbecec - Browse repository at this point
Copy the full SHA 3cbececView commit details -
Configuration menu - View commit details
-
Copy full SHA for 110337f - Browse repository at this point
Copy the full SHA 110337fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8829625 - Browse repository at this point
Copy the full SHA 8829625View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7737c07 - Browse repository at this point
Copy the full SHA 7737c07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74dddef - Browse repository at this point
Copy the full SHA 74dddefView commit details -
Added the required changes from iteration 2 on shogun-toolbox#4294, s…
…everal changes to styling and getting rid of vanilla loops + code restructure
Configuration menu - View commit details
-
Copy full SHA for 1e8002c - Browse repository at this point
Copy the full SHA 1e8002cView commit details -
Changed unit tests so it works with the new style including a few typ…
…e aliases, actual unit tests haven't changed
Configuration menu - View commit details
-
Copy full SHA for afc5327 - Browse repository at this point
Copy the full SHA afc5327View commit details -
Changed file names from FirstOrderSAGCostFunctionInterface to StanFir…
…stOrderSAGCostFunction
Configuration menu - View commit details
-
Copy full SHA for bc16178 - Browse repository at this point
Copy the full SHA bc16178View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dd2d19 - Browse repository at this point
Copy the full SHA 9dd2d19View commit details -
Got rid of setters for changing behavior of cost function and paramet…
…ers, since they should be immutable
Configuration menu - View commit details
-
Copy full SHA for 34d8aaa - Browse repository at this point
Copy the full SHA 34d8aaaView commit details -
Added safeguards in constructor of StanFirstOrderSAGCostFunction to m…
…ake sure input is correct
Configuration menu - View commit details
-
Copy full SHA for 8d89e4a - Browse repository at this point
Copy the full SHA 8d89e4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bc7318 - Browse repository at this point
Copy the full SHA 1bc7318View commit details -
Configuration menu - View commit details
-
Copy full SHA for a926972 - Browse repository at this point
Copy the full SHA a926972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c60921 - Browse repository at this point
Copy the full SHA 1c60921View commit details
Commits on Jun 8, 2018
-
Changed the interface of the Cost funtion so that it works fine with …
…the Minimizers and updaters
Configuration menu - View commit details
-
Copy full SHA for 4e8947b - Browse repository at this point
Copy the full SHA 4e8947bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c29fb06 - Browse repository at this point
Copy the full SHA c29fb06View commit details -
updated old unit tests to work with new updated interface of cost fun…
…ction, no major changes here [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 21a9b7f - Browse repository at this point
Copy the full SHA 21a9b7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b719131 - Browse repository at this point
Copy the full SHA b719131View commit details
Commits on Jun 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cdadb8d - Browse repository at this point
Copy the full SHA cdadb8dView commit details -
Changed the unittest to suit the changed Interface of the cost functi…
…on, including removing pointers [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 87a663e - Browse repository at this point
Copy the full SHA 87a663eView commit details
Commits on Jun 16, 2018
-
changed parent class of StanFirstOrderSAGCostFunction to FirstOrderSt…
…ochasticCostFunction, and made get_gradient() thread safe. [ci skip]
Configuration menu - View commit details
-
Copy full SHA for cf2e3f1 - Browse repository at this point
Copy the full SHA cf2e3f1View commit details
Commits on Jun 17, 2018
-
Created a new class StanNeuralLayer which will be the base class for …
…a neural network layer [ci skip]
Configuration menu - View commit details
-
Copy full SHA for d79f878 - Browse repository at this point
Copy the full SHA d79f878View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ef7f67 - Browse repository at this point
Copy the full SHA 6ef7f67View commit details -
updated the API of StanNeuralLayer and got rid of gradient computatio…
…n from logic of layer
Configuration menu - View commit details
-
Copy full SHA for 11f8c1b - Browse repository at this point
Copy the full SHA 11f8c1bView commit details -
Wrote the class StanNeuralLinearLayer which is a linear layer in the …
…neural network, the logistic/softmax/relu layers will inherit from it [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 272144d - Browse repository at this point
Copy the full SHA 272144dView commit details -
fix bug in StanNeuralLinearLayer class where m_stan_activations wasn'…
…t aliased instead of A
Configuration menu - View commit details
-
Copy full SHA for 91cfef9 - Browse repository at this point
Copy the full SHA 91cfef9View commit details -
Created a Logistic layer for the stan Neural network, the class is ca…
…lled StanNeuralLogisticLayer and computes activations as required [ci skip]
Configuration menu - View commit details
-
Copy full SHA for cd56095 - Browse repository at this point
Copy the full SHA cd56095View commit details
Commits on Jun 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6592f3f - Browse repository at this point
Copy the full SHA 6592f3fView commit details -
Started creating the neural network class that uses the stan neural
layers The class is composed of parameters, and is only responsible for forward propagation of the layers. The Network will be used to generate a StanMatrix of outputs, which will then be used with Minimizers and StanCostFunctions to minimize the neural network's parameters [ci skip]
Configuration menu - View commit details
-
Copy full SHA for 5ba8e0e - Browse repository at this point
Copy the full SHA 5ba8e0eView commit details
Commits on Jun 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 955a289 - Browse repository at this point
Copy the full SHA 955a289View commit details -
Changed a typo in Stan and changed interface of compute_activations a…
…nd initialize_parameters to pass indices of start and end indices of the stan vector of parameters
Configuration menu - View commit details
-
Copy full SHA for 11f6dbd - Browse repository at this point
Copy the full SHA 11f6dbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88b2c3c - Browse repository at this point
Copy the full SHA 88b2c3cView commit details -
Changed initialize parameters interface to remove regularization temp…
…orairly and replace it with indices for stan vector
Configuration menu - View commit details
-
Copy full SHA for 42c626f - Browse repository at this point
Copy the full SHA 42c626fView commit details -
[ci skip] refactorred some code in neural net, finished the implement…
…ation, but there is still some syntax errors that are being fixed, once they are addressed, we can start the testing
Configuration menu - View commit details
-
Copy full SHA for 8ae7fac - Browse repository at this point
Copy the full SHA 8ae7facView commit details
Commits on Jun 26, 2018
-
[ci skip] 1) Added set_batch_size and implemented it 2) Fixed all syn…
…tax errors apart from compute_activations(input) which has been silenced for now, needs discussion before fixing; 3) Got rid of get_section() logic and replaced it with other logic that doesn't have to copy the vector; 4) Got rid of get_larger_activation logic since it wasn't needed ; 5) Fixed all signature errors of compute_activations(params, i, j, layers) and its specializations; 6) Got rid of some typos, still many typos that need addressing TODO
Configuration menu - View commit details
-
Copy full SHA for 3398d7d - Browse repository at this point
Copy the full SHA 3398d7dView commit details
Commits on Jul 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a1a5b41 - Browse repository at this point
Copy the full SHA a1a5b41View commit details -
[ci skip] various updates to interfaces, neural network module is now…
… done, the next part is to test it to check implementation details
Configuration menu - View commit details
-
Copy full SHA for aea5dfa - Browse repository at this point
Copy the full SHA aea5dfaView commit details