diff options
| author | liliqing <[email protected]> | 2023-06-26 00:51:47 +0800 |
|---|---|---|
| committer | liliqing <[email protected]> | 2023-06-26 00:51:47 +0800 |
| commit | 623ad2089d6cfc06b0324ce00c4cb5cf4f0db6a7 (patch) | |
| tree | fa4d85096a6c973698562e20a37fbfd2c1b3163e /tag_idf | |
| parent | 50abdae2c22a190fef9afcb0c66791b514a2709f (diff) | |
Diffstat (limited to 'tag_idf')
| -rw-r--r-- | tag_idf/cls_tfidf_LR.pickle | bin | 0 -> 8113803 bytes | |||
| -rw-r--r-- | tag_idf/tag-idf.py | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tag_idf/cls_tfidf_LR.pickle b/tag_idf/cls_tfidf_LR.pickle Binary files differnew file mode 100644 index 0000000..7763006 --- /dev/null +++ b/tag_idf/cls_tfidf_LR.pickle diff --git a/tag_idf/tag-idf.py b/tag_idf/tag-idf.py new file mode 100644 index 0000000..b8b9849 --- /dev/null +++ b/tag_idf/tag-idf.py @@ -0,0 +1,9 @@ +from p_columbus.p_columbus import get_clusters +import pickle + +def tag_idf(filelist): + clusters = get_clusters(filelist) + f = open(r"cls_Tag_LR.pickle", 'rb') + cls_Tag = pickle.load(f) + f.close() + |
