윤영빈

weekly report

...@@ -4,7 +4,7 @@ import pandas as pd ...@@ -4,7 +4,7 @@ import pandas as pd
4 4
5 # Load files. 5 # Load files.
6 nltk.download('stopwords') 6 nltk.download('stopwords')
7 -vocab = pd.read_csv('../vocabulary.csv') 7 +vocab = pd.read_csv('E:/khuhub/2015104192/web/backend/yt8m/esot3ria/vocabulary.csv')
8 8
9 # Lower corpus and Remove () from name. 9 # Lower corpus and Remove () from name.
10 vocab['WikiDescription'] = vocab['WikiDescription'].str.lower().str.replace('[^a-zA-Z0-9]', ' ') 10 vocab['WikiDescription'] = vocab['WikiDescription'].str.lower().str.replace('[^a-zA-Z0-9]', ' ')
...@@ -36,7 +36,7 @@ vocab_phrased = phraser[tokenlist] ...@@ -36,7 +36,7 @@ vocab_phrased = phraser[tokenlist]
36 36
37 # Vectorize tags. 37 # Vectorize tags.
38 w2v = gensim.models.word2vec.Word2Vec(sentences=tokenlist, min_count=1) 38 w2v = gensim.models.word2vec.Word2Vec(sentences=tokenlist, min_count=1)
39 -w2v.save('tag_vectors.model') 39 +w2v.save('E:/khuhub/2015104192/web/backend/yt8m/esot3ria/tag_vectors2.model')
40 40
41 # word_vectors = w2v.wv 41 # word_vectors = w2v.wv
42 # vocabs = word_vectors.vocab.keys() 42 # vocabs = word_vectors.vocab.keys()
......
This file is too large to display.
This diff could not be displayed because it is too large.
...@@ -263,6 +263,8 @@ class GruModel(models.BaseModel): ...@@ -263,6 +263,8 @@ class GruModel(models.BaseModel):
263 is_training=is_training, 263 is_training=is_training,
264 **unused_params) 264 **unused_params)
265 265
266 +
267 +
266 class FrameLevelLogisticModel(models.BaseModel): 268 class FrameLevelLogisticModel(models.BaseModel):
267 """Creates a logistic classifier over the aggregated frame-level features.""" 269 """Creates a logistic classifier over the aggregated frame-level features."""
268 def create_model(self, model_input, vocab_size, num_frames, **unused_params): 270 def create_model(self, model_input, vocab_size, num_frames, **unused_params):
......
...@@ -15,7 +15,7 @@ module.exports = { ...@@ -15,7 +15,7 @@ module.exports = {
15 rules: { 15 rules: {
16 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 16 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
17 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 17 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
18 - 'linebreak-style': ['error', 'unix'], 18 + 'linebreak-style': 0,
19 'max-len': ['error', { code: 200 }], 19 'max-len': ['error', { code: 200 }],
20 }, 20 },
21 }; 21 };
......
...@@ -11752,9 +11752,9 @@ ...@@ -11752,9 +11752,9 @@
11752 "dev": true 11752 "dev": true
11753 }, 11753 },
11754 "vue": { 11754 "vue": {
11755 - "version": "2.6.11", 11755 + "version": "2.6.12",
11756 - "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.11.tgz", 11756 + "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.12.tgz",
11757 - "integrity": "sha512-VfPwgcGABbGAue9+sfrD4PuwFar7gPb1yl1UK1MwXoQPAw0BKSqWfoYCT/ThFrdEVWoI51dBuyCoiNU9bZDZxQ==" 11757 + "integrity": "sha512-uhmLFETqPPNyuLLbsKz6ioJ4q7AZHzD8ZVFNATNyICSZouqP2Sz0rotWQC8UNBF6VGSCs5abnKJoStA6JbCbfg=="
11758 }, 11758 },
11759 "vue-cli-plugin-vuetify": { 11759 "vue-cli-plugin-vuetify": {
11760 "version": "2.0.5", 11760 "version": "2.0.5",
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
13 "core-js": "^3.6.5", 13 "core-js": "^3.6.5",
14 "moment": "^2.24.0", 14 "moment": "^2.24.0",
15 "roboto-fontface": "*", 15 "roboto-fontface": "*",
16 - "vue": "^2.6.11", 16 + "vue": "^2.6.12",
17 "vue-router": "^3.1.6", 17 "vue-router": "^3.1.6",
18 "vuetify": "^2.2.11", 18 "vuetify": "^2.2.11",
19 "vuex": "^3.1.3" 19 "vuex": "^3.1.3"
......