Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
Twitter Topic Model
Commits
dc0c1c31
Commit
dc0c1c31
authored
2 years ago
by
Koen van der Veen
Browse files
Options
Download
Email Patches
Plain Diff
fix clustering bug
parent
05b116c0
dev
aziz/min_cluster
aziz/supervised
sz/update_pymemri_45
uat
No related merge requests found
Pipeline
#12447
passed with stages
in 25 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
twitter_topic_model/plugin.py
+1
-1
twitter_topic_model/plugin.py
with
1 addition
and
1 deletion
+1
-1
twitter_topic_model/plugin.py
+
1
-
1
View file @
dc0c1c31
...
...
@@ -83,7 +83,7 @@ class TwitterTopicModelPlugin(PluginBase):
tweets_by_id
=
{
tweet
.
id
:
tweet
for
tweet
in
tweets
}
for
cluster
in
clusters
:
cluster
.
tweets
=
[
tweets_by_id
[
t
.
id
]
for
t
in
tweets
]
cluster
.
tweets
=
[
tweets_by_id
[
t
.
id
]
for
t
in
cluster
.
tweets
]
unassigned_tweets
=
[
tweets_by_id
[
t
.
id
]
for
t
in
unassigned_tweets
]
return
clusters
,
unassigned_tweets
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets