3.2.2
This commit is contained in:
BIN
__pycache__/config.cpython-38.pyc
Normal file
BIN
__pycache__/config.cpython-38.pyc
Normal file
Binary file not shown.
BIN
__pycache__/dataset.cpython-38.pyc
Normal file
BIN
__pycache__/dataset.cpython-38.pyc
Normal file
Binary file not shown.
BIN
__pycache__/model_numpy.cpython-38.pyc
Normal file
BIN
__pycache__/model_numpy.cpython-38.pyc
Normal file
Binary file not shown.
BIN
__pycache__/train.cpython-38.pyc
Normal file
BIN
__pycache__/train.cpython-38.pyc
Normal file
Binary file not shown.
@@ -20,7 +20,7 @@ KEEP_PROB = 1.0 # Dropout保留概率(LR忽略,设
|
||||
|
||||
# ==================== 训练相关 ====================
|
||||
LEARNING_RATE = 0.05 # 学习率
|
||||
NUM_EPOCHS = 100 # 训练轮数
|
||||
NUM_EPOCHS = 60 # 训练轮数
|
||||
BATCH_SIZE = 64 # 批次大小
|
||||
|
||||
# ==================== 类别权重(解决数据不平衡问题)====================
|
||||
@@ -28,7 +28,7 @@ USE_CLASS_WEIGHT = True # True=启用类别权重, False=不启
|
||||
# 权重计算公式: n_samples / (n_classes * n_class_i)
|
||||
# 正面评论多所以权重小,负面评论少所以权重大
|
||||
CLASS_WEIGHT_POS = 0.73 # 正面类权重(自动计算)
|
||||
CLASS_WEIGHT_NEG = 1.58 # 负面类权重(自动计算)
|
||||
CLASS_WEIGHT_NEG = 2.00 # 负面类权重(自动计算)
|
||||
|
||||
# ==================== 实验相关 ====================
|
||||
RUN_COMPARISON = False # True=运行对比实验, False=运行单个模型
|
||||
|
||||
7767
data/ChnSentiCorp/ChnSentiCorp_htl_all.csv
Normal file
7767
data/ChnSentiCorp/ChnSentiCorp_htl_all.csv
Normal file
File diff suppressed because one or more lines are too long
BIN
model_lr_tfidf_weighted_0430_154956_W.npy
Normal file
BIN
model_lr_tfidf_weighted_0430_154956_W.npy
Normal file
Binary file not shown.
BIN
model_lr_tfidf_weighted_0430_154956_b.npy
Normal file
BIN
model_lr_tfidf_weighted_0430_154956_b.npy
Normal file
Binary file not shown.
BIN
model_lr_tfidf_weighted_0430_155326_W.npy
Normal file
BIN
model_lr_tfidf_weighted_0430_155326_W.npy
Normal file
Binary file not shown.
BIN
model_lr_tfidf_weighted_0430_155326_b.npy
Normal file
BIN
model_lr_tfidf_weighted_0430_155326_b.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155642_W1.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155642_W1.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155642_W2.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155642_W2.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155642_b1.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155642_b1.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155642_b2.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155642_b2.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155821_W1.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155821_W1.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155821_W2.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155821_W2.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155821_b1.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155821_b1.npy
Normal file
Binary file not shown.
BIN
model_mlp_bow_weighted_0430_155821_b2.npy
Normal file
BIN
model_mlp_bow_weighted_0430_155821_b2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145335_W1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145335_W1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145335_W2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145335_W2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145335_b1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145335_b1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145335_b2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145335_b2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145356_W1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145356_W1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145356_W2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145356_W2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145356_b1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145356_b1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145356_b2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145356_b2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145425_W1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145425_W1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145425_W2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145425_W2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145425_b1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145425_b1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_145425_b2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_145425_b2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_154813_W1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_154813_W1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_154813_W2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_154813_W2.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_154813_b1.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_154813_b1.npy
Normal file
Binary file not shown.
BIN
model_mlp_tfidf_weighted_0430_154813_b2.npy
Normal file
BIN
model_mlp_tfidf_weighted_0430_154813_b2.npy
Normal file
Binary file not shown.
1
原文件
Submodule
1
原文件
Submodule
Submodule 原文件 added at 20993e9fae
Reference in New Issue
Block a user