Description Usage Arguments Value Examples

View source: R/VariousFunctions.R

Function finding the predictions for the uncharacterized drugs given the KMeans clustering algorithm

1 | ```
PredictionKMeans(A, cl, test)
``` |

`A` |
Bayesian model given by the application of KMeansModel algorithm |

`cl` |
structure of clusters given by the KMeans function |

`test` |
test matrix of drugs |

predizioni matrix with a number of rows equal to the number of clusters and a number of columns equal to the features

1 2 3 4 | ```
# A will be the result of the previous call of KMeans model funcion
#cl will be the result of KMeans function
#test is the test feature matrix
#predizioni<-PredictionKMeans(A,cl,test)
``` |

DrugClust documentation built on May 30, 2017, 2:30 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.