[Rcpp-devel] Cxx Function Signature for gradient descent algorithm(Bold driver)

2020-07-24 Thread ANKIT CHAKRABORTY
Hello everyone, I hereby attach the code file on notepad. I have been successful in defining the cxx function statement for the gradient descent algorithm using bold driver method. However, after executing the function statement with the parameters, Rstudio/google colab crashes. Could anyone help

Re: [Rcpp-devel] Cxx Function Signature for gradient descent algorithm

2020-07-22 Thread Dirk Eddelbuettel
Ankit, I am not sure how you are editing your code, and your emails, but this is 100% unreadable. Take a look at the mailing list archives, see eg http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2020-June/thread.html http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2020-July/t

[Rcpp-devel] Cxx Function Signature for gradient descent algorithm

2020-07-22 Thread ANKIT CHAKRABORTY
Hello Team, Greetings. I am implementing the gradient descent function on the cxx function and have not been able to find the correct function argument without errors. Could you please suggest the *correct function argument* for implementing it. The complete R code for the gradien