This forum is about

Similarity between association rules

Posted by:
**
Agha
**

Date: September 13, 2021 02:04AM

Dear Prof,

I hope you are doing well.

In case there is two assocation rules, how we can measure the similarity between them. The result should show if they are similar or not.

Thanks and regards,

Agha

I hope you are doing well.

In case there is two assocation rules, how we can measure the similarity between them. The result should show if they are similar or not.

Thanks and regards,

Agha

Posted by:
**
webmasterphilfv
**

Date: September 13, 2021 03:10AM

Good evening,

How to calculate the similarity between two rules?

I think there are maybe different ways. It may depends on what is your goal

A simple way is to calculate the edit distance, that is how many items do you need to add or remove to make the two rules become the same.

For example:

a b --> c

and

a b d --> c e

would have a distance of 2 because you need to add b and e to transform the first rule in the second rule.

That would be a simple way of calculating the similarity. A lower number means a higher similarity.

There could be others!

Hope this helps.

B

How to calculate the similarity between two rules?

I think there are maybe different ways. It may depends on what is your goal

A simple way is to calculate the edit distance, that is how many items do you need to add or remove to make the two rules become the same.

For example:

a b --> c

and

a b d --> c e

would have a distance of 2 because you need to add b and e to transform the first rule in the second rule.

That would be a simple way of calculating the similarity. A lower number means a higher similarity.

There could be others!

Hope this helps.

B