[mlpack-git] [mlpack] KathirvalavakumarSubavathi initialization test (#414)
Marcus Edel
notifications at github.com
Sun Mar 13 09:30:47 EDT 2016
1. It should be the same dataset. And yes you have to split the last dimension from the training.
2. Take a look at the constructor of the FNN class:
```
FFN(LayerType &&network,
OutputType &&outputLayer,
InitializationRuleType initializeRule = InitializationRuleType(),
PerformanceFunction performanceFunction = PerformanceFunction());
```
The third parameter it the object used to initialize the weights. So in your test you should use that parameter, something like this should work:
```
KathirvalavakumarSubavathiInitialization initRule(data, 0.3);
FFN<decltype(modules),
decltype(classOutputLayer),
KathirvalavakumarSubavathiInitialization,
PerformanceFunctionType> net(modules, classOutputLayer, initRule);
```
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/414#issuecomment-195957988
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160313/422f1813/attachment.html>
More information about the mlpack-git
mailing list