├── Bayes.py ├── LICENSE ├── README.md ├── SVM.py ├── ad ├── advertise.txt ├── normal.txt ├── stop.txt └── train.txt ├── doc └── 基于AdaBoost算法的情感分析研究.docx ├── draw_pic.py ├── from_database.py ├── jiebatest.py ├── model ├── gnb.model ├── gnb.model_01.npy ├── gnb.model_02.npy ├── gnb.model_03.npy ├── gnb.model_04.npy └── gnb.model_05.npy ├── multi_AdaBoost ├── Bayes.py ├── model │ └── gnb.model ├── multi_boost.py └── multi_test.py ├── ntusd ├── ntusd-negative.txt └── ntusd-positive.txt ├── plot_adaboost_multiclass.py ├── pynlptest.py ├── svm_train.py ├── temp.py ├── test.py ├── train ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-35.pyc │ ├── boostNB.cpython-35.pyc │ └── tool.cpython-35.pyc ├── boostNB.py ├── model │ ├── gnb.model │ ├── gnb.model_01.npy │ ├── gnb.model_02.npy │ ├── gnb.model_03.npy │ ├── gnb.model_04.npy │ └── gnb.model_05.npy ├── new_train.py ├── new_word.txt ├── tool.py ├── train.txt ├── training.py ├── vocabularyList.txt └── word.txt ├── two_class ├── DS.txt ├── adaboostNB.py ├── model │ ├── gnb.model │ ├── gnb.model_01.npy │ ├── gnb.model_02.npy │ ├── gnb.model_03.npy │ ├── gnb.model_04.npy │ └── gnb.model_05.npy ├── roc_temp.py ├── roc_test.py ├── svm_temp.py ├── two_class.txt ├── two_nb.py ├── update_adaboostNB.py └── using_sklearn.py ├── word ├── __init__.py ├── count.py ├── cut.py └── mood.py └── word_cloud ├── draw_word.py ├── en.txt ├── en_test.py ├── simhei.ttf └── temp.png /Bayes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/Bayes.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/README.md -------------------------------------------------------------------------------- /SVM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/SVM.py -------------------------------------------------------------------------------- /ad/advertise.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/ad/advertise.txt -------------------------------------------------------------------------------- /ad/normal.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/ad/normal.txt -------------------------------------------------------------------------------- /ad/stop.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/ad/stop.txt -------------------------------------------------------------------------------- /ad/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/ad/train.txt -------------------------------------------------------------------------------- /doc/基于AdaBoost算法的情感分析研究.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/doc/基于AdaBoost算法的情感分析研究.docx -------------------------------------------------------------------------------- /draw_pic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/draw_pic.py -------------------------------------------------------------------------------- /from_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/from_database.py -------------------------------------------------------------------------------- /jiebatest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/jiebatest.py -------------------------------------------------------------------------------- /model/gnb.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/model/gnb.model -------------------------------------------------------------------------------- /model/gnb.model_01.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/model/gnb.model_01.npy -------------------------------------------------------------------------------- /model/gnb.model_02.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/model/gnb.model_02.npy -------------------------------------------------------------------------------- /model/gnb.model_03.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/model/gnb.model_03.npy -------------------------------------------------------------------------------- /model/gnb.model_04.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/model/gnb.model_04.npy -------------------------------------------------------------------------------- /model/gnb.model_05.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/model/gnb.model_05.npy -------------------------------------------------------------------------------- /multi_AdaBoost/Bayes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/multi_AdaBoost/Bayes.py -------------------------------------------------------------------------------- /multi_AdaBoost/model/gnb.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/multi_AdaBoost/model/gnb.model -------------------------------------------------------------------------------- /multi_AdaBoost/multi_boost.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/multi_AdaBoost/multi_boost.py -------------------------------------------------------------------------------- /multi_AdaBoost/multi_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/multi_AdaBoost/multi_test.py -------------------------------------------------------------------------------- /ntusd/ntusd-negative.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/ntusd/ntusd-negative.txt -------------------------------------------------------------------------------- /ntusd/ntusd-positive.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/ntusd/ntusd-positive.txt -------------------------------------------------------------------------------- /plot_adaboost_multiclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/plot_adaboost_multiclass.py -------------------------------------------------------------------------------- /pynlptest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/pynlptest.py -------------------------------------------------------------------------------- /svm_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/svm_train.py -------------------------------------------------------------------------------- /temp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/temp.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/test.py -------------------------------------------------------------------------------- /train/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/__pycache__/__init__.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/__pycache__/__init__.cpython-35.pyc -------------------------------------------------------------------------------- /train/__pycache__/boostNB.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/__pycache__/boostNB.cpython-35.pyc -------------------------------------------------------------------------------- /train/__pycache__/tool.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/__pycache__/tool.cpython-35.pyc -------------------------------------------------------------------------------- /train/boostNB.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/boostNB.py -------------------------------------------------------------------------------- /train/model/gnb.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/model/gnb.model -------------------------------------------------------------------------------- /train/model/gnb.model_01.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/model/gnb.model_01.npy -------------------------------------------------------------------------------- /train/model/gnb.model_02.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/model/gnb.model_02.npy -------------------------------------------------------------------------------- /train/model/gnb.model_03.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/model/gnb.model_03.npy -------------------------------------------------------------------------------- /train/model/gnb.model_04.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/model/gnb.model_04.npy -------------------------------------------------------------------------------- /train/model/gnb.model_05.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/model/gnb.model_05.npy -------------------------------------------------------------------------------- /train/new_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/new_train.py -------------------------------------------------------------------------------- /train/new_word.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/new_word.txt -------------------------------------------------------------------------------- /train/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/tool.py -------------------------------------------------------------------------------- /train/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/train.txt -------------------------------------------------------------------------------- /train/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/training.py -------------------------------------------------------------------------------- /train/vocabularyList.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/vocabularyList.txt -------------------------------------------------------------------------------- /train/word.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/train/word.txt -------------------------------------------------------------------------------- /two_class/DS.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/DS.txt -------------------------------------------------------------------------------- /two_class/adaboostNB.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/adaboostNB.py -------------------------------------------------------------------------------- /two_class/model/gnb.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/model/gnb.model -------------------------------------------------------------------------------- /two_class/model/gnb.model_01.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/model/gnb.model_01.npy -------------------------------------------------------------------------------- /two_class/model/gnb.model_02.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/model/gnb.model_02.npy -------------------------------------------------------------------------------- /two_class/model/gnb.model_03.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/model/gnb.model_03.npy -------------------------------------------------------------------------------- /two_class/model/gnb.model_04.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/model/gnb.model_04.npy -------------------------------------------------------------------------------- /two_class/model/gnb.model_05.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/model/gnb.model_05.npy -------------------------------------------------------------------------------- /two_class/roc_temp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/roc_temp.py -------------------------------------------------------------------------------- /two_class/roc_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/roc_test.py -------------------------------------------------------------------------------- /two_class/svm_temp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/svm_temp.py -------------------------------------------------------------------------------- /two_class/two_class.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/two_class.txt -------------------------------------------------------------------------------- /two_class/two_nb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/two_nb.py -------------------------------------------------------------------------------- /two_class/update_adaboostNB.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/update_adaboostNB.py -------------------------------------------------------------------------------- /two_class/using_sklearn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/two_class/using_sklearn.py -------------------------------------------------------------------------------- /word/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word/__init__.py -------------------------------------------------------------------------------- /word/count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word/count.py -------------------------------------------------------------------------------- /word/cut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word/cut.py -------------------------------------------------------------------------------- /word/mood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word/mood.py -------------------------------------------------------------------------------- /word_cloud/draw_word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word_cloud/draw_word.py -------------------------------------------------------------------------------- /word_cloud/en.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word_cloud/en.txt -------------------------------------------------------------------------------- /word_cloud/en_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word_cloud/en_test.py -------------------------------------------------------------------------------- /word_cloud/simhei.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word_cloud/simhei.ttf -------------------------------------------------------------------------------- /word_cloud/temp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zephery/weiboanalysis/HEAD/word_cloud/temp.png --------------------------------------------------------------------------------