AzureML - Custom R clustering model - r

Is it currently possible to create a custom R clustering model, where you can define your own clustering model? Because AzureML does not let you connect Customer R Model with Train Clustering Model.
This is a critical limitation of AzureML when it comes to clustering.
Note: I know that you can create it in Execute R Script, but I want to be able to save the model so when new test data is inputted, I would assign it to the respective clusters.

Related

Random data generation for hurdle model using R

I would like to generate random data using R or RStudio for a distribution with function as below from scratch. How do I develop the codes. I am new to this type of models.

How to perform parallel growth mixture modeling (GMM) using R?

Usually, i'm using "lcmm" package in R - in order to perform growth mixture modeling (GMM).
However, i want to create a classification or groups based on two variables rather than one. I've read that this kind of modeling called "parallel growth mixture modeling". Is anyone knows how to perform such an analysis using R script?

How to predict the clusters for new data using HCPC with FactoMineR in R

I clustered some data I have using FactoMineR::HCPC in R and now I am trying to cluster new data using the model I have trained. However I can not find a function that will give me such prediction. So far I've been able to see that I can use predict.PCA with my new data set and the previous PCA I implemented on the trainig data set and use that result on the function HCPC. I know that for kmenas there exist a predict which will take as input the trained model and the new data. Does anybody know if there is an equivalent for HCPC?

updating a DQN in R using neuralnet

I am trying to implement a simple case of deep Q learning in R, using the neuralnet package.
I have an initial network with initial random weights. I use it to generate some experience for my agent and as a result, I get states and targets. Then I fit the states to the target and get a new network with new weights.
How do I have to combine the new weights and the initial weights? Do I simply keep the new weights and discard the initial weights?

Equation for Neural Network from R output

Hi I am a newbie in Depp learning fields.
I ran a neural network model (regression) with 2 hidden layers in R (neuralnet Package). then I used the the compute function to get the predicted probabilities.Now I want to regenerate predicted output using the equation used in the neural net. for example, following are weights received from the model object
Intercept.to.1layhid1 4.55725020215
Var1.to.1layhid1 -13.61221477737
VAr2.to.1layhid1 0.30686384857
var1.to.1layhid2 0.23527690062
var2.to.1layhid2 0..67345678
1layhid.1.to.target 1.95414397785
1layhid.2.to.target 3.68009136857
Can any one help me derive a equation with the above weights so that I can replicate the output
Thanks
In order to get the output for new data, you can always use predict function using the fitted model, which is the returned object from neuralnet function.
For instance, if your model is the following:
neuralFit = neuralnet(trainData)
Then you reproduce the output with the following:
predict(neuralFit,newdata)
Otherwise, you'll need to compute the result manually. But you need to understand your network architecture first.

Resources