similarity degree