Skip to content

Commit

Permalink
manually edit model.ts, similarity fields are numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
glass-ships committed Dec 13, 2023
1 parent bcdfd43 commit 89d0469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/api/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,12 @@ export interface TermPairwiseSimilarity extends PairwiseSimilarity {
/** The IC of the object */
ancestor_information_content?: string,
/** The number of concepts in the intersection divided by the number in the union */
jaccard_similarity?: string,
jaccard_similarity?: number,
/** the dot product of two node embeddings divided by the product of their lengths */
cosine_similarity?: number,
dice_similarity?: string,
dice_similarity?: number,
/** the geometric mean of the jaccard similarity and the information content */
phenodigm_score?: string,
phenodigm_score?: number,
};
/**
* A simple pairwise similarity between two sets of concepts/terms
Expand Down

0 comments on commit 89d0469

Please sign in to comment.