Skip to content

Commit

Permalink
parando print de LDA
Browse files Browse the repository at this point in the history
  • Loading branch information
AdsonEsteves committed Jan 4, 2021
1 parent a4168bd commit 3515dda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/sacip/sti/agents/GrouperAgent.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public HashMap<Integer, List<Student>> findStudentGroup()
Lda method = new Lda();
method.setTopicCount((estudantes.size()/mean)+1);
method.setMaxVocabularySize(20000);
method.setProgressListener(null);

LdaResult result = method.fit(docs);

Expand All @@ -112,7 +111,7 @@ public HashMap<Integer, List<Student>> findStudentGroup()
studentGroups.put(key, grupo);
}
score+=topTopics.get(0)._2();
System.out.println("Doc: {"+doc.getDocIndex()+"}"+" TOP TOPIC: {"+topTopics.get(0)._1()+"}"+" SCORE: {"+topTopics.get(0)._2()+"}");
//System.out.println("Doc: {"+doc.getDocIndex()+"}"+" TOP TOPIC: {"+topTopics.get(0)._1()+"}"+" SCORE: {"+topTopics.get(0)._2()+"}");
}
score=score/docs.size();
mean++;
Expand Down

0 comments on commit 3515dda

Please sign in to comment.