[mlpack-git] [mlpack/mlpack] Modeling LSH For Performance Tuning (#749)

Yannis Mentekidis notifications at github.com
Wed Aug 24 11:28:38 EDT 2016


> +
> +    double gammaChain =
> +      - 2.0 * alpha * std::pow(k, beta) * std::log(x) * std::pow(x, gamma);
> +
> +    // 3x1 column vector (in matrix form).
> +    gradient(0, 0) += error * alphaChain;
> +    gradient(1, 0) += error * betaChain;
> +    gradient(2, 0) += error * gammaChain;
> +  }
> +
> +  // Return the average of each gradient after the summation is complete.
> +  gradient(0, 0) /= ((double) M);
> +  gradient(1, 0) /= ((double) M);
> +  gradient(2, 0) /= ((double) M);
> +}
> +

I've found the problem. I'll add it as a line note.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/749/files/57c9d5e634d7d3d7e2ca1618353fe37d9e23b34a#r76079505
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160824/906a9cb1/attachment.html>


More information about the mlpack-git mailing list