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
4dcd0ab2
Commit
4dcd0ab2
authored
2 years ago
by
Eelco van der Wel
Browse files
Options
Download
Email Patches
Plain Diff
set ngram range
parent
c7224bf8
dev
aziz/min_cluster
aziz/supervised
sz/update_pymemri_45
uat
1 merge request
!6
0.0.3
Pipeline
#12416
failed with stage
in 7 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
twitter_topic_model/model.py
+1
-1
twitter_topic_model/model.py
with
1 addition
and
1 deletion
+1
-1
twitter_topic_model/model.py
+
1
-
1
View file @
4dcd0ab2
...
...
@@ -60,7 +60,7 @@ class TopicModel:
self
,
tweets
:
List
[
PreprocessedTweet
],
diversity
:
float
=
0.3
,
ngram_range
:
Tuple
[
int
]
=
(
1
,
2
),
ngram_range
:
Tuple
[
int
]
=
(
1
,
1
),
num_topic_descriptors
:
int
=
3
,
min_cluster_size
:
int
=
5
,
)
->
List
[
TopicModelCluster
]:
...
...
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