I am a student and I am using Affinity Propagation in my research. I installed apcluster packages in R. I want to do affinity propagation to NSL-KDD data set which is in CSV format. I uploaded the data set by using
> smp<- read.csv(“F:/nsl1.csv”, header=FALSE)
> decision.table<-data.frame(smp)
> View(smp)
Now i want to do AP for the data set.
i tried this command but it didn’t help.
apcluster((s, smp, p=NA, q=NA, maxits=1000, convits=100, lam=0.9, includeSim=TRUE, details=FALSE, nonoise=FALSE, seed=NA, …))
Can you please help me.
Thank you in advance.