<p>Hi <a href="https://github.com/vasanthkalingeri" class="user-mention">@vasanthkalingeri</a> . Sorry for the delayed response. I had some urgent submissions. Anyways here's the link to my implementation. <a href="https://github.com/chvsp/mlpack/blob/ksinit/src/mlpack/tests/ksinit.cpp">https://github.com/chvsp/mlpack/blob/ksinit/src/mlpack/tests/ksinit.cpp</a> . Have a look at this. I have only implemented the iris dataset(and this is just a proof of concept. If the error does reduce, I will add the BOOST_REQUIRE ). I am working on reducing the error, as once it's done, the rest can be written easily. </p>

<p>And about the hidden layer part. There is another bias term for the hidden layer as well. I was referring to that. </p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/414#issuecomment-210825729">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFEWQNodKAzQ3BnGVEcsLiB8OR8lgks5p4PE4gaJpZM4DnsTV.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/414#issuecomment-210825729"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>