The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Cross Distance - How is it calculated?

sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
edited December 2018 in Knowledge Base

screenshot.jpgQuestion

I've ran Cross Distance using the Euclidean distance metric on two Excel files: one containing 1 row of relevant keywords etc and one containing 504 rows. The aim was to compare the similarity of each row to the relevant keywords. It all worked, which is great...except I don't know what the numbers mean! Help? 

 


Answer

screenshot (2).jpgLet's say you have two attributes: age and salary. What Cross Distance is doing for each item in the reference and the request set is:

 

distance(ref_i, req_j)

 

if you use Euclidian distance you get:

 

d = sqrt (   (age_i - age_j)² + (salary_i - salary_j)² )

Martin

 

--------------------------------------------------------------------------
dr Martin Schmitz

Head of Data Science Services at RapidMiner

Tagged:
Sign In or Register to comment.