Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I've trained a model using R, but now I am trying to deploy it in the current stack using NodeJS, I know that the model can be store as an RDS, but I'm not sure if I can use this model externally. Has anyone done this?
I think there are 2 answers.
The general case:
No, this is not only data represented in an R format (.RDS) it's also only really a "model" when it's being interpreted by not even just R, but the R library running on R that trained the model (stats, caret, optimr, etc). So you could launch R from another language like NodeJS, but it will still need to hit R at some point in the process.
and the exception
If you create a PMML model in R, you could export it and read it in another language, as that's universal.
You can expose your model as a REST API and call it from any language
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
My question is how to update learning model in real time? for example I want to update model every 5 minute when new data is available without retraining the model completely again (due to heavy server load). Is there some packeges in R for doing this?
Thanks in advance
In R the h2o package has a possibility to do this, but only with GBM, Deep learning and DRF (Distributed random forest). In these models there is the option to select specify a checkpoint:
The checkpoint option allows you to specify a model key associated
with a previously trained model. This will build a new model as a
continuation of a previously generated model.
But check the help files because there are restrictions on what you can additionally train and which hyper parameters cannot be changed when you do this.
More info can be found here.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm considering using R in my work. Primarily I am interested in ggplot2, dplyr and tidyr, probably using the RStudio environment.
I deal with a lot of sensitive educational data, such as names, dates of birth etc and could only only use R at work if I knew the data were safe.
Will my data be kept private/confidential or is it shared in any way?
By default, data or code is not shared to the outside world. This may not hold for cases including but not confined to:
when you are using (online) version control
if you are pushing a report to RPubs repository
using R on a server, which may be accessible to third parties
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to machine learn a statistical technique which isn't available currently in caret package. Is there any way that i can add this technique in library or tweak anything to machine learn an algorithm?
I basically want to machine learn instrumental variable regression. Is there any way to do it?
Absolutely,
There are 2 ways:
You contribute to the package repo in github or
Follow this tutorial
Hope it helps
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
My research team has a series of "relatively" standard analyses that they run for different experiments, but need slightly different analysis procedures. I want to give them the freedom to analyze their own data, despite being programming naive. I would like to create a GUI that asks them a series of questions that will lead them to the right script (which I will have written, and have available on the back end) so that they can just push "run" and have their analysis spit out.
Any ideas on how to create a GUI that will lead them to the right script would be fantastic. Even better would be a GUI that allows them to input variable names, which then amend the code so that the outputs are a little more custom.
If you have access to a web server (intranet or internet), Shiny can do what you want. It is a web application layer on top of R.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have planned to start my R program carrier now. I have understand the usage R but i have some doubts on the procedure to be implement in R. As a startup i am planing to retrieve data from google analytics and show it to frontend using R shiny. So which will be the good flow to fetch the data. Is it good to fetch the google analytic data using R and process it or it will be good to fetch the data using other languages like php or Java. Also R is good to fetch the data from database or its a good practice to fetch the data using other commonly used languages and process using R.
Sorry the question is little bit descriptive but i am expecting a help from you guys
Thanks,
Organize it in a package(http://r-pkgs.had.co.nz/).
See https://developers.google.com/analytics/solutions/r-google-analytics?hl=en .
The database question depends on exactly what you are using, but R has a lot of resources.