【文件属性】:
文件名称:text_based_depression:论文“基于文本的抑郁症检测”的源代码
文件大小:49KB
文件格式:ZIP
更新时间:2021-05-03 15:37:18
Python
基于文本的抑郁症分析
本文源代码
先决条件
所需的python包可以在requirements.txt找到。
torch==1.2.0
kaldi_io==0.9.1
bert_serving_server==1.9.6
pytorch_ignite==0.2.0
numpy==1.16.4
librosa==0.7.0
tabulate==0.8.3
mistletoe==0.7.2
scipy==1.3.0
tqdm==4.32.2
pandas==0.24.2
fire==0.1.3
imbalanced_learn==0.5.0
allennlp==0.8.5
gensim==3.8.0
ignite==1.1.0
imblearn==0.0
nltk==3.4.5
plotnine==0.6.0
scikit_learn==0.21.3
PyYAML==5.1.2
预训练模型
【文件预览】:
text_based_depression-master
----requirements.txt(336B)
----run.py(16KB)
----show_most_common_words.py(4KB)
----models.py(7KB)
----notebooks()
--------analyze_data.ipynb(67KB)
----README.md(3KB)
----config()
--------text_lstm_deep.yaml(1KB)
----system()
--------data_preprocess()
--------training()
----data_preprocess()
--------extract_text_bert.py(2KB)
--------extract_text_gensim.py(3KB)
--------start_bert_server.sh(152B)
--------extract_text_elmo.py(2KB)
----dataset.py(4KB)
----docs()
--------report.md(5KB)
--------plot_report_results.py(2KB)
----losses.py(5KB)