diff options
author | ab <abdullah_ahmed@brown.edu> | 2019-10-27 14:19:12 -0400 |
---|---|---|
committer | ab <abdullah_ahmed@brown.edu> | 2019-10-27 14:19:12 -0400 |
commit | db786c9a809b53ff0b613eec0c49b207dca07646 (patch) | |
tree | 0910f53604ba80545348f164cfdc124a64796fa7 /src | |
parent | 1676ddcf9f4da6f9926e2e48eea4302ae9f2efe5 (diff) |
switching view
Diffstat (limited to 'src')
-rw-r--r-- | src/client/ClientRecommender.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/ClientRecommender.tsx b/src/client/ClientRecommender.tsx index ae2413d1d..86b0839dd 100644 --- a/src/client/ClientRecommender.tsx +++ b/src/client/ClientRecommender.tsx @@ -13,6 +13,7 @@ import { JSXElement } from "babel-types"; import { RichTextField } from "../new_fields/RichTextField"; import { ToPlainText } from "../new_fields/FieldSymbols"; import { listSpec } from "../new_fields/Schema"; +import { IBM_Recommender } from "./apis/IBM_Recommender"; export interface RecommenderProps { title: string; @@ -44,6 +45,7 @@ export class ClientRecommender extends React.Component<RecommenderProps> { super(props); if (!ClientRecommender.Instance) ClientRecommender.Instance = this; ClientRecommender.Instance.docVectors = new Set(); + IBM_Recommender.analyze(); //ClientRecommender.Instance.corr_matrix = [[0, 0], [0, 0]]; } |