Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Calculating just a single row of dissimilarity/distance matrix

$
0
0

@aeren wrote:

I have a data-frame with 30k rows and 10 features. I would like to calculate distance matrix like below;

gower_dist <- daisy(data-frame, metric = “gower”),

This function returns whole dissimilarity matrix. I want to get just the first row. (Just distances of the first element in data-frame). How can I do it? Do you have an idea?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles