def METHOD_NAME(self, client_features, global_model_feature):
    client_wise_scores = []
    global_wise_scores = []
    num_client = len(client_features)
    for i in range(0, num_client):
        score = spatial.distance.cosine(client_features[i], self.client_cache[i])
        client_wise_scores.append(score)
        score = spatial.distance.cosine(client_features[i], global_model_feature)
        global_wise_scores.append(score)
    return client_wise_scores, global_wise_scores