[mlpack-git] [mlpack] KathirvalavakumarSubavathi initialization test (#414)

tpBull notifications at github.com
Sat Mar 12 10:34:11 EST 2016


Hello, @zoq . I tried to add the KathirvalavakumarSubavathiInitialization algorithm you have implemented into the test case, but find something confusing.
1. If I'm correct, we should use Iris Dataset as mentioned in the paper, and I find it in the data directory. The results in the paper, is it the iris_test.csv? Is it correct to just write:
  data::Load("iris_train.csv", dataset, true);
  arma::mat trainData = dataset.submat(0, 0, dataset.n_rows - 4, dataset.n_cols - 1);
  arma::mat trainLabels = dataset.submat(dataset.n_rows - 3, 0, dataset.n_rows - 1, dataset.n_cols - 1);
  data::Load("iris_test.csv", dataset, true);
2.The constructor for instantiating KathirvalavakumarSubavathiInitialization require 2 parameter, and their are no default arguments. But the constructor on fnn.hpp pass no arguments. So the code below is incorrect:
  FFN<decltype(modules), decltype(classOutputLayer), KathirvalavakumarSubavathiInitialization,
      PerformanceFunctionType> net(modules, classOutputLayer);
Is there any misunderstanding? Should we add default arguments for KSinitialization or somehow pass the arguments?
3. Also this code. What it is for net(modules, classOutputLayer)? I can't find the implementation of "net".
   
@chvsp @vasanthkalingeri I'm very glad to cooperate with you, and it will be very appreciated if you can solve my confusion~

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/414#issuecomment-195762146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160312/49a8bda6/attachment.html>


More information about the mlpack-git mailing list