diff options
| author | Abdullah Ahmed <abdullah_ahmed@brown.edu> | 2019-10-12 16:00:04 -0400 |
|---|---|---|
| committer | Abdullah Ahmed <abdullah_ahmed@brown.edu> | 2019-10-12 16:00:04 -0400 |
| commit | 814838063b6bbdf8dc813eb601de8da6b4ae0320 (patch) | |
| tree | d306f77ad46a9ca4bcf611f02b7f4438551fb863 /src/client/views/nodes/DocumentView.tsx | |
| parent | 1f8bf407ef49aab33294c3e7393718606dfa65dd (diff) | |
refactor
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 070b1f426..ab2717eed 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -602,7 +602,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu } } })); - const doclist = ClientRecommender.Instance.computeSimilarities(); + const doclist = ClientRecommender.Instance.computeSimilarities("cosine"); let recDocs: { preview: Doc, score: number }[] = []; // tslint:disable-next-line: prefer-for-of for (let i = 0; i < doclist.length; i++) { |
