[R] Average Precision (APR)

2007-12-13 Thread Wan Kyu Kim
Hi, Is there a R library (code) to calculate Average Precision? I have been using ROCR to calculate other measure like AUC, F-measure etc. But ARP (average precision) was not available although it provides precision/recall. I am almost sure that someone already implemented it. wan _

[R] Mutual Information on continuous variables

2007-10-16 Thread Wan Kyu Kim
I am looking for a function for MI (mutual information) for continuous variables X, Y. I prefer not to discretize X,Y as it leaves the problems of optimal bin number etc. Can any one give a pointer to calculate mutual information using Gausian kernel estimator for two continuous variables ? wan