Facebook
From Bitty Marmoset, 4 Years ago, written in R.
This paste is a reply to Re: Re: Untitled from Funky Pheasant - go back
Embed
Viewing differences between Re: Re: Untitled and Re: Re: Re: Untitled
lab <- liste

predicted 
liste


## dbscan

library("dbscan")
 cl 
<- kmeans(lab[,c(2,3,4)],10,nstart hdbscan(U, minPts 20)

5)
 



tahmin <- cbind.data.frame(lab, predicted$cluster)

cl$cluster)

colnames(tahmin) <- c("isim", "lab1", "lab2", "lab3", "Data", "Class")


View(tahmin, "lab")

## dbscan
 library("dbscan")
 cl <- hdbscan(U, minPts = 5)
 
#plot outlier scores

 plot(sort(cl$outlier_scores), ylab="hdbscan score")
abline(h=quantile(cl$outlier_scores,c(.9,.95)), col=c("blue","red"))
legend("bottomright", legend = c("90 percentile", "95 Percentile"), lty=1, col=c("blue","red") , bty = "n")

#find which rows are outlier
which(cl$outlier_scores >quantile(cl$outlier_scores,0.95))

Replies to Re: Re: Re: Untitled rss

Title Name Language When
Re: Re: Re: Re: Untitled Morose Gibbon rsplus 4 Years ago.