Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
lcg-faaa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Carlos-Francisco Méndez-Cruz
2018-10-04 23:54:11 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82770fcc8ccdb5f3c2aa64e6b63f50629b5fc8aa
82770fcc
1 parent
d0663071
LSA soft clustering
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
agrupamiento-datos-categoricos/lsa-soft-clustering.py
agrupamiento-datos-categoricos/lsa-soft-clustering.py
View file @
82770fc
...
...
@@ -102,6 +102,7 @@ with open("topics_file.txt", "w") as f:
# create a double wrapper over the original corpus: bow->tfidf->fold-in-lsi
corpus_lsa
=
lsa
[
corpus
]
print
(
corpus_lsa
)
# Stream sentences from file into a list of strings called "sentences"
sentences
=
corpus_streamer
(
input_file
,
strings
=
True
)
n
=
0
...
...
Please
register
or
login
to post a comment