├── .idea
├── misc.xml
├── modules.xml
├── python.iml
├── vcs.xml
└── workspace.xml
├── Features
├── Structural.py
└── __init__.py
├── README.md
├── SRILM
├── ExtractTestSetByNGram.py
├── ExtractTrainSetByNGram.py
├── IntegrateFeature.py
└── __init__.py
├── Train
├── DecisionTree.py
├── SVM.py
├── __init__.py
├── test1.py
└── train.py
├── __pycache__
└── config.cpython-35.pyc
├── config.py
├── dataset
├── Features20171110.xlsx
├── condensedFeatures20171115.xlsx
└── condensedTestFeatures20171115.xlsx
├── image
├── ExtraTrees test result.png
├── ExtraTrees train result.png
├── Scoring
│ ├── Concession_new_features.png
│ ├── Conclusion_new_features.png
│ ├── Introduction_new_features.png
│ └── Reason_new_features.png
├── 分析树.png
└── 篇章结构评分系统思维导图.png
├── model
└── 20171110
│ ├── modal
│ ├── ADMResult
│ ├── ADMTrain.txt.count
│ ├── ADMTrainLM
│ ├── BGResult
│ ├── BGTrain.txt.count
│ ├── BGTrainLM
│ ├── EEXPResult
│ ├── EEXPTrain.txt.count
│ ├── EEXPTrainLM
│ ├── EGResult
│ ├── EGTrain.txt.count
│ ├── EGTrainLM
│ ├── GRLTrain.txt.count
│ ├── IRLTrain.txt.count
│ ├── PTResult
│ ├── PTTrain.txt.count
│ ├── PTTrainLM
│ ├── RAFMResult
│ ├── RAFMTrain.txt.count
│ ├── RAFMTrainLM
│ ├── REXPResult
│ ├── REXPTrain.txt.count
│ ├── REXPTrainLM
│ ├── RSTrain.txt.count
│ ├── RTTResult
│ ├── RTTTrain.txt.count
│ ├── RTTTrainLM
│ ├── SRSResult
│ ├── SRSTrain.txt.count
│ ├── SRSTrainLM
│ └── TSTTrain.txt.count
│ ├── test
│ ├── BGTest.txt
│ └── testFile.txt
│ └── train
│ ├── ADMFile.txt
│ ├── BGFile.txt
│ ├── EEXPFile.txt
│ ├── EGFile.txt
│ ├── GRLFile.txt
│ ├── IRLFile.txt
│ ├── PTFile.txt
│ ├── RAFMFile.txt
│ ├── REXPFile.txt
│ ├── RSFile.txt
│ ├── RTTFile.txt
│ ├── SRSFile.txt
│ └── TSTFile.txt
├── nltkTest
├── __init__.py
├── __pycache__
│ └── __init__.cpython-35.pyc
├── nltkDemo.py
├── nltkDemo2.py
└── nltkDemo3.py
├── preprocessing
├── DataNormalize.py
├── DataProcessing.py
└── __init__.py
└── result
├── DecisionTreeResult.text
├── DecisionTreeResult20171114.text
├── ExtraTreesCrossValidationResult20171115.text
├── ExtraTreesCrossValidationResult2017111501.text
├── ExtraTreesCrossValidationResult2017111502.text
├── ExtraTreesCrossValidationResult20171116.text
├── ExtraTreesCrossValidationResult20171117.text
├── ExtraTreesCrossValidationResult20171120.text
├── ExtraTreesCrossValidationResult20171121.text
├── ExtraTreesCrossValidationResult20171122.text
├── ExtraTreesPredictResult2017111501.text
├── ExtraTreesPredictResult2017111502.text
├── ExtraTreesPredictResult20171116.text
├── ExtraTreesPredictResult20171117.text
├── ExtraTreesPredictResult20171120.text
├── ExtraTreesPredictResult20171121.text
├── ExtraTreesPredictResult2017112101.text
├── ExtraTreesPredictResult20171122.text
├── ExtraTreesResult.text
├── ExtraTreesResult20171114.text
├── ExtraTreesResult20171115.text
├── RandomForestCrossValidationResult20171116.text
├── RandomForestPredictResult20171116.text
├── RandomForestPredictResult20171117.text
├── RandomForestResult.text
├── RandomForestResult20171114.text
├── RandomForestResult20171115.text
├── SVMPredictResult20171117.text
└── SVMResult20171114.text
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | Buildout
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/python.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Features/Structural.py:
--------------------------------------------------------------------------------
1 | import openpyxl
2 | import nltk
3 | import re
4 | import config
5 | configs = config.configs
6 | import os
7 | from nltk.parse import stanford
8 | from datetime import datetime
9 | # from nltk.tokenize import sent_tokenize
10 |
11 | os.environ["STANFORD_PARSER"] = configs['stanfordParserPath']
12 | os.environ["STANFORD_MODELS"] = configs['stanfordParserModelsPath']
13 | parser = stanford.StanfordParser(model_path=u"edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz")
14 |
15 | nltk.data.path.append(configs['nltkDataPath'])
16 |
17 | # 记录程序开始执行时间
18 | start = datetime.now()
19 |
20 | readBook = openpyxl.load_workbook(configs['dataSetPath'])
21 | readSheet = readBook.active
22 |
23 | writeBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
24 | writeSheet = writeBook.active
25 |
26 | writeTestBook = openpyxl.load_workbook(configs['extractTestFeaturesPath'])
27 | writeTestSheet = writeTestBook.active
28 |
29 | # 分割不带标签的句子 注:无法识别标点符号后不带空格的句子,故放弃这种方式
30 | # def segregateSentence(paraContent):
31 | # # sent_tokenizer = nltk.data.load('tokenizers/punkt/english.pickle')
32 | # # sentences = sent_tokenizer.tokenize(paraContent)
33 | # sentences = sent_tokenize(paraContent)
34 | # return sentences
35 |
36 | # 分割带标签的句子
37 | def segregateSentenceByTag(paraContentTag):
38 | sentencesTag = re.split(r'(<[A-Z]{2,4}>)', paraContentTag)
39 | tags = []
40 | sentences = []
41 |
42 | for index in range(len(sentencesTag)):
43 | if sentencesTag[index] == "":
44 | continue
45 | elif index%2 == 0:
46 | sentence = re.split(r'([A-Z]{2,4}>)', sentencesTag[index])
47 | sentences.append(sentence[0].strip())
48 | continue
49 | else:
50 | tags.append(configs['Tags'][sentencesTag[index]])
51 |
52 | return sentences, tags
53 |
54 | # 获取一个句子中的单词个数以及句子的标点符号
55 | def getWordCountAndPunctuation(sentence):
56 | words = re.split(r"\s+", sentence)
57 | return len(words), words[-1][-1]
58 | #return len(nltk.word_tokenize(sentence))
59 |
60 | # 获取一个句子的分析树的深度
61 | def getParseTreeDepth(sentence):
62 | trees = parser.raw_parse(sentence)
63 | tree = next(trees)
64 | if tree is None:
65 | return 0
66 | return tree.height()
67 |
68 | # 获取句子时态特征
69 | def getSentenceTense(sentence):
70 | #分词
71 | tokens = nltk.word_tokenize(sentence)
72 | #词性标注
73 | tags = nltk.pos_tag(tokens)
74 | i_1 = 0
75 | i_2 = 0
76 | for tag in tags:
77 | if tag[1] not in configs['tense']:
78 | continue
79 | elif configs['tense'][tag[1]] == 1:
80 | i_1 += 1
81 | elif configs['tense'][tag[1]] == 2:
82 | i_2 += 1
83 | return 1 if i_1 >= i_2 else 2
84 |
85 | def extractTrainStructuralFeature():
86 |
87 | rows = []
88 |
89 | for i in range(readSheet.max_row - 51):
90 | paraContentTag = readSheet.cell(row=i + 2, column=8).value
91 | sentencesAndTag = segregateSentenceByTag(paraContentTag)
92 |
93 | sentences = sentencesAndTag[0]
94 | tags = sentencesAndTag[1]
95 |
96 | for index in range(len(sentences)):
97 | print((i + 2), sentences[index])
98 | wordCountAndPunctuation = getWordCountAndPunctuation(sentences[index])
99 |
100 | row = [readSheet.cell(row=i + 2, column=1).value, # ID
101 | readSheet.cell(row=i + 2, column=2).value, # ParaType
102 | readSheet.cell(row=i + 2, column=5).value, # Structure
103 | sentences[index], # SentenceContent
104 | tags[index], # SentenceTag
105 | wordCountAndPunctuation[0], # WordCount
106 | wordCountAndPunctuation[1], # Punctuation
107 | index, # position
108 | getParseTreeDepth(sentences[index]), # parseTreeDepth
109 | getSentenceTense(sentences[index]), # tense
110 | '0%'
111 | ]
112 |
113 | for indicator in configs['indicators']:
114 | row.append(1) if indicator in sentences[index] \
115 | or indicator.capitalize() in sentences[index] else row.append(0)
116 |
117 | rows.append(row)
118 |
119 | for row in rows:
120 | writeSheet.append(row)
121 |
122 | writeBook.save(configs['extractFeaturesPath'])
123 |
124 | def extractTestStructuralFeature():
125 |
126 | rows = []
127 |
128 | for i in range(51):
129 | k = i + readSheet.max_row - 50
130 | paraContentTag = readSheet['H' + str(k)].value
131 | sentencesAndTag = segregateSentenceByTag(paraContentTag.strip())
132 |
133 | sentences = sentencesAndTag[0]
134 | tags = sentencesAndTag[1]
135 |
136 | for index in range(len(sentences)):
137 | print((k), sentences[index])
138 | wordCountAndPunctuation = getWordCountAndPunctuation(sentences[index])
139 |
140 | row = [readSheet['A' + str(k)].value, # ID
141 | readSheet['B' + str(k)].value, # ParaType
142 | readSheet['E' + str(k)].value, # Structure
143 | sentences[index], # SentenceContent
144 | tags[index], # SentenceTag
145 | configs['paraType'][readSheet['B' + str(k)].value], # ParaTag
146 | 0, 0, #BeforeSentenceTag,AfterSentenceTag
147 | wordCountAndPunctuation[0], # WordCount
148 | wordCountAndPunctuation[1], # Punctuation
149 | index, # position
150 | getParseTreeDepth(sentences[index]), # parseTreeDepth
151 | getSentenceTense(sentences[index]), # tense
152 | 0,0,0,0,0,0,0,0,0
153 | ]
154 |
155 | for indicator in configs['indicators']:
156 | row.append(1) if indicator in sentences[index] \
157 | or indicator.capitalize() in sentences[index] else row.append(0)
158 |
159 | rows.append(row)
160 |
161 | for row in rows:
162 | writeTestSheet.append(row)
163 |
164 | writeTestBook.save(configs['extractTestFeaturesPath'])
165 |
166 | # 测试代码
167 | # paraContentTag = readSheet.cell(row = 68, column = 8).value
168 | # tags = segregateSentenceTag(paraContentTag)
169 | # print(tags)
170 | # print(len(tags))
171 | #
172 | # paraContent = readSheet.cell(row = 68, column = 4).value
173 | # sentences = segregateSentence(paraContent)
174 | # print(sentences)
175 | # print(len(sentences))
176 | #
177 | # from nltk.tokenize import sent_tokenize
178 | # sents = sent_tokenize(readSheet.cell(row = 68, column = 4).value)
179 | # print(sents)
180 | # print(len(sents))
181 | #
182 | # from nltk.tokenize import PunktSentenceTokenizer
183 | # punkts = PunktSentenceTokenizer().tokenize(readSheet.cell(row = 68, column = 4).value)
184 | # print(punkts)
185 | # print(len(punkts))
186 |
187 | # segregateSentenceTag(readSheet.cell(row = 68, column = 8).value)
188 | #
189 | # for s in sentences:
190 | # print(s)
191 |
192 | # for index in range(len(sentences)):
193 | # print(index)
194 | # print(tags[index])
195 |
196 | # 计算程序运行总时间(秒)
197 | extractTestStructuralFeature()
198 |
199 | elapsed = (datetime.now() - start).seconds
200 | print('Time used : ', elapsed)
--------------------------------------------------------------------------------
/Features/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/Features/__init__.py
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## 议论文篇章结构评分系统
2 |
3 | ## 一、项目概述
4 |
5 | 本项目为自动作文评分中篇章结构的评分,第一版本方案(篇章结构评分系统V1.0.0)主要包括篇章结构特征提取模块、篇章结构评分模型训练模块以及模型测试模块三部分,后期根据模型效果再加以优化改进。
6 |
7 | ## 二、功能接口定义
8 |
9 | 输入数据:一篇文章
10 | 输出数据:该文章的篇章结构分数
11 |
12 | ## 三、总体流程
13 |
14 | ### 3.1 篇章结构标签介绍
15 |
16 | 目前的方案主要是判断篇章结构的完整度,一个完整的议论文文章应该包含以下篇章结构:
17 |
18 | #### 3.1.1 开头段
19 |
20 | * 背景(background):\\
21 | * 观点(point):\\
22 | * 过渡句(transition):\\
23 |
24 | #### 3.1.2 理由段
25 |
26 | * 理由(reason):\\
27 | * 理由解释(reason explanation):\\
28 | * 例子(example):\\
29 | * 例子解释(example explanation):\\
30 | * 例子泛化(generalization):\\
31 |
32 | #### 3.1.3 让步段
33 |
34 | * 承认对方优点(admission):\\
35 | * 反驳对方观点(retort):\\
36 |
37 | #### 3.1.4 总结段
38 |
39 | * 理由总结(sum reason):\\
40 | * 观点重申(reaffirm):\\
41 |
42 | #### 3.1.5 无关段
43 | (与文章无关的句子,有没有这部分都不影响篇章结构分数)
44 |
45 | * 与文章无关(irrelevant):\\
46 |
47 | 我们使用篇章结构评分系统来对测试集中每篇文章中的每个句子进行篇章结构类别分类,以篇章结构是否完整为评价标准进行作文评分。
48 |
49 | 篇章结构评分系统思维导图见image目录下的“篇章结构评分系统思维导图.png”
50 |
51 | ### 3.2 特征提取
52 |
53 | #### 3.2.1 对于结构特征:
54 |
55 | * 利用NLTK对句子进行词分割,进而统计句子中词的个数;
56 | * 以段落的句子结束的标点符号进行分割句子,位置特征由两部分组成:句子所在段落位置和句子在段落中的位置;
57 | * 标点符号特征分为三类:句号、问号和感叹号;
58 | * 依据评分经验,我们将当前句子前后一句的篇章结构标签作为该句子的一个篇章结构特征,文章首句的前一个句子和末尾句的后一个句子的篇章结构标签设为0;
59 | * 设置句子所属段落标签:开头、理由、让步、总结。
60 |
61 | #### 3.2.2 对于词汇特征:
62 |
63 | * 使用SRILM中的n-gram工具来训练语言模型,分别对不同类别的篇章结构进行训练,构建n-gram训练模型,然后再计算某个句子属于不同类别篇章结构的概率,将这个概率作为一个数值特征;
64 | * 使用NLTK中的POS工具对句子中的单词进行词性标注。
65 |
66 | #### 3.2.3 对于句法特征:
67 |
68 | * 使用NLTK中的Stanford分析器构建分析树(分析树图见image目录下的“分析树图.png”),我们提取分析树的深度作为一个数值特征,分析树如下图3所示;
69 | * 我们主要以一个句子中的动词和谓语的时态作为句子的时态,而动词和谓语的时态识别可以由词性标注步骤来完成。
70 |
71 | #### 3.2.4 对于指示词特征:
72 |
73 | * 将一个句子中的动词、副词、情态动词以及第一人称代词与事先归纳的指示词表进行对比,统计一个指示词与所属类别之间的概率统计。
74 |
75 | ### 3.3 模型训练与测试
76 |
77 | 我们使用sklearn中的SVM和随机森林来训练模型,输入上面我们提取的特征组成的特征向量,训练好分类模型之后使用测试集数据进行测试,并计算准确度。
78 |
79 | ## 四、参考文献
80 |
81 | 1.Christian Stab, Iryna Gurevych. Identifying Argumentative Discourse Structures in Persuasive Essays, Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2014, pages 46-56.
82 |
83 | 2.Rashmi Prasad, Eleni Miltsakaki, Nikhil Dinesh, Alan Lee, Aravind Joshi, Livio Robaldo, and Bonnie L. Webber. 2007. The Penn Discourse Treebank 2.0 annotation manual. Technical report, Institute for Research in Cognitive Science, University of Pennsylvania.
84 |
85 | 3.Roger Levy.Working with n-grams in SRILM.2015
86 |
87 | 4.http://www.nltk.org/api/nltk.html
88 |
89 | 5.http://scikit-learn.org/stable/modules/classes.html
90 |
91 | 6.https://ynuwm.github.io/2017/05/24/SRILM%E8%AE%AD%E7%BB%83%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B%E5%AE%9E%E6%88%98/
--------------------------------------------------------------------------------
/SRILM/ExtractTestSetByNGram.py:
--------------------------------------------------------------------------------
1 | import openpyxl
2 | import config
3 | configs = config.configs
4 |
5 | # 提取在训练集中所有的句子
6 | def extractTestContent():
7 |
8 | readBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
9 | # 获取当前正在显示的sheet
10 | readSheet = readBook.active
11 |
12 | testFile = open('/Users/ming.zhou/NLP/datasets/ngram/test/testFile.txt', 'a')
13 | testContent = []
14 |
15 | for i in range(readSheet.max_row - 1):
16 | sentence = readSheet.cell(row=i + 2, column=4).value
17 | testContent.append(sentence + '\n')
18 |
19 | testFile.writelines(testContent)
20 | testFile.close()
21 |
22 | # 提取测试模型的句子
23 | def extractTestSetContent():
24 |
25 | readTestBook = openpyxl.load_workbook(configs['extractTestFeaturesPath'])
26 | # 获取当前正在显示的sheet
27 | readTestSheet = readTestBook.active
28 |
29 | testSetFile = open('/Users/ming.zhou/NLP/datasets/ngram/test/testSetFile.txt', 'a')
30 | testSetContent = []
31 |
32 | for i in range(readTestSheet.max_row - 1):
33 | sentence = readTestSheet['D' + str(i + 2)].value
34 | testSetContent.append(sentence + '\n')
35 |
36 | testSetFile.writelines(testSetContent)
37 | testSetFile.close()
38 |
39 | extractTestSetContent()
--------------------------------------------------------------------------------
/SRILM/ExtractTrainSetByNGram.py:
--------------------------------------------------------------------------------
1 | import openpyxl
2 | import config
3 | configs = config.configs
4 |
5 | readBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
6 | # 获取当前正在显示的sheet
7 | readSheet = readBook.active
8 |
9 | BGFile = open('/Users/ming.zhou/NLP/datasets/ngram/BGFile.txt', 'a')
10 | PTFile = open('/Users/ming.zhou/NLP/datasets/ngram/PTFile.txt', 'a')
11 | TSTFile = open('/Users/ming.zhou/NLP/datasets/ngram/TSTFile.txt', 'a')
12 | RSFile = open('/Users/ming.zhou/NLP/datasets/ngram/RSFile.txt', 'a')
13 | REXPFile = open('/Users/ming.zhou/NLP/datasets/ngram/REXPFile.txt', 'a')
14 | EGFile = open('/Users/ming.zhou/NLP/datasets/ngram/EGFile.txt', 'a')
15 | EEXPFile = open('/Users/ming.zhou/NLP/datasets/ngram/EEXPFile.txt', 'a')
16 | GRLFile = open('/Users/ming.zhou/NLP/datasets/ngram/GRLFile.txt', 'a')
17 | ADMFile = open('/Users/ming.zhou/NLP/datasets/ngram/ADMFile.txt', 'a')
18 | RTTFile = open('/Users/ming.zhou/NLP/datasets/ngram/RTTFile.txt', 'a')
19 | SRSFile = open('/Users/ming.zhou/NLP/datasets/ngram/SRSFile.txt', 'a')
20 | RAFMFile = open('/Users/ming.zhou/NLP/datasets/ngram/RAFMFile.txt', 'a')
21 | IRLFile = open('/Users/ming.zhou/NLP/datasets/ngram/IRLFile.txt', 'a')
22 |
23 | BGContent = []
24 | PTContent = []
25 | TSTContent = []
26 | RSContent = []
27 | REXPContent = []
28 | EGContent = []
29 | EEXPContent = []
30 | GRLContent = []
31 | ADMContent = []
32 | RTTContent = []
33 | SRSContent = []
34 | RAFMContent = []
35 | IRLContent = []
36 |
37 | putSentenceByTag = {
38 | 1 : lambda x: BGContent.append(x) ,
39 | 2: lambda x: PTContent.append(x),
40 | 3: lambda x: TSTContent.append(x),
41 | 4: lambda x: RSContent.append(x),
42 | 5: lambda x: REXPContent.append(x),
43 | 6: lambda x: EGContent.append(x),
44 | 7: lambda x: EEXPContent.append(x),
45 | 8: lambda x: GRLContent.append(x),
46 | 9: lambda x: ADMContent.append(x),
47 | 10: lambda x: RTTContent.append(x),
48 | 11: lambda x: SRSContent.append(x),
49 | 12: lambda x: RAFMContent.append(x),
50 | 13: lambda x: IRLContent.append(x)
51 | }
52 |
53 | for i in range(readSheet.max_row - 1):
54 | sentenceTag = readSheet.cell(row = i + 2, column = 5).value
55 | sentence = readSheet.cell(row = i + 2, column = 4).value
56 | putSentenceByTag[sentenceTag](sentence + '\n')
57 |
58 | BGFile.writelines(BGContent)
59 | BGFile.close()
60 | PTFile.writelines(PTContent)
61 | PTFile.close()
62 | TSTFile.writelines(TSTContent)
63 | TSTFile.close()
64 | RSFile.writelines(RSContent)
65 | RSFile.close()
66 | REXPFile.writelines(REXPContent)
67 | REXPFile.close()
68 | EGFile.writelines(EGContent)
69 | EGFile.close()
70 | EEXPFile.writelines(EEXPContent)
71 | EEXPFile.close()
72 | GRLFile.writelines(GRLContent)
73 | GRLFile.close()
74 | ADMFile.writelines(ADMContent)
75 | ADMFile.close()
76 | RTTFile.writelines(RTTContent)
77 | RTTFile.close()
78 | SRSFile.writelines(SRSContent)
79 | SRSFile.close()
80 | RAFMFile.writelines(RAFMContent)
81 | RAFMFile.close()
82 | IRLFile.writelines(IRLContent)
83 | IRLFile.close()
--------------------------------------------------------------------------------
/SRILM/IntegrateFeature.py:
--------------------------------------------------------------------------------
1 | import openpyxl
2 | import config
3 | configs = config.configs
4 |
5 | writeBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
6 | writeSheet = writeBook.active
7 |
8 | writeTestBook = openpyxl.load_workbook(configs['extractTestFeaturesPath'])
9 | writeTestSheet = writeTestBook.active
10 |
11 | import re
12 | def integrateNGramFeature():
13 |
14 | # BGResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/BGResult')
15 | # PTResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/PTResult')
16 | # REXPResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/REXPResult')
17 | # EGResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/EGResult')
18 | # EEXPResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/EEXPResult')
19 | # ADMResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/ADMResult')
20 | # RTTResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/RTTResult')
21 | # SRSResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/SRSResult')
22 | # RAFMResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/RAFMResult')
23 | # TestBGResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestBGResult')
24 | # TestPTResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestPTResult')
25 | # TestREXPResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestREXPResult')
26 | # TestEGResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestEGResult')
27 | # TestEEXPResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestEEXPResult')
28 | # TestADMResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestADMResult')
29 | # TestRTTResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestRTTResult')
30 | # TestSRSResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestSRSResult')
31 | TestRAFMResultFile = open('/Users/ming.zhou/NLP/datasets/ngram/modal/TestRAFMResult')
32 |
33 | i = 2
34 | for line in TestRAFMResultFile:
35 | result = re.findall('ppl=.*? ppl', line)
36 | if result:
37 | writeTestSheet['V' + str(i)] = re.split('=', result[0])[1].strip().split(' ')[0]
38 | i += 1
39 | # if 'zeroprobs' in line and 'logprob=' in line and 'ppl=' in line and 'ppl1=' in line:
40 | # print(line)
41 | writeTestBook.save(configs['extractTestFeaturesPath'])
42 |
43 | def integrateSentenceTagFeature():
44 | nowEssayId = 0
45 | beforeEssayId = 0
46 | for i in range(writeSheet.max_row - 1):
47 | nowEssayId = writeSheet['A' + str(i + 2)].value.strip().split('-')[0]
48 | isNewEssay = nowEssayId != beforeEssayId
49 |
50 | if isNewEssay:
51 | writeSheet['G' + str(i + 2)] = 0 #设置当前句的BeforeSentenceTag为0
52 | if i > 0:
53 | writeSheet['H' + str(i + 1)] = 0 #设置上一句的AfterSentenceTag为0
54 | writeSheet['H' + str(i + 2)] = writeSheet['E' + str(i + 3)].value * 10 #设置当前句的AfterSentenceTag
55 | else:
56 | writeSheet['G' + str(i + 2)] = writeSheet['E' + str(i + 1)].value * 10 #设置当前句的BeforeSentenceTag
57 | if (i + 2) == writeSheet.max_row:
58 | writeSheet['H' + str(i + 2)] = 0
59 | else:
60 | writeSheet['H' + str(i + 2)] = writeSheet['E' + str(i + 3)].value * 10 #设置当前句的AfterSentenceTag
61 |
62 | beforeEssayId = writeSheet['A' + str(i + 2)].value.strip().split('-')[0]
63 | writeBook.save(configs['extractFeaturesPath'])
64 |
65 | def integrateParaTagFeature():
66 | for i in range(writeSheet.max_row - 1):
67 | paraType = writeSheet['B' + str(i + 2)].value
68 | writeSheet['F' + str(i + 2)] = configs['paraType'][paraType]
69 | writeBook.save(configs['extractFeaturesPath'])
70 |
71 | def integratePunctuationFeature():
72 | for i in range(writeTestSheet.max_row - 1):
73 | punctuation = writeTestSheet['J' + str(i + 2)].value
74 | tag = 0
75 | if punctuation in configs['punctuation']:
76 | tag = configs['punctuation'][punctuation]
77 | writeTestSheet['J' + str(i + 2)] = tag
78 | print('index[', i + 2, ']', punctuation, ',tag=', tag)
79 |
80 | writeTestBook.save(configs['extractTestFeaturesPath'])
81 |
82 | integrateNGramFeature()
--------------------------------------------------------------------------------
/SRILM/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/SRILM/__init__.py
--------------------------------------------------------------------------------
/Train/DecisionTree.py:
--------------------------------------------------------------------------------
1 | import openpyxl
2 | import config
3 | import math
4 | from sklearn.ensemble import RandomForestClassifier
5 | from sklearn.ensemble import ExtraTreesClassifier
6 | from sklearn.tree import DecisionTreeClassifier
7 | from sklearn.metrics import accuracy_score
8 | # from sklearn.cross_validation import cross_val_score
9 | from sklearn.metrics import hamming_loss
10 | from datetime import datetime
11 |
12 | configs = config.configs
13 |
14 | # 记录程序开始执行时间
15 | start = datetime.now()
16 |
17 | # readBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
18 | readBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
19 | readSheet = readBook.active
20 |
21 | readTestBook = openpyxl.load_workbook(configs['extractTestFeaturesPath'])
22 | readTestSheet = readTestBook.active
23 |
24 | # 获取训练集的句子特征向量以及句子标签
25 | def getFeatureVectorAndTag():
26 | featureVectorList = []
27 | sentenceTag = []
28 | for i in range(readSheet.max_row - 1):
29 |
30 | featureVector = []
31 | sentenceTag.append(readSheet['E' + str(i + 2)].value)
32 | # 先添加段落特征
33 | featureVector.append(float(readSheet['A' + str(i + 2)].value.strip().split('-')[1]))
34 | for j in range(readSheet.max_column - 5):
35 | if isinstance(readSheet.cell(row = i + 2, column = j + 6).value, str):
36 | featureVector.append(float(readSheet.cell(row=i + 2, column=j + 6).value))
37 | else:
38 | featureVector.append(readSheet.cell(row = i + 2, column = j + 6).value)
39 | featureVectorList.append(featureVector)
40 | return featureVectorList, sentenceTag
41 |
42 | # 获取测试集的句子特征向量以及句子标签
43 | def getTestFeatureVectorAndTag():
44 | featureVectorList = []
45 | sentenceTag = []
46 | for i in range(readTestSheet.max_row - 1):
47 |
48 | featureVector = []
49 | sentenceTag.append(readTestSheet['E' + str(i + 2)].value)
50 | # 先添加段落特征
51 | featureVector.append(float(readTestSheet['A' + str(i + 2)].value.strip().split('-')[1]))
52 | for j in range(readTestSheet.max_column - 5):
53 | if isinstance(readTestSheet.cell(row = i + 2, column = j + 6).value, str):
54 | featureVector.append(float(readTestSheet.cell(row=i + 2, column=j + 6).value))
55 | else:
56 | featureVector.append(readTestSheet.cell(row = i + 2, column = j + 6).value)
57 | featureVectorList.append(featureVector)
58 | return featureVectorList, sentenceTag
59 |
60 | def normalizeFeatureBySigmoid(featureVector):
61 | normalizeFeatureVector = []
62 | for feature in featureVector:
63 | normalizeFeatureVector.append(1.0 / (1 + math.exp(-float(feature))))
64 | return normalizeFeatureVector
65 |
66 | def normalizeFeatureByMaxMin(featureVector):
67 | normalizeFeatureVector = []
68 | maxNum = max(featureVector)
69 | minNum = min(featureVector)
70 | for feature in featureVector:
71 | normalizeFeatureVector.append((feature - minNum) / (maxNum - minNum))
72 | return normalizeFeatureVector
73 |
74 | # 训练并测试训练集的准确度
75 | def doTrain(X, Y):
76 | clf = RandomForestClassifier(n_estimators=10) # 0.99710982659
77 | clf.fit(X, Y)
78 | # clf = clf.fit(X, Y)
79 |
80 | Y_pred = clf.predict(X)
81 | print(accuracy_score(Y, Y_pred))
82 | print(Y)
83 | print(Y_pred)
84 | print('Y len is ', len(Y),'Y_pred len is ', len(Y_pred))
85 | # scores = cross_val_score(clf, X, Y)
86 | # print(scores.mean())
87 |
88 | compare = {}
89 | j = 0
90 | for i in range(len(Y)):
91 | if Y[i] == 5:
92 | j += 1
93 | YAndYpred = str(Y[i]) + '-' + str(Y_pred[i])
94 | # print(YAndYpred)
95 | if(Y[i] != Y_pred[i]):
96 | if YAndYpred not in compare:
97 | compare[YAndYpred] = 1
98 | else:
99 | compare[YAndYpred] = compare[YAndYpred] + 1
100 |
101 | print(sorted(compare.items(), key=lambda d: -d[1]))
102 |
103 | # 测试测试集的准确度
104 | def doTrainByTestSet(train_X, train_Y, test_X, test_Y, flag='RandomForest'):
105 |
106 | clf = RandomForestClassifier(n_estimators=10)
107 | filePath = '/Users/ming.zhou/NLP/DiscourseStructures/result/' + flag + 'Result.text'
108 |
109 | if flag == 'ExtraTrees':
110 | clf = ExtraTreesClassifier(n_estimators=10)
111 | elif flag == 'DecisionTree':
112 | clf = DecisionTreeClassifier()
113 |
114 | clf.fit(train_X, train_Y)
115 | Y_pred = clf.predict(test_X)
116 |
117 | result = open(filePath, 'a')
118 | resultContent = []
119 | resultContent.append(str(clf.score(test_X, test_Y)) + '\n')
120 | resultContent.append('test_Y:' + '\n')
121 | resultContent.append(str(test_Y) + '\n')
122 | resultContent.append('Y_pred:' + '\n')
123 | resultContent.append(str(Y_pred) + '\n')
124 | resultContent.append('test_Y len is ' + str(len(test_Y)) + 'Y_pred len is ' + str(len(Y_pred)) + '\n')
125 |
126 | print(clf.score(test_X, test_Y))
127 | print(accuracy_score(test_Y, Y_pred))
128 | print(test_Y)
129 | print(Y_pred)
130 | print('test_Y len is ', len(test_Y),'Y_pred len is ', len(Y_pred))
131 |
132 | compare = {}
133 | j = 0
134 | for i in range(len(test_Y)):
135 | YAndYpred = str(test_Y[i]) + '-' + str(Y_pred[i])
136 | # print(YAndYpred)
137 | if(test_Y[i] != Y_pred[i]):
138 | if YAndYpred not in compare:
139 | compare[YAndYpred] = 1
140 | else:
141 | compare[YAndYpred] = compare[YAndYpred] + 1
142 |
143 | sortedResult = sorted(compare.items(), key=lambda d: -d[1])
144 |
145 | resultContent.append(str(sortedResult))
146 | print(sortedResult)
147 | result.writelines(resultContent)
148 | result.close()
149 |
150 | params = getFeatureVectorAndTag()
151 | testParams = getTestFeatureVectorAndTag()
152 | # doTrain(params[0], params[1])
153 | doTrainByTestSet(params[0], params[1], testParams[0], testParams[1], 'ExtraTrees')
154 |
155 | # 计算程序运行总时间(秒)
156 | elapsed = (datetime.now() - start).seconds
157 | print('Time used : ', elapsed)
--------------------------------------------------------------------------------
/Train/SVM.py:
--------------------------------------------------------------------------------
1 | import openpyxl
2 | import config
3 | import math
4 | from sklearn import svm
5 | from sklearn.metrics import accuracy_score
6 | from sklearn.metrics import hamming_loss
7 | from datetime import datetime
8 |
9 | configs = config.configs
10 |
11 | # 记录程序开始执行时间
12 | start = datetime.now()
13 |
14 | # readBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
15 | readBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
16 | readSheet = readBook.active
17 |
18 | readTestBook = openpyxl.load_workbook(configs['extractTestFeaturesPath'])
19 | readTestSheet = readTestBook.active
20 |
21 | def getFeatureVector():
22 | featureVectorList = []
23 | sentenceTag = []
24 | for i in range(readSheet.max_row - 1):
25 |
26 | featureVector = []
27 | sentenceTag.append(readSheet['E' + str(i + 2)].value)
28 | # 先添加段落特征
29 | featureVector.append(float(readSheet['A' + str(i + 2)].value.strip().split('-')[1]))
30 | for j in range(readSheet.max_column - 5):
31 | if isinstance(readSheet.cell(row = i + 2, column = j + 6).value, str):
32 | featureVector.append(float(readSheet.cell(row=i + 2, column=j + 6).value))
33 | else:
34 | featureVector.append(readSheet.cell(row = i + 2, column = j + 6).value)
35 | featureVectorList.append(normalizeFeatureByMaxMin(featureVector))
36 | return featureVectorList, sentenceTag
37 |
38 | # (0,1)标准化 0.389671361502
39 | # ('4-5', 21), ('1-5', 15), ('12-5', 15), ('10-5', 12), ('11-5', 11), ('9-5', 9),
40 | # ('5-6', 7), ('6-5', 7), ('7-5', 5), ('2-5', 5), ('6-1', 5), ('5-1', 4), ('2-6', 3),
41 | # ('7-6', 2)
42 | def getTestFeatureVector():
43 | featureVectorList = []
44 | sentenceTag = []
45 | for i in range(readTestSheet.max_row - 1):
46 |
47 | featureVector = []
48 | sentenceTag.append(readTestSheet['E' + str(i + 2)].value)
49 | # 先添加段落特征
50 | featureVector.append(float(readTestSheet['A' + str(i + 2)].value.strip().split('-')[1]))
51 | for j in range(readTestSheet.max_column - 5):
52 | if isinstance(readTestSheet.cell(row = i + 2, column = j + 6).value, str):
53 | featureVector.append(float(readTestSheet.cell(row=i + 2, column=j + 6).value))
54 | else:
55 | featureVector.append(readTestSheet.cell(row = i + 2, column = j + 6).value)
56 | featureVectorList.append(normalizeFeatureByMaxMin(featureVector))
57 | return featureVectorList, sentenceTag
58 |
59 | # 归一化处理,使用sigmoid函数
60 | # 2017.11.10 准确率 0.205202312139
61 | # sigmoid函数做归一主要是把两边的一些噪声数据拉回来,不要让噪声数据影响模型效果,
62 | # 而我们是自己提取的特征,已经经过了预处理,没有很多噪声数据
63 | # 这就是在这种情况下使用sigmoid函数准确率低的原因
64 | # ('6-5', 195), ('1-5', 108), ('4-5', 95), ('10-5', 74), ('12-5', 68), ('7-5', 66),
65 | # ('13-5', 60), ('9-5', 51), ('2-5', 45), ('11-5', 44), ('3-5', 17), ('8-5', 2)
66 | def normalizeFeatureBySigmoid(featureVector):
67 | normalizeFeatureVector = []
68 | for feature in featureVector:
69 | normalizeFeatureVector.append(1.0 / (1 + math.exp(-float(feature))))
70 | return normalizeFeatureVector
71 |
72 | # 归一化处理,使用(0,1)标准化
73 | # 2017.11.10 准确率 0.401734104046->0.413294797688
74 | # ('1-5', 90), ('4-5', 88), ('10-5', 67), ('12-5', 65), ('7-5', 52), ('9-5', 49),
75 | # ('11-5', 41), ('2-5', 40), ('13-6', 34), ('13-5', 25), ('7-6', 11), ('3-5', 10),
76 | # ('4-6', 6), ('10-6', 6), ('1-6', 6), ('3-6', 5), ('5-6', 3), ('12-6', 3), ('7-1', 3),
77 | # ('2-6', 3), ('9-6', 2), ('3-1', 2), ('8-5', 2), ('11-6', 2), ('2-1', 2), ('13-1', 1),
78 | # ('4-1', 1), ('10-1', 1), ('11-1', 1)
79 | def normalizeFeatureByMaxMin(featureVector):
80 | normalizeFeatureVector = []
81 | maxNum = max(featureVector)
82 | minNum = min(featureVector)
83 | for feature in featureVector:
84 | normalizeFeatureVector.append((feature - minNum) / (maxNum - minNum))
85 | return normalizeFeatureVector
86 |
87 | # 训练并测试训练集的准确度
88 | def doTrain(X, Y):
89 | clf = svm.SVC()
90 | clf.fit(X, Y)
91 |
92 | Y_pred = clf.predict(X)
93 | print(accuracy_score(Y, Y_pred))
94 | print(Y)
95 | print(Y_pred)
96 | print('Y len is ', len(Y),'Y_pred len is ', len(Y_pred))
97 |
98 | compare = {}
99 | j = 0
100 | for i in range(len(Y)):
101 | if Y[i] == 5:
102 | j += 1
103 | YAndYpred = str(Y[i]) + '-' + str(Y_pred[i])
104 | # print(YAndYpred)
105 | if(Y[i] != Y_pred[i]):
106 | if YAndYpred not in compare:
107 | compare[YAndYpred] = 1
108 | else:
109 | compare[YAndYpred] = compare[YAndYpred] + 1
110 |
111 | print(sorted(compare.items(), key=lambda d: -d[1]))
112 |
113 | # 测试测试集集的准确度
114 | def doTrainByTestSet(train_X, train_Y, test_X, test_Y):
115 | clf = svm.SVC()
116 | clf.fit(train_X, train_Y)
117 |
118 | Y_pred = clf.predict(test_X)
119 | print(accuracy_score(test_Y, Y_pred))
120 | print(test_Y)
121 | print(Y_pred)
122 | print('test_Y len is ', len(test_Y),'Y_pred len is ', len(Y_pred))
123 |
124 | compare = {}
125 | j = 0
126 | for i in range(len(test_Y)):
127 | YAndYpred = str(test_Y[i]) + '-' + str(Y_pred[i])
128 | # print(YAndYpred)
129 | if(test_Y[i] != Y_pred[i]):
130 | if YAndYpred not in compare:
131 | compare[YAndYpred] = 1
132 | else:
133 | compare[YAndYpred] = compare[YAndYpred] + 1
134 |
135 | print(sorted(compare.items(), key=lambda d: -d[1]))
136 |
137 | params = getFeatureVector()
138 | testParams = getTestFeatureVector()
139 | # doTrain(params[0], params[1])
140 | doTrainByTestSet(params[0], params[1], testParams[0], testParams[1])
141 |
142 | # 计算程序运行总时间(秒)
143 | elapsed = (datetime.now() - start).seconds
144 | print('Time used : ', elapsed)
--------------------------------------------------------------------------------
/Train/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/Train/__init__.py
--------------------------------------------------------------------------------
/Train/test1.py:
--------------------------------------------------------------------------------
1 | from sklearn import svm
2 |
3 | X = [[0, 0], [1, 1], [4, 4], [6, 6], [10, 10]]
4 | Y = [0, 0, 0, 1, 1]
5 | clf = svm.SVC()
6 | clf.fit(X, Y)
7 | print(clf.predict([[5.5, 5]]))
8 | # print(clf.support_vectors_)
9 | # print(clf.support_)
10 | # print(clf.n_support_)
--------------------------------------------------------------------------------
/__pycache__/config.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/__pycache__/config.cpython-35.pyc
--------------------------------------------------------------------------------
/config.py:
--------------------------------------------------------------------------------
1 | configs = {
2 | 'featuresPath' : '/Users/ming.zhou/NLP/datasets/Features.xlsx',
3 | 'condensedFeaturesPath' : '/Users/ming.zhou/NLP/datasets/condensedFeatures.xlsx',
4 | 'testFeaturesPath' : '/Users/ming.zhou/NLP/datasets/TestFeatures.xlsx',
5 | 'test2Path' : '/Users/ming.zhou/NLP/datasets/test2.xlsx',
6 | 'test3Path' : '/Users/ming.zhou/NLP/datasets/test3.xlsx',
7 | 'test4Path' : '/Users/ming.zhou/NLP/datasets/test4.xlsx',
8 | 'test5Path' : '/Users/ming.zhou/NLP/datasets/test5.xlsx',
9 | 'new_scores_path' : '/Users/ming.zhou/NLP/datasets/new_scores.xlsx',
10 | 'test_last_20_add30_Path' : '/Users/ming.zhou/NLP/datasets/test_last_20_add30.xlsx',
11 | 'test_last_20_add40_Path' : '/Users/ming.zhou/NLP/datasets/test_last_20_add40.xlsx',
12 | 'test_last_20_add20_Path' : '/Users/ming.zhou/NLP/datasets/test_last_20_add20.xlsx',
13 | 'test_last_20_allFeatures_Path' : '/Users/ming.zhou/NLP/datasets/test_last_20_allFeatures.xlsx',
14 | 'condensedTestFeaturesPath' : '/Users/ming.zhou/NLP/datasets/condensedTestFeatures.xlsx',
15 | 'dataSetPath' : '/Users/ming.zhou/NLP/datasets/AW_MLParaData_1_62.xlsx',
16 | 'data2SetPath' : '/Users/ming.zhou/NLP/datasets/AW_MLParaData_2_60.xlsx',
17 | 'dataset_newScore_122_path' : '/Users/ming.zhou/NLP/datasets/AW_MLParaData_newScore_122.xlsx',
18 | 'allFeaturesPath' : '/Users/ming.zhou/NLP/datasets/allFeatures.xlsx',
19 | 'allFeatures_add20_Path' : '/Users/ming.zhou/NLP/datasets/allFeatures_add20.xlsx',
20 | 'allFeatures_add30_Path' : '/Users/ming.zhou/NLP/datasets/allFeatures_add30.xlsx',
21 | 'allFeatures_add40_Path' : '/Users/ming.zhou/NLP/datasets/allFeatures_add40.xlsx',
22 | 'allFeatures_add60_Path' : '/Users/ming.zhou/NLP/datasets/Regressor/allFeatures_add60.xlsx',
23 | 'Tags' : {
24 | '' : 1,
25 | '' : 2,
26 | '' : 3,
27 | '' : 4,
28 | '': 5,
29 | '': 6,
30 | '': 7,
31 | '': 8,
32 | '': 9,
33 | '': 10,
34 | '': 11,
35 | '': 12,
36 | '': 13
37 | },
38 | 'stanfordParserPath' : '/Users/ming.zhou/NLP/Tools/stanford-parser/stanford-parser-full-2017-06-09/stanford-parser.jar',
39 | 'stanfordParserModelsPath' : '/Users/ming.zhou/NLP/Tools/stanford-parser/stanford-parser-full-2017-06-09/stanford-parser-3.8.0-models.jar',
40 | 'nltkDataPath' : '/Users/ming.zhou/NLP/Tools/nltk/nltk_data',
41 | 'tense' : {
42 | 'VB' : 1,
43 | 'VBZ' : 1,
44 | 'VBP' : 1,
45 | 'VBG' : 1,
46 | 'VBN' : 2,
47 | 'VBD' : 2
48 | },
49 | 'indicators' : ('accordingly', 'additionally', 'after', 'afterward', 'also', 'alternatively',
50 | 'alternative', 'although', 'as a result', 'as an alternative', 'as if', 'as long as',
51 | 'as soon as', 'as though', 'as well', 'because', 'before', 'before and after',
52 | 'besides', 'by comparison', 'but', 'by contrast', 'by then', 'consequently',
53 | 'conversely', 'earlier', 'either', 'except', 'finally', 'for example', 'for instance',
54 | 'further', 'furthermore','hence', 'however', 'if', 'if and when', 'in addition',
55 | 'in contrast', 'in fact', 'in other words', 'in particular', 'in short', 'in sum',
56 | 'in the end', 'in turn', 'indeed', 'insofar as', 'instead', 'later', 'lest',
57 | 'likewise', 'meantime', 'meanwhile', 'moreover', 'much as', 'neither',
58 | 'nevertheless', 'now that', 'next', 'nonetheless', 'nor', 'on the contrary', 'on the one hand',
59 | 'on the other hand', 'once', 'otherwise', 'overall', 'plus', 'previously', 'rather', 'regardless',
60 | 'separately', 'similarly', 'simultaneously', 'since', 'so that', 'specifically',
61 | 'still', 'then', 'thereafter', 'thereby', 'therefore', 'though', 'thus',
62 | 'till', 'ultimately', 'unless', 'until', 'when', 'when and if', 'whereas', 'while',
63 | 'yet', 'father', 'mother', 'parents', 'above', 'conclusion', 'agree', 'admittedly'),
64 | 'condensedIndicators' : ('accordingly', 'after', 'also',
65 | 'although', 'as a result', 'as if', 'as long as',
66 | 'as soon as','as well', 'because', 'before',
67 | 'besides', 'but', 'consequently',
68 | 'except', 'finally', 'for example', 'for instance',
69 | 'further', 'furthermore','hence', 'however', 'if', 'in addition',
70 | 'in fact', 'in other words', 'in short', 'in sum',
71 | 'in the end', 'indeed', 'instead', 'later',
72 | 'meanwhile', 'moreover',
73 | 'nevertheless', 'next', 'nor', 'on the contrary', 'on the one hand',
74 | 'on the other hand', 'once', 'rather',
75 | 'separately', 'since', 'so that',
76 | 'still', 'then', 'thereafter', 'therefore', 'though', 'thus',
77 | 'till', 'unless', 'until', 'when', 'whereas', 'while', 'father', 'mother',
78 | 'parents', 'above', 'conclusion', 'agree', 'admittedly'),
79 | 'punctuation' : {
80 | '.' : 1,
81 | '?' : 2,
82 | '!' : 3
83 | },
84 | 'paraType' : {
85 | 'Introduction' : 50,
86 | 'Reason' : 100,
87 | 'Concession' : 150,
88 | 'Conclusion' : 200
89 | }
90 | }
--------------------------------------------------------------------------------
/dataset/Features20171110.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/dataset/Features20171110.xlsx
--------------------------------------------------------------------------------
/dataset/condensedFeatures20171115.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/dataset/condensedFeatures20171115.xlsx
--------------------------------------------------------------------------------
/dataset/condensedTestFeatures20171115.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/dataset/condensedTestFeatures20171115.xlsx
--------------------------------------------------------------------------------
/image/ExtraTrees test result.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/ExtraTrees test result.png
--------------------------------------------------------------------------------
/image/ExtraTrees train result.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/ExtraTrees train result.png
--------------------------------------------------------------------------------
/image/Scoring/Concession_new_features.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/Scoring/Concession_new_features.png
--------------------------------------------------------------------------------
/image/Scoring/Conclusion_new_features.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/Scoring/Conclusion_new_features.png
--------------------------------------------------------------------------------
/image/Scoring/Introduction_new_features.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/Scoring/Introduction_new_features.png
--------------------------------------------------------------------------------
/image/Scoring/Reason_new_features.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/Scoring/Reason_new_features.png
--------------------------------------------------------------------------------
/image/分析树.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/分析树.png
--------------------------------------------------------------------------------
/image/篇章结构评分系统思维导图.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/image/篇章结构评分系统思维导图.png
--------------------------------------------------------------------------------
/model/20171110/modal/GRLTrain.txt.count:
--------------------------------------------------------------------------------
1 | 2
2 | Cases 1
3 | Cases like 1
4 | Friends 1
5 | Friends are 1
6 | 2
7 | Cases 1
8 | Cases like 1
9 | Cases like my 1
10 | like 1
11 | like my 1
12 | like my family's 1
13 | my 1
14 | my family's 1
15 | my family's are 1
16 | family's 1
17 | family's are 1
18 | family's are many, 1
19 | are 2
20 | are many, 1
21 | are many, your 1
22 | are always 1
23 | are always supportive 1
24 | many, 1
25 | many, your 1
26 | many, your friend 1
27 | your 1
28 | your friend 1
29 | your friend would 1
30 | friend 1
31 | friend would 1
32 | friend would feel 1
33 | would 1
34 | would feel 1
35 | would feel grateful 1
36 | feel 1
37 | feel grateful 1
38 | feel grateful if 1
39 | grateful 1
40 | grateful if 1
41 | grateful if you 1
42 | if 1
43 | if you 1
44 | if you help 1
45 | you 1
46 | you help 1
47 | you help them 1
48 | help 1
49 | help them 1
50 | help them in 1
51 | them 1
52 | them in 1
53 | them in time. 1
54 | in 1
55 | in time. 1
56 | in time. 1
57 | time. 1
58 | time. 1
59 | Friends 1
60 | Friends are 1
61 | Friends are always 1
62 | always 1
63 | always supportive 1
64 | always supportive of 1
65 | supportive 1
66 | supportive of 1
67 | supportive of each 1
68 | of 1
69 | of each 1
70 | of each other 1
71 | each 1
72 | each other 1
73 | each other which 1
74 | other 1
75 | other which 1
76 | other which is 1
77 | which 1
78 | which is 1
79 | which is supposed 1
80 | is 1
81 | is supposed 1
82 | is supposed to 1
83 | supposed 1
84 | supposed to 1
85 | supposed to be. 1
86 | to 1
87 | to be. 1
88 | to be. 1
89 | be. 1
90 | be. 1
91 |
--------------------------------------------------------------------------------
/model/20171110/modal/TSTTrain.txt.count:
--------------------------------------------------------------------------------
1 | 17
2 | My 4
3 | My reasons 2
4 | My viewpoint 1
5 | My view 1
6 | and 1
7 | and this 1
8 | There 3
9 | There are 3
10 | I'm 2
11 | I'm going 2
12 | The 1
13 | The reasons 1
14 | I 2
15 | I will 2
16 | Here 2
17 | Here are 2
18 | What 1
19 | What about 1
20 | there 1
21 | there are 1
22 | this 1
23 | this essay 1
24 | this essay will 1
25 | essay 1
26 | essay will 1
27 | essay will develop 1
28 | 17
29 | will 3
30 | will develop 1
31 | will develop in 1
32 | will illustrate 1
33 | will illustrate my 1
34 | will give 1
35 | will give you 1
36 | develop 1
37 | develop in 1
38 | develop in two 1
39 | My 4
40 | My reasons 2
41 | My reasons and 2
42 | My viewpoint 1
43 | My viewpoint can 1
44 | My view 1
45 | My view point 1
46 | reasons 9
47 | reasons and 7
48 | reasons and examples 6
49 | reasons and examples. 1
50 | reasons to 1
51 | reasons to name. 1
52 | reasons are 1
53 | reasons are as 1
54 | two 2
55 | two parts 1
56 | two parts to 1
57 | two typical 1
58 | two typical cases 1
59 | and 8
60 | and examples 6
61 | and examples are 2
62 | and examples given 1
63 | and examples to 3
64 | and this 1
65 | and this essay 1
66 | and examples. 1
67 | and examples. 1
68 | parts 1
69 | parts to 1
70 | parts to prove 1
71 | examples 6
72 | examples are 2
73 | examples are given 1
74 | examples are as 1
75 | examples given 1
76 | examples given below 1
77 | examples to 3
78 | examples to illustrate 3
79 | prove 2
80 | prove my 1
81 | prove my views. 1
82 | prove the 1
83 | prove the validity 1
84 | are 9
85 | are given 1
86 | are given below. 1
87 | are some 6
88 | are some reasons 5
89 | are some reasons. 1
90 | are as 2
91 | are as followed. 1
92 | are as follows. 1
93 | views. 1
94 | views. 1
95 | given 2
96 | given below. 1
97 | given below. 1
98 | given below 1
99 | given below to 1
100 | reasons. 3
101 | reasons. 3
102 | below. 1
103 | below. 1
104 | viewpoint 1
105 | viewpoint can 1
106 | viewpoint can be 1
107 | can 1
108 | can be 1
109 | can be well 1
110 | There 3
111 | There are 3
112 | There are some 3
113 | some 6
114 | some reasons 5
115 | some reasons and 4
116 | some reasons to 1
117 | some reasons. 1
118 | some reasons. 1
119 | be 1
120 | be well 1
121 | be well illustrated 1
122 | well 1
123 | well illustrated 1
124 | well illustrated by 1
125 | below 1
126 | below to 1
127 | below to illustrate 1
128 | to 9
129 | to prove 2
130 | to prove my 1
131 | to prove the 1
132 | to illustrate 4
133 | to illustrate my 4
134 | to elaborate 1
135 | to elaborate my 1
136 | to name. 1
137 | to name. 1
138 | to present 1
139 | to present two 1
140 | illustrated 1
141 | illustrated by 1
142 | illustrated by the 1
143 | illustrate 5
144 | illustrate my 5
145 | illustrate my viewpoint. 1
146 | illustrate my opinion. 1
147 | illustrate my point 3
148 | by 2
149 | by the 2
150 | by the following 2
151 | my 9
152 | my views. 1
153 | my views. 1
154 | my viewpoint. 2
155 | my viewpoint. 2
156 | my point 4
157 | my point in 1
158 | my point of 3
159 | my opinion. 1
160 | my opinion. 1
161 | my friend. 1
162 | my friend. 1
163 | examples. 1
164 | examples. 1
165 | viewpoint. 2
166 | viewpoint. 2
167 | present 1
168 | present two 1
169 | present two typical 1
170 | I'm 2
171 | I'm going 2
172 | I'm going to 2
173 | typical 1
174 | typical cases 1
175 | typical cases to 1
176 | going 2
177 | going to 2
178 | going to elaborate 1
179 | going to present 1
180 | cases 1
181 | cases to 1
182 | cases to prove 1
183 | elaborate 1
184 | elaborate my 1
185 | elaborate my point 1
186 | validity 1
187 | validity of 1
188 | validity of my 1
189 | point 5
190 | point in 1
191 | point in the 1
192 | point of 3
193 | point of view. 2
194 | point of view 1
195 | point is 1
196 | point is based 1
197 | The 1
198 | The reasons 1
199 | The reasons are 1
200 | follows. 1
201 | follows. 1
202 | in 2
203 | in the 1
204 | in the following 1
205 | in two 1
206 | in two parts 1
207 | the 6
208 | the following 4
209 | the following paragraphs. 1
210 | the following reasons 1
211 | the following reasons. 2
212 | the other 1
213 | the other reasons? 1
214 | the validity 1
215 | the validity of 1
216 | I 2
217 | I will 2
218 | I will illustrate 1
219 | I will give 1
220 | view 2
221 | view by 1
222 | view by the 1
223 | view point 1
224 | view point is 1
225 | following 4
226 | following paragraphs. 1
227 | following paragraphs. 1
228 | following reasons 1
229 | following reasons and 1
230 | following reasons. 2
231 | following reasons. 2
232 | paragraphs. 1
233 | paragraphs. 1
234 | give 1
235 | give you 1
236 | give you an 1
237 | Here 2
238 | Here are 2
239 | Here are some 2
240 | you 1
241 | you an 1
242 | you an example 1
243 | name. 1
244 | name. 1
245 | an 1
246 | an example 1
247 | an example of 1
248 | opinion. 1
249 | opinion. 1
250 | example 1
251 | example of 1
252 | example of my 1
253 | What 1
254 | What about 1
255 | What about the 1
256 | friend. 1
257 | friend. 1
258 | about 1
259 | about the 1
260 | about the other 1
261 | there 1
262 | there are 1
263 | there are some 1
264 | is 1
265 | is based 1
266 | is based on 1
267 | other 1
268 | other reasons? 1
269 | other reasons? 1
270 | reasons? 1
271 | reasons? 1
272 | based 1
273 | based on 1
274 | based on the 1
275 | on 1
276 | on the 1
277 | on the following 1
278 | of 5
279 | of view. 2
280 | of view. 2
281 | of my 2
282 | of my viewpoint. 1
283 | of my friend. 1
284 | of view 1
285 | of view by 1
286 | view. 2
287 | view. 2
288 | as 2
289 | as followed. 1
290 | as followed. 1
291 | as follows. 1
292 | as follows. 1
293 | followed. 1
294 | followed. 1
295 |
--------------------------------------------------------------------------------
/model/20171110/test/BGTest.txt:
--------------------------------------------------------------------------------
1 | In most cases, borrowing money from others is an injury to our relationship.
2 | However, is it still right under the condition that the man who ask you for money is your friend?
3 | This question triggers an interesting debate.
4 | Friendship is an indispensable part of our life, a profound friendship is the fruit of long term of hard-working.
5 | Within the context of modern society , the issue of money arouses nationwide argument.
6 | It may leave others a bad impression when the issue of some affairs comes to money .
7 | There are always some occasions we need money without having enough cashes at hand.
8 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
9 | Use specific reasons and examples to support your answer.
10 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
11 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
12 |
--------------------------------------------------------------------------------
/model/20171110/train/ADMFile.txt:
--------------------------------------------------------------------------------
1 | Admittedly, because of the greed of our mind, some of your friend may not return the money back.
2 | Somebody thinks that borrowing money will harm the friendship between friends,this may because they take the money as a very sensitive thing,so the relationship referring to money is fragile.
3 | Admittedly, the contact between returning money and borrowing money can enhance friendship.
4 | Admittedly, I am not denying that borrowing money from friends or lending money to friends lead to no problem at all.
5 | It is possible that a friend can borrow money from us without paying back and, under this condition, fellowship might be shaken.
6 | Admittedly, to borrow money means you have to pay it up.
7 | There are a great deal of misunderstandings created by forgetting to return it.
8 | Some critics might oppose the opinion since friends should always give a hand to each other.
9 | Some people think borrowing money from friends may be harmful to friendship because it will relate to money disputes.
10 | Some people may consider that borrowing money from you friends would hurt friendships, because their relationship would break up if their friends refuse to give the money back.
11 | There are also some people may claim that borrowing money will trample the friendship, for some friends always forget to repay, or lending money will creat crevice and suspicion.
12 | Somebody may think that borrowing money may not influence the friendship because making money is for helpping each other.
13 | Although, someone may argue that borrowing money won't do any harm to friendship, for the friendship is valuable.
14 | Somebody thinks that borrowing money will damage the friendship because one may suspect that you are just contacting with him because of money.
15 | Some say borrowing money is harmful to friendship because they think it is money that sabotages their friendship.
16 | Admittedly, some people believe that borrowing money from friends is harmful to fellowship in order that not paying money back for a long time tend to cause to estrangement.
17 | someone might have the thought of brrowing money from friends won,t affect the friendship,they even think it,s a good way to strengthen their friendship.
18 | Some people say that borrowing money from friends will not affect friendship, for lending money can show one's kind.
19 | Someone believe that borrowing money from friends would harm the friendship, because it will change friends' deposits to influence their life.
20 | Some people think that borrowing money from friends is something destructive to friendship because they think that profit will take the place of friendship.
21 | Some people think borrowing money can harm the friendship because money is related to personal interests directly so that borrowing money would damage others' interests more or less.
22 | Some people may think that borrowing money from friends may be harmful to the friendship because if the firend refuse, both sides will feel very embarrased and uncomfortable.
23 | Someone probably think that borrowing money from our friends is innocuous to friendship since help between friends is conducive to friendship.
24 | Some people argue that borrowing money from friends will do harm to friendship because they believe money is a sensitive region in relationship.
25 | Once you mention money, your friendship decays and it will no longer be the previous pure one.
26 | Also someone may think that can be harmful to friendship.
27 | if friends don't have the ability to repay it, their interests will suffer a lot,leading harm between both themselves and their friends.。
28 | Someone think borrow money from friends is harmful for friendship due to no forever friends but interest.
29 | Someone thinks money is too sensitive to give rise to dispute, which will damage the friendship.
30 | Somebody may think that borrowing money from friends may be injury to fellowship, for the reason that it is a sensitive topic of borrowing money, which will test the friendship and lead to the disintegration of friendship.
31 | Although,sending money to friend have to stand the risk of no returning,
32 | some people hold the view that borrowing money will hurt friendship as they think borrowing money from friends may made them seem like they make friends only for money.
33 | However, some believe that borrowing money from friends would be an injury to their fellowship for longtime no sign of payment would damage friends' confidence and patience and gaps could be easily generated.
34 | Some people think borrowing money can hurt the friendship.
35 | In their opinion, people usually wonder why my friends need to borrow money and if they will pay it back.
36 | Of course, someone will support that borrowing money from friends will not effect the friendship, as friends should help each other.
37 | Some people believe that borrow money from friends will hurt friendship, the reason is some friends wil not give money back to us.
38 | Admittedly, it's much easier to borrow money from friends than from the unfamiliar.
39 | In addition, many friends are ready to offer help.
40 | Someone consider that borrowing money from friends is harmful to the companionship because someone would go back on a person when they are faced with some benifit.
41 | Some people hold the view that borrowing money from friends will harm the friendship, because that may dishonor themselves.
42 | Indeed, although you obey your word, sometimes it is hard to predict things happened.
43 | admittedly,i am not denying that friendship must break up because of money.
44 | cash nexus is also a way for friends to get a hold of each other.
45 | Some people are in favor of the idea that borrowing money from friends will not affect the friendship as they take it for granted that friends should help each other.
46 | I admitted that friendship demands offering help selflessly.
47 | However, there are also some other voices saying that borrowing money from friends will do harm to friendship because if borrowers postpone to pay the money back again and again, it will make both of the friends unhappy.
48 | Someone suggests that borrowing money from friends doesn't harm friendship .
49 | In their mind,material relationship can always be treated rationally.
50 | Although some friends become distant after they borrow money from the other,
51 | Someone believes that borrowing money from friends could harm their friendship, because if their friends don't pay them back then they would lose both their money and their friends.
52 |
--------------------------------------------------------------------------------
/model/20171110/train/BGFile.txt:
--------------------------------------------------------------------------------
1 | In most cases, borrowing money from others is an injury to our relationship.
2 | However, is it still right under the condition that the man who ask you for money is your friend?
3 | This question triggers an interesting debate.
4 | Friendship is an indispensable part of our life, a profound friendship is the fruit of long term of hard-working.
5 | Within the context of modern society , the issue of money arouses nationwide argument.
6 | It may leave others a bad impression when the issue of some affairs comes to money .
7 | There are always some occasions we need money without having enough cashes at hand.
8 | In this case, we can choose to borrow money from our friends, relatives, banks, or even unauthentic organizations.
9 | Some people claim that borrowing money from friends will be harmful to the friendship.
10 | Sometimes, we may be low on cash.
11 | In this case, turning to our friends may bring lots of convenience.
12 | But is it a good idea to borrow money from friends?
13 | Does it harm the friendship?
14 | Some people claim that the friendship will be harmed as long as it has something to do with money.
15 | Nowadays, with the advent of the society, the relationship between person become more sophisticated.
16 | As a result, a discussion between whether borrowing money from friends might do harm to the friendship was heatedly debated.
17 | Some people embraced the opinion that it might don't do bad effect on the relationship since friends should help each other.
18 | We always have some time that we need much money, such as buying a house or a getting illness, making us having to borrow money if our prosperity is not enough.
19 | At that time, the first person that comes into our mind is usually our friends.
20 | There is a old quotation in China which says,"A hedge between keeps friendship green".
21 | Somebody thought that friendship must not have relationship with money.
22 | Money, which accompanied by materialism, will be harmful to friendship and make it no more pure, but a interest.
23 | That is to say, friendship should maintain its purify and simplicity as it deserved.
24 | As the saying goes, "A good friend on the way is the shortest cut."
25 | Scarcely can one doubt the significance of friendship, while controversies exist when money interferes - some argue that borrowing money from friends can harm friendship.
26 | To most people, money is icon of profits.
27 | Generally speaking, We should make our best to protect our friends from loss of profits.
28 | However, borrowing money from friends may harm their profits.
29 | A lot of people hold an opinion that borrowing money from friends may be an injury to the friendship.
30 | There are always some difficulties in life and lacking money is one of them.
31 | To solve the problem,we can borrow money from a bank,or a relative,or a friend.
32 | The feasible way is borrowing money from a friend.
33 | The first solution is borrowing money from friends when people in poor economic situation and extremely need money.
34 | Some people claim that borrowing money from friends is an injury to friendship.
35 | Money is a sensitive topic.
36 | People tend to keep away from talking about money.
37 | But it is an inevitable topic.
38 | There is a variety of stuff in our normal life, especially you may be badly in need of money.
39 | In this case, It is unavoidably that we borrow money from our friends.
40 | With this phenomenon comes an interesting discussion, some people advocate that borrowing money from our friends would hurt our friendship.
41 | Nowadays, people may often borrow money from friends when people find their wallet empty, this has become a phenomenon in modern days.
42 | Nowadays, some people think borrowing money from friends can harm or damage the friendship so that they tend to avoid this sensitive issue.
43 | They'd rather keep their mouths shut and suffer alone than ask their friends for help even when they are in urgent need.
44 | Because of the wide social activities and increasing price, borrowing money from friends tends to be more and more common.
45 | Some people may think that borrowing money from friends may damage friendship,
46 | Nowadays, plenty of people like to borrow money from their friends.
47 | Someone may think that borrowing money from friends indicates our trust on our friends, which is not bad.
48 | we all cherish our friends in this material-dominated world.
49 | But it's common for everyone to encounter the valley when you lost your way,especially we need help from our friends.
50 | Borrowing money from friends is a typical thing to test the friendship.
51 | Everyone will face to lack of money sometimes, and friends are always on list of people who are suitable to borrow money.
52 | Imaging a situation that you saw commodity and your friends are shopping together,
53 | As we know, friendship plays an important role in one's life.
54 | Helping each other is an unavoidable topic when geting along with friends, especially interacting on finance.
55 | Some people think financial interaction do no harm on friendship, as long as building a great relationship.
56 | it couldn't be more common for people to suffer being in need of money abruptly.
57 | Most of people will meet variety of people during their whole life.
58 | Some of them were just the passengers of life, the others of them will become the soul mate.
59 | In our society, the relationship between people are more and more implicated, due to so many factors involved, just like money.
60 | Borrowing money from others is a common thing in our society, but it is a different thing that borrowing money from our friends.
61 | Borrowing money is a sensitive topic all the time.
62 | In plenty of novels and films, we can always see the same scenes that good friends break up because of borrowing money.
63 | Everyone will meet the shortage og money, which makes them borrow money from others to go through the crisis.
64 | At this moment, friends always comes first.
65 | When you are short of money, the first idea appears in your mind may be to borrow it from the person you familiar with.
66 | Recently, a discussion on if borrowing money from friends is harmful to fellowship has aroused.
67 | In our life , it is a common situation of lack money, and borrowing money from friends is a common method to deal it.
68 | However,somebody worries that borrowing money will be embarrassed for each other.
69 | In the past, borrowing money from each other between friends is a common enough occurrence in China, whereas nowadays, as the development of economy and the influx of new ideological trends, many people begin to hold the opinion that the most essential ties of friendship is built on the communication in the spiritual world.
70 | As a result, borrowing money between friends implies that their spiritual connection has been tainted by money.
71 | We often encounter difficulty in our life time and need help from friends.
72 | Affected by the market economy, providing money with no doubt becomes an efficient way of help.
73 | However, whether friends should borrow money from each other has always been a heated topic in society.
74 | People are concerning about the relationship between morality and interest rather than discussing an economic bahaviour only.
75 | Borrowing money from friends is an usual thing in our life.
76 | Sometimes when you hurry to work and forget to take your wallet, you'll borrow money from your friends.
77 | Sometimes when you go shopping and are really attracted by an expensive watch, you'll borrow money from your friends.
78 | Some people think that borrowing money from friends may damage the friendship.
79 | When we get stuck in some troubles, we are inclined to seek help for families and friends, inevitably, we face a choice-- whither to borrow money from friends or not?
80 | Someone hold the idea that boorrowing money from friends will be harmful to the friendship, however, others consider that borrowing money from friends will not damage the friendship.
81 | Nowadays, many people would borrow money from their friends.
82 | However, some people believes borrow money from their friends is an injurey to fellowship, some are not.
83 | In daily life, it is common that people who is facing difficulties have to borrow money from others.
84 | Many people turn to their relatives, their friends or the bank when they need money.
85 | Friend is someone who you know well and like, and who is the confidant of whole life.
86 | During the whole life, we would face different difficulties.
87 | We used to say that the friendship will be damaged if borrowing money from friends, but nowadays we say that our purses will be hurt if we concern about our friends.
88 | In this complex society, human beings always have to meet different types of people.
89 | Friends are one of the most important people that you have to meet.
90 | Sometimes your friends need your help, or perhaps sometimes you help each other.
91 | Borrowing money is an embarrasing event.
92 | for most chinese people,talking about money is always not a pleasant thing.
93 | somebody claim that,when people's friendship connects with money,the pure relation between two preson will metamorphic.
94 | The help provided by friends is regarded as a natural part of the friendship, and borrowing money from friends is not an exception.
95 | Some people think that borrowing money from friends is a reasonable thing without damaging the friendship.
96 | It is common that we all have time experiencing monetory shortage.
97 | And it is a baffling qestion whether to borrow money from friends for many people.
98 | Thus, an interesting discussion arises: does it really harmful to friendship if people borrowing money from their friends?
99 | It is sometimes said that borrowing money from a friend can harm or damage the friendship.
100 | As the development of society, the demand of material life of people is increasing, so people need more and more money.
101 | Some people prefer to borrow money from their friends, and they think that friends should help each other.
102 | However, others think that friendship should not invove in money.
103 | Now is a legal society.
104 | Nowadays, the economic world seems like it is in big trouble, the value of the stocks in China keeps decreasing.
105 | As a result, borrowing money has become a ordinary thing.
106 | If things develop as what those people expect who think borrowing money will hurt the friendship between friends, there will no longer be business partners, also, the world will be in chaos.
107 | Nowadays, many people are afraid to borrow money to their friends.
108 | Because they fear that if their friends don't repay them, they would lose both their friends and their money.
109 |
--------------------------------------------------------------------------------
/model/20171110/train/EEXPFile.txt:
--------------------------------------------------------------------------------
1 | In fact, we even do not care about if the money can be returned because we are such good friends.
2 | That is because of the trust , I asked help from my friends and they borrowed me money ,this didn't make a loss of friendship.
3 | On the contrary ,it may contribute to a better trust and closer relationship,for the reason of money thing,it help us see each other in a realistic prospect,the person who borrows the money and the person who is been borrowed may increase their friendship basing on the generosity and reputed return.
4 | But we still get along very well because I trust him and he does always pay back on time.
5 | You see, it's fairly convenient.
6 | From this case, it take roots in my heart that lending money to friends in right ways can vitalize the friendship.
7 | Less communication just decay our friendship.
8 | Because of my great attention to the friendship,I will return the money early so as to protect the trust between me and my friends.
9 | It is supposed to help each other between friends,including helping each other by money.
10 | A friend in need is a friend indeed.The relationship between friends is built stronger because of these helping.
11 | It does not affect our companionship at all.
12 | The pact is the sign of mutual trust.
13 | Meanwhile,trust is the foundation of friendship.
14 | When friends respect and follow our pact,it perfectly shows our good friendship.
15 | When a friend needs money,it is also a time to test the friendship.
16 | And it is always to tell who is the true friend or who is not from borrowing money.
17 | What's more,when someone cherishes something,he puts his heart in it and pays more attention to it.
18 | Misfortune tests the sincerity of friends.
19 | The relationship between uncle Li and my father wasn't impacted but is more solid.
20 | They got out of much predicament owing to mutual support.
21 | the friendship between may get hurt, because we could feel uncomfortable when we meet each other.
22 | In my opinion, friends who trust me are willing to borrowing money from me, and so do I.
23 | A friend in need is a friend indeed.
24 | This example illustrates that borrowing must be for a reason, and timely assistance could enhance friendship.
25 | In a nut shell, true friendship will not be destroyed by money.
26 | In one word, this action of helping each other deepened our friendship.
27 | I believe that friends are supposed to help each other.
28 | Only when we accompany with our friends and help them when they need can the friendship be deeper and deeper.
29 | The belief in the friend's ability and the support reflects their deep relationship with each other.
30 | Mike may not repay it late on purpose.
31 | However, his behavior had influenced my ordinary expense, which resulted in my disgruntlement and finally reduce my trust on him.
32 | I think that if I borrow a great deal of money, it might shows that I am much poorer than him, which makes me feel shame.
33 | And as a result, our companionship will be injured.
34 | So it is easy to tell that lending money to your friends will not only maintain but also develop your friendship.
35 | which indicates that the relationship can be proved to be strong by streching out your hands when friends in need.
36 | Helping people in time is very valuable, mom is closer with her friend from then on.
37 | Owing to the belief to my friends, I needn't worry that they will disappear after borrowing money from me.
38 | And as for me, friendship will never be impaired because of the conflict of interests involved money.
39 | Borrowing from friends will make friends fell be needed, be trusted, and won't create gap.
40 | When people drug in problems, send money and help friend will make friend cherish the fellowship with you,and will make the fellowship deeper.
41 | As I said before, the true friendship which must be founded on mutual belief and did exist between Karl Marx and Friedrich Engels would never be hurt by money.
42 | As long as mutual trust existed between friends and the one who borrows money always repays it in time, there will be no injury to their friendship.
43 | True friends always put themselves in others' shoes.
44 | As my friends are all so thoughtful, there's no possibility for me not to treat them in the same way in return.
45 | As long as the two believe in and cherish each other, then the friendship would defeat the temptation of short-term interest.
46 | As the old saying goes, "A friend in need is a friend indeed."
47 | My mom accompanied her in her bad time which contributed to the validity of their companionship.
48 | This example suggests that hard condition can build strong friendship.
49 | That thing has much improved our friendship.
50 | I think our friends would gave money back to us as soon as possible if our friends are trustworthy.
51 | This example illustrates that borrow money from friends may help us to improve our fellowship.
52 | If he didn't borrow money from his friend, they would still keep a good relationship now.
53 | If he didn't borrow money from friends, he would not feel inferior to others and still keep a close relation with us.
54 | We develop our friendship bases on helping each other again and again, and if we face the great challenge in the future we won't be afraid relying on our friendship.
55 | Difficulties will come to all of us with no sign and we will take those who help us into our heart.
56 | As we are willing to lend money to our friends, the trust and concerning will be briefly delivered to them.
57 | Nourished by the love and care, the friendship will be more stable.
58 | that's the real reason make we two not family again.
59 | Because real friends really trust each other, and believe they will not refuse to pay the money back, borrowing or lending money will become a common and usual help between friends.
60 | If one helps friend to overcome difficulties, that friend will also be thankful and graceful and consequently promotes friendships.
61 | However,It was I that didn't care about the problem thus our relationship gapped.
62 | Borrowing money did not influence of relationship because our relationship is built on mutual trust.
63 | Then it's not money that harmed the friendship, because there was no friendship.
64 | Borrowing money is a kind of help.
65 | And friends exist because we need each other's help.
66 | This example shows that borrowing money from friends could enhance our friendship.
67 |
--------------------------------------------------------------------------------
/model/20171110/train/EGFile.txt:
--------------------------------------------------------------------------------
1 | I have a real friend whose name is Cheng.
2 | Sometime I just forget to bring our purse outside.
3 | When this happened, I will ask him for money and pay the money back in a week.
4 | My father has borrow some money to one of his friend Wang two years ago, who was going to buy a new room that time.
5 | After getting help from my father, Wang consider my father as the best friend of him hitherto.
6 | I borrowed money from my friends few times,our friendship didn't be affected at all,because they give help when I truly need,and I returned my great credit and honesty by paying back money on time.
7 | My friend, Tom, is a case in point.
8 | He is so forgetful that he always go out without a wallet.
9 | As a result, he constantly borrow money from me.
10 | For instance, Jim, one of my classmate at college, had quite a period of hard time back then.
11 | Due to his family's financial troubles, he was unable to even buy the textbooks, so he found me, who was not that close a friend at that point, to give him a hand.
12 | Since then, we got closer and became intimate, having fun and hanging out together regularly.
13 | I remember there was a time that I went to the cafeteria of our school having left my wallet in my dormitory.
14 | Instead of fetching it in my dormitory, which was some distance away, I chose to borrow from my friend and roommate, Zhang.
15 | Then when we got back to the dormitory for a rest after having a meal, I just paid him back.
16 | Once in a while, I lent 100 to one of my friend, Chan, who is short of cash when signing up for a match.
17 | About 2 weeks later, I asked him about a math problem which I'm confused about.
18 | Since I had lent my helping hand, he was more than willing to help me get to the bottom of it.
19 | After that we often helped each other and our friendship lasted long.
20 | I never urge my friend after she borrowed money from me.
21 | And she must give money back to me in time.
22 | Mary,my best friend,had some difficulties with her family.
23 | She had to ask me for money and I gave it to her immediately.
24 | She was thankful to me.
25 | After this matter,our friendship was going to be better.
26 | I still remember the first time my family bought a new house, and my parents needed to borrowed some money from their friends, none of them refused.
27 | Since then, my family always say that we could not live such a comfortable room without their generosity.
28 | It occurs to me that one night after the self-study, the time was very late, my firend suddenly found that she had not enough money to take a bus to go home.
29 | She was worried to tears.
30 | When she saw me, she asked me to borrow her some money.
31 | I gave her some of my allowence and took her to the bus station, where we can both took a bus to go home.
32 | After that, we became good friends, when one was in trouble, we would do our utmost to help each others.
33 | once my close friend didn't want to talk to me till now because of borrowing money, and deleted my from wechat software.
34 | One of my close colleagues ask two or three hundreds from me every times untill
35 | Once under the condition, I borrowing money from my best friend who said that she had no money to lend directly.
36 | At that time I felt dishonored and the friendship was not as good as it looked.
37 | Therefore, I always reminded of borrowing money as soon as I thought about her, so the contact reduced slowly because of the shade of psychology and the friendship became lighter and lighter.
38 | Taking myself for instance, I'm more than glad to offer reasonable financial aids to my friends if they need any.
39 | Due to the confidence of my friends' honesty, worries concerning their failure to pay me back have never bothered me.
40 | When I was in my high school, I always stayed with Anna.
41 | Each time when we go out to have a fun, I always had to pay for Anna because she never brought her purse.
42 | Again and again, and Anna seldom remember to return money.
43 | Later, think Anna is a girl who is just greedy, and not own credit.
44 | It's really not a good choice to be good friend with her.
45 | So I just get away from her gradually.
46 | When asking others for money, It makes me feel ashamed.
47 | It seems that I can not afford what he can afford and I always can not bring enough money.
48 | And my friends confusion also embrasessed me,which made me want to avoid going out with him.
49 | I will return the money I borrowed from my friends as soon as possible.
50 | When I was traveling in Japan with one of my friends,he lost his credit card.
51 | Then I borrowed him some money to help him be able to enjoyed the traveling ,instead of having a terrible trip because of lacking money.
52 | After that he became my best friend.
53 | Before a friend borrows money from me,as long as we make a pact on the date he pays me back,I usually lead it to him.
54 | Once a friend of mine wanted to buy a limited-edition T-shirt which was 500 yuan.
55 | He was ready to break his piggy bank and then found out he still needed 100 yuan more.
56 | So he asked me for the money and made a pact with me promising he would pay my back within a month.
57 | I lent it to him before he bought the fancy clothes.
58 | After that,he paid me back as he promised and we became close friend since then.
59 | He would told me secrets that I did not know before.
60 | For instance, once I had to borrow money from one of my friends because I spent all my living expenses too early.
61 | My friend didn't hesitate to lend money to me, although she knew I couldn't pay back the money in a short time.
62 | Two months ago, I had given money to her.
63 | During this period, our relationship wasn't influent by money.
64 | For example, uncle Li, one of my father's friends, has ever borrowed money from my father due to the sickness of his family.
65 | At that time, my father didn't hesitate to give uncle Li a hand.
66 | Till now uncle Li still appreciate my father when it has been mentioned.
67 | i won,t borrow money from my friends in any case,except without any other choice,it will make me feel uncomfortable and always owes my friends.
68 | For example, after a dinner party, Xiaoming was ought to pay for the part of xiaohong's, but he forgot it.
69 | Xiaoli was responsible for collect money.
70 | He realized it, but he didn't say anything.
71 | He thought Xiaoming pretended to be muddled.
72 | While friends borrow money from me and I can afford it, It is my pleasure to lend it to them.
73 | For instance, Mr. Wang, who my father grew up with, failed in his business and cash flow problems have occurred.
74 | After that, my father watched Mr.Wang's back while he know the problem.
75 | Till now, Mr.Wang still appreciate dad when they mentioned this story.
76 | For example, once I cooperated with a friend to do a sales project, it is easy to see that money is involved here, however, this did not do anything to our friendship and we are always good friends.
77 | Once I lost my wallet and got into trouble, I asked my friend Elsa for help and she helped me sincerely.
78 | From that on, our relationship doesn't seem to have got any harm, but became tighter because of that issue.
79 | Last winter vocation, a friend of mine traveled in Japan and asked me to help her turn on the international roaming service in Beijing.
80 | However, the preliminary requirement to turn on this service was that the balance of the mobile phone must reach the minimum requirement at least, and she couldn't recharge in Japan.
81 | Without any hesitation, I recharged hundreds yuan directly for her.
82 | Though this money was not a huge sum, it was also big to we students, and this really made her grateful.
83 | One colleague of my English teacher once borrowed some money from him when the colleague left the school to create his own career.
84 | After three years, he succeed in his new project and returned the money back to my English teacher and even send some stock of his new company to my teacher.
85 | Once when I go to a restaurant with one of my friend Mike, he forgot his wallet, and I payed his bill.
86 | He promised that he will repay the money as soon as possible.
87 | But he broke his promise and repayed it after a month due to my urge.
88 | When going out with friends, I hope that we can pay our own bill separately.
89 | Even though I don't have enough money, I won't borrow lot's of money from my friends.
90 | Once my best friend wants to celebrate her boyfriend birthday, and she is running out of money at that time so I lent her 300 RMB to help.
91 | It is my help that moved my best friend and her boyfriend and make her boyfriend realized her girlfriend must be kind too because she has that kind friend.
92 | My friend appreciate my help a lot and when I was in trouble she is always the first one to give me her hand.
93 | I used to lent money to one of my friend for emergency, and she promised that she will repay to me as soon as she has enough money.
94 | But from then on, she always shirk to repay.
95 | After several times communicate, I lost faith to her because of she's perfunctory attitude and decided to be quite of she's society.
96 | When I graduated from the university, my friend Xiao he came to my home.
97 | Because she did not have enough money to pay for the tickets, I paid her in advance.
98 | After a year, Xiao he did not pay back at all.
99 | Her silence made me feel that she did this on purpose, and our relationship soon went sour.
100 | Thus, our friendship been damaged.
101 | for example,one of my uncles borrowed some money from my father when was in economic poverty.
102 | he is sill grateful for my father's quick help.
103 | as the saying goes,friends in need is a friend in deed,that thing results father and uncle getting closer and closer to each other in these days,
104 | Once upon a time, my Mom borrowed 20,000 RMB from her friends while something urgent happened without enough savings.
105 | Her friend borrow the money immediately despite 20,000 is not a small amount.
106 | For example, when my friends is in urgent need of money, I will lend them money as long as I am eligible with pleasure.
107 | I also borrow money from friends a lot times, but i will never return it to my friends late, so my friends trust me.
108 | Guan used to take money more than he ought to as loans, but Bao got along with Guan well.
109 | When MaYun started-up, nobody believed him, but his friend decided to borrow him money,and work with him.
110 | At last, Mayun builds his business empire,the fellowship between him and his friend become love, and his friend becomes his wife.
111 | When Marx write Marxism,he is in the worst situation.
112 | But his friend Engels always sent his money, made sure of his life.
113 | As a result, Marx finished his book and became a great people that no one can ignore in the history of philosophy.
114 | The fellowship between he and Engels is phrased widely.
115 | For example, when Karl Marx writing the masterpiece Das Kapital, he was trapped in an economic plight and even had no money paid for food for his family.
116 | It was his friend -- Friedrich Engels who provided him with a long term economic aid which lasted for decades and their friendship has never been harmed by money at all.
117 | Take me, for instance, I have a classmate whose spending exceeded the predicted cost during his travel to Beijing, so he borrowed 1000 yuan from me and paid it back immediately after he came back to school.
118 | Meanwhile, he bought a souvenir for me to express his appreciation.
119 | Once Vivian, my high school classmate, has granted loans to me, I worked part-time every week to try my utmost to repay it with the understanding that she trusted me for me being her friend that would treasure our fellowship.
120 | My mom's friend, aunt Liu, divorced at her middle-age, having no one to depend on.
121 | Then my mom showed her generosity and lent her money as her daily expenses until she could earn her life again.
122 | Aunt Liu was so grateful that she often mentioned this.
123 | When I borrow money from my friends, they are all very generous.
124 | They know me well and also believe in me, so they lend me the money without hesitating.
125 | And I will return the money in time to protect and keep our friendship.
126 | Once, a roommate of my university turned me for help.
127 | She had just got a job, and didn't have a good salary.
128 | But one of her close relatives was seriously ill, she needed money.
129 | When she called me and asked me, I answered yes without hesitation.
130 | I lent her two thousand yuan.
131 | Not long after that, she paid all the money back.
132 | Now we live and work separately in this city, but still keep in touch with each other.
133 | And she really appreciates my help.
134 | last summer, I went for travelling, and my friend zhang's home was near to the place I travelled.
135 | When knowing this, he called me and wanted to invite me to a meal.
136 | We went to the restaurant, at the moment of finishing the meal, he answered a phone, then he told me he had a emergency, after borrowing money from me, he went away in a haste.
137 | A few days passed away, he said nothing with the borrowed money.
138 | I considered that the meal was a plea, the main reason he saw me was that he wanted borrow money from me.
139 | After borrowing, he acted as if the thing had never happened.
140 | It is the behvior that I didn't want to be his friend anymore.
141 | For instance, one of my good friends ask me whether I can lend some money to her because she needs to take bus and back to home and there was not enough money to buy a ticket.
142 | At the time, I brought some money and could lent it to her.
143 | She gave the money back to me after that day.
144 | For instance, one of my mother's friends would like to buy a house but she was lack a bit of money.
145 | She tried to borrow it from my mother and my mother did.
146 | Till now, she is still thankful to my mom's help and kindness.
147 | He borrowed money from his friend and promised repaying after a month.
148 | However, he didn't have enough money on the deadline of repaying, and he didn't explain the reason to his friend, which made his friend think that he didn't return the money on purpose.
149 | Although my friend returned the money several days after, their friendship was still influenced by this misunderstanding.
150 | One of my friends once borrowed a large amount of money from another friend of mine, and after that he often felt ashamed when he met we friends.
151 | In result, he was less and less willing to take part in our parties, which led that his relations with other friends not close as before.
152 | I once thought to buy a figure of animation, but I can't afford the balance payment.
153 | And my friend help me with his money, I remember it until now.
154 | For example, my mother has a good friend who came to Shanghai to support her mun and two brothers.
155 | Once she was badly ill, but almost all her salary was sent back to home, so she borrowed money from my mother to get treatmment.
156 | Ten years have passed away, but she still sometimes share this old story with her relatives and friends.
157 | For instance, once I borrow my friend's money, the number is 100 rmb.
158 | At that time, I said that I must pay back in 1 week.
159 | After one week, I initatively find my friend and pay back that 100 rmb.
160 | Although it makes some troubles to my friend, our relationship still stable and I don't harm him.
161 | For example, your premise is 1 week, however, your friend finds out a stuff on the Internet that will be sold out in 2 days.
162 | Then your friend faces a dilemma.
163 | That may create some conflicts.
164 | there is a example of my own experienxe,i lended a sum of money to my roommate during my college time,but my roommate didn't repay me for a very long time .
165 | i thought she intended not give the money back to me .
166 | eventually,i have to charge her.
167 | but she repaied the money in a unpleaseant attitude.
168 | i felt really disappointed about her condition.
169 | the friendship between us gradually fade away.
170 | still taking for example the above mentioned experience of mine.
171 | after my roommate borrowed money from we ,we seldom communicated with each other,
172 | I travelled to Beijing with my friend Linda after graduating from high school.
173 | I paid for her temporarily because she didn't bring enough money.
174 | However, she never mentioned it since then, which I thought was what she did on purpose.
175 | We felt embarrassed because of the dispute of money, and our friendship was getting weaker and weaker after that travel.
176 | Once upon a time, I borrowed money from Jack due to the financial absence,which dishonored us at that time.
177 | As a consequence,I avoided to meet him and we were not as close as we used to be.
178 | For example, when I am out for my study in another city, I will always give my house's key to my friends in case of the emergency.
179 | If I am really concerned about my friends are to damage my economic investment, of course I will not do that.
180 | For instance, my mother's friend's mother once got a serious sick and needed a lot of money to do an operation.
181 | Once he asked my mom to borrow some money, my mother immediately agreed and helped him.
182 | After the operation, his mother's desease was cured and from that time, his mother treated my mother as her daughter and that friend of my mother knew who was his real friend and saw her as his sister.
183 | Thus, there must be reasons for a person to borrow money.
184 | Without thinking twice then,I borrowed 5yuan for beakfast from my roomate,who has finanical problem.
185 | It was not until he mentioned that three months later did I recall it shamely.
186 | Five yuan may count nothing for me,but for my mate,it could be essential.
187 | when i was in middle school, i got several friends whose family is much richer than mine.
188 | Once a time, when i pass through a bookstore, i found a book that interested me very much but i just could not afford it.
189 | In fact, at that time, i really wanted to borrow money from my friends but i was afriad that it will be harmful to our relationship.
190 | However, then, one of my friends noticed that i did not have enough money and he lent money to me, which touched me deeply.
191 | I can never forget the moment he show me the money;
192 | However, in some cases, such as purchasing for your coffee, you will be literally embarrassed if you forgot to bring your wallet.
193 | For example, if one of my friends asked me for some money due to some emergency and never paid me back, it means that he thought we don't have friendship, or the friendship is not worth the money I borrowed him.
194 | My father once borrowed money from his friends for his business, and most "friends" made an excuse and didn't help him except several ture friends.
195 | Since then, my father believes that only those who will help him when it's an emergency can be called ture friends.
196 |
--------------------------------------------------------------------------------
/model/20171110/train/GRLFile.txt:
--------------------------------------------------------------------------------
1 | Cases like my family's are many, your friend would feel grateful if you help them in time.
2 | Friends are always supportive of each other which is supposed to be.
3 |
--------------------------------------------------------------------------------
/model/20171110/train/IRLFile.txt:
--------------------------------------------------------------------------------
1 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
2 | Use specific reasons and examples to support your answer.
3 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
4 | Use specific reasons and examples to support your answer.
5 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
6 | Use specific reasons and examples to support your answer.
7 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
8 | Use specific reasons and examples to support your answer.
9 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
10 | Use specific reasons and examples to support your answer.
11 | As a resultThroughout my life, I have been lucky enough to have a very good relationship with my parents.
12 | They have supported me, given me necessary criticism, and taught me a great deal about how to live my life.
13 | Parents can be very important teachers in our lives; however, they are not always the best teachers.
14 | During the process of communication, gaps may rise in the circumstances where the two can not trust the othe one.
15 | Parents may be too close to their children emotionally.
16 | Sometimes they can only see their children though the eyes of a protector.
17 | For example, they may limit a child's freedom in the name of safety.
18 | A teacher might see a trip to a big city as a valuable new experience.
19 | However, it might seem too dangerous to a parent.
20 | Parents are usually eager to pass on their value to their children.
21 | But should children always believe what their parents do?
22 | Maybe different generations need different ways of thinking.
23 | When children are young, they believe that their parents are always rights.
24 | But when they get older, they realize there are other views.
25 | Sometimes parents, especially older ones, can't keep up with rapid social or technology changes.
26 | A student who has friends of all different races and backgrounds at school may find that her parents don't really understand or value the digital revolution.
27 | Sometimes kids have to find their own ways to what they believe in.
28 | The most important thing to realize is that we all have many teachers in our lives.
29 | Our parents teach us, our teachers teach us, and our peers teach us.
30 | Books and newspapers and television also teach us.
31 | All of them are valuable.
32 | Nevertheless, I think that the most important lessons can’t be taught; they have to be experienced.
33 | No one can teach us how to get along with others or how to have self-respect.
34 | As we grow from children into teenagers, no one can teach us how to deal with peer pressure.
35 | As we leave adolescence behind and enter adult life, no one can teach us how to fall in love and get married
36 | The most important thing to realize is that we all have many teachers in our lives.
37 | Our parents teach us, our teachers teach us, and our peers teach us.
38 | Books and newspapers and television also teach us.
39 | All of them are valuable.
40 | To put it in another way,
41 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
42 | Use specific reasons and examples to support your answer.
43 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
44 | Use specific reasons and examples to support your answer.
45 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
46 | Use specific reasons and examples to support your answer.
47 | Do you agree or disagree with the following statement: It is sometimes said that borrowing money from a friend can harm or damage the friendship.
48 | Use specific reasons and examples to support your answer.
49 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
50 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
51 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
52 | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
53 | Community service is an important component of education here at our university.
54 | We encourage all students to volunteer for at least one community activity before they graduate.
55 | A new community program called "One On One" helps elementary students who've fallen behind.
56 | You education majors might be especially interested in it because it offers the opportunity to do some teaching—that is, tutoring in math and English.
57 | You'd have to volunteer two hours a week for one semester.
58 | You can choose to help a child with math, English, or both.
59 | Half-hour lessons are fine, so you could do a half hour of each subject two days a week.
60 | Professor Dodge willact as a mentor to the tutors---he'll be available to
61 |
--------------------------------------------------------------------------------
/model/20171110/train/PTFile.txt:
--------------------------------------------------------------------------------
1 | As far as I am concerned, borrowing money from freinds will not damage our friendship.
2 | I don't agree that borrowing money from friends will inevitably harm the friendship because it's a normal thing in some degree especially when we have some troubles,and the friendship would not be affected if the repudiation or default doesn't happen.
3 | However, from my point of view, I do not believe that this claim can hold water.
4 | From my point of view, borrowing money from friends is not an injury to the companionship.
5 | However, with the following suggestions, I keep the statement that it might deteriorate the friendship.
6 | I don't think that borrowing money from friends is harmful to friendship.
7 | Maybe someone might believe that borrowing money from friends would harm friendship, but I think that borrowing money from friends will not hurt friendship.
8 | However, in my opinion, friendship represent trust and helping each other.
9 | Borrowing money from friends doesn't mean it will damage friendship.
10 | However, I beg to differ.
11 | So I think that borrowing money from friends is harmful to friendship.
12 | In my opinion,however,borrowing money from friends will not damage the friendship.
13 | In my opinion,I don't think borrowing money from a friend can damage the friendship.
14 | From my perspective, real companionship is so strong that it won't such fragile.
15 | i,m totally agree with this statement that borrowing money from a friend would damage the friendship of us.
16 | I do not believe that this claim can hold up.
17 | And I don' think borrowing money from friends will do harm to our friendship.
18 | However, I think borrowing money from friends can be harmless to the friendship and may even enhance the friendship.
19 | however, I believe that real friends will not care about that.
20 | However, from my point of perspective, borrowing money from our friends may be harmful to our friendship.
21 | Actually, I don't think borrowing money from friends can hurt friendship
22 | However, in my opinion, borrowing money from friends is a risky behavior, because it might damage friendship easily.
23 | Personally, I believe borrowing money from friends can actually damage our friendship.
24 | Although money,being related to interests among us, is thought may hurt the relationship between friends,i still thing it isn't that much serious and can even make friendship be more close.
25 | In my opinion, I think that borrowing money from our friends is harmful for our friendship.
26 | However, as far as i am concerned, borrowing money from friends cannot injure the fellowship in reality.
27 | In my opinion, it will not damage the friendship for quite sure.
28 | But In my view, borrowing money won't damage fellowship
29 | As far as I'm concerned, I don't think borrowing money from my friends will damage the friendship, instead, it can reinforce our friendship.
30 | In my opinion, borrowing money from friends would not harm the friendship.
31 | But to me, if you do that occasionally and not a large sum of money that your friends can't afford, it'll be all right.
32 | As far as I am concerned, I account that it will be hurt the friendship when borrowing money from friends.
33 | In my opinion, borrow money from our friends won't injure our friendship.
34 | In my opinion, each of these ways has its own merits and demerits, but the worst choice is borrowing money from friends.
35 | Due to the fragility of friendship, borrowing money may damage the relationship between friends.
36 | Sometimes, we would borrow money from our friends to solve the problem, but this action can't damage the friendship.
37 | In my opinion, i think borrowing money from friends won't do harm to the friendship.
38 | However, I think it will not harm the relationship between you and your friends.
39 | in my opinion,i am in agreement with the claim that people's friendship will be destroyed by money.
40 | However, I hold the opinion that borrowing money from friends is likely to do harm to the friendship.
41 | As far as I concerned, it will not damage friendship to borrow money from friends.
42 | In my regard,it does synchronize with my opinion.
43 | As far as i am concerned, one that borrow money from his friends will not be harmful to their friendship.
44 | So I will definitely hold the faith that borrowing money will not break the friendship.
45 | However, I believe that borrowing money from our friends will not harm our friendship.
46 |
--------------------------------------------------------------------------------
/model/20171110/train/RAFMFile.txt:
--------------------------------------------------------------------------------
1 | From what has been discussed above, borrowing money from friends cannot damage the friendship.
2 | Therefore,a good repute borrowing would never be harmful to the friendship.
3 | Hence,I don't favor the point that borrowing money will cause a damage on friendship.
4 | In my view,the most important thing is the friendship between friends will not be affected by borrowing money as well as trust between them,if not ,they might be closer on account of this matter.
5 | For the sake of maintaining and developing the friendship among friends, we'd better not
6 | To put it in a nutshell, borrowing money from friends is perfectly fine without being an injury to friendship.
7 | From what we discussed above, borrowing money isn't harmful to fellowship.
8 | Thus borrowing money from friends will deteriorate the friendship.
9 | All in all, I keep my statement that borrowing money from friends will do harm to the friendship.
10 | As a result, borrowing money from friends won't injure friendship.
11 | In conclusion,borrowing money from friends won't damage friendship.
12 | Therefore, borrowing money from your friends will not hurt friendship.
13 | So, we can say that borrowing money will not destroy the friendship which has a deep root.
14 | In short, i believe borrowing money will not spoil friendship.
15 | So I think borrowing money will hurt our friendship.
16 | In the end, I think borrowing money will damage the friendship.
17 | Those problem will have bad influence on friendship, so I think borrowing money is harmful to friendship.
18 | All in all, I insist that borrowing money makes no good to friendship.
19 | So it would be better not to mix the friendship with profits such as money.
20 | So,it will not damage the friendship borrowing money from friends.
21 | So borrowing money will not damage the friendship.
22 | So borrowing money from a friend is not an injury to friendship.
23 | Therefore, the real friendship is sturdy enough to avoid harm.
24 | In a nutshell, it is not detrimental for people to borrow money from friends.
25 | after all,my opinion is that we shouldn,t borrow money from our friends except without any other choice,
26 | So I think borrowing money can affect friendship.
27 | In summary, the unbalance caused by borrowing money can ruin friendship.
28 | Thus, borrowing money from friends would not hurt the friendship.
29 | So, I advocate that borrowing money from friends will not hurt the friendship.
30 | So borrowing money from friends can do no harm to our friendship.
31 | So, borrowing money from friends will not harm friendship.
32 | In conclusion, borrowing money from friends will do no harm to friendship,
33 | Therefore, borrowing money from friends will not be an injury to the friendship.
34 | So I think borrowing money from a friend can not harm or damage the friendship.
35 | So borrowing money from firends will not become an injury to the friendship.
36 | So I think borrowing money from firends will not hurt the friendship.
37 | Taking these factors into account, I hold that borrowing money from friends is truly harmful to fellowship.
38 | So it's unnecessary to worry about money will be the factor to take apart your friendship.
39 | To put into a nutshell, borrowing and lending money to your true friends will not influence friendship.
40 | in a word, though some problems may appear during our friends lending money from us,we should still believe offering help won't do harm to our friendship because of understanding and trust!
41 | Above all, I think borrowing money with friends won't damage friendship.
42 | All in all, asking money from friends will casue no discord
43 | So, borrowing money from friends will not damage the fellowship.
44 | So I believe that borrowing money from friends will not damage the fellowship.
45 | In a nutshell, borrowing money from friend is basis on the trust, and it won't damage the fellowship ,but make it deeper.
46 | Thus, borrowing money will not damage friendship definitely.
47 | So from my point of view, borrowing money from friends does no damage to the feeling.
48 | So borrowing money is not a threaten to the friendship.
49 | All in all, borrowing money from friends is not a bad thing for the friendship.
50 | All these problems will hurt the friendship, so I believe that borrowing money is an injury to fellowship.
51 | The matters will have a bad influence on the pure friendship.
52 | So I believe that borrowing money damage fellowship.
53 | Thus, borrow money from friends won't injured friendship.
54 | Thus, I believe borrow money from friends won't injure fellowship.
55 | Therefore, borrowing money from friends sometimes have a bad impact on friendship.
56 | So, borrowing money from friends won't damage the friendship.
57 | In summary,the real friendship won't be broken because of the money.
58 | So,in my opinion, borrowing money from friends won't damage the friendship.
59 | To sum up in conclusion, borrowing money from friends won't damage the friendship.
60 | Therefore, I think that borrowing money from your friend is not a big deal.
61 | In general, borrowing money from your friend is not a harmful thing.
62 | to put it in a nutshell,it is easily hurt friendship when have something to do with money.
63 | So it's of wisdom for us to prevent our friendship from financial issue.
64 | As a result, borrowing money will not damage friendship.
65 | All in all, borrowing and lending money between friends will not harm friendship.
66 | so I believe borrowing money from friends will hurt the friendship.
67 | So I think borrowing money from friends does undermine friendship.
68 | So I believe borrowing money will not harm our friendship.
69 |
--------------------------------------------------------------------------------
/model/20171110/train/RSFile.txt:
--------------------------------------------------------------------------------
1 | Borrowing money from friends is not harmful to true fellowship.
2 | In some cases, borrowing money to friends even can strengthen the companionship.
3 | True friends won't be separated by a reason of money unless when they lose trust on each other,
4 | However, once involving conflicts of interests such as money will do harm to the friendship
5 | we may be embarrassed by borrowing money from friends.
6 | The true friendship will not be damaged by issues concerning money.
7 | To begin with, the problem of money will never give rise to antagonism in true friendship.
8 | In addition, it is possible that our companionship develops by borrowing money from each other rather than being damaged.
9 | Firstly, friends can easily understand that our borrowing is fair and reasonable.
10 | Furthermore, borrowing from friends probably make friendship firmer.
11 | Firstly, if one borrows money from his people, it will cause controversy between friends.
12 | Secondly, borrowing money from friends will lose our face.
13 | The true friendship won't be hurt by borrowing money between real friends.
14 | The true friendship won't be hurt by money.
15 | Borrowing money from friends doesn't injure friendship,even it can deepen the friendship.
16 | The truly friendship will not be hurt because of money.
17 | Indeed, borrowing money from friends will not hurt friendship, but improve your relationships.
18 | True friendship will not be broken down because of borrowing money.
19 | On the contrary, this kind of deed will deepen friendship as well as keep friendship ever green.
20 | So, how to understand lending money to friend is a accelerator to the depth of friendship?
21 | borrowing money from friends will produce contradiction because of returning money.
22 | borrowing money from friends may make us lose face.
23 | First and foremost, genuine friendship won't be affected by money issues.
24 | First, when you ask friends for money, it may leads to the argument on returing the money.
25 | Second, borrowing money from friends will let us feel shame.
26 | Real friends do not generate enmity for money.
27 | Borrowing money from friends will not do damage to the friendship,but inprove it.
28 | Real friendship will not be influenced by the money.
29 | Borrowing money from a friend not only is not an injury to friendship but also reinforces it.
30 | First, the problems about money can't effect real friendship.
31 | In addition, friendship isn't damaged but enhanced by borrowing money from friends.
32 | we might have some conflicts for borrowing money from our friends,
33 | borrowing money from our friends may make us feel uncomfortable,because the friendship is based on equality.
34 | For instance, it is possible that returning the money may cause contradiction.
35 | Borrowing money from friends may make us embarrassed.
36 | A fissure would not appeared in real friendship because of the money.
37 | Borrowing money from friends not only will not harm the friendship, but deepen friendship.
38 | Firstly, it seems that true friendship will not be damaged when getting in touch with money.
39 | Secondly, borrowing money from friends is not such thing that will harm friendship but what strengthens friendship.
40 | The true friendship will not be damaged because of money.
41 | Borrowing money from friends not only wouldn't harm or damage the friendship, but also can deepen the friendship.
42 | True friendship will not be obstacled by money.
43 | Borrowing money from friends may sometimes not only has no damage to the friendship, but also contribute to it.
44 | Firstly, borrowing money from friends might ignite some conflicts when it comes to repaying money.
45 | Secondly, borrowing money from our friends may embarass us.
46 | A real friendship will not be fragile results from money.
47 | Lending money to my friends will develop our friendship instead of destroy it.
48 | Borrowing money from friends will lead to conflict of repayment.
49 | Borrowing money form friends also makes us lose face.
50 | Borrowing money from firends can cause conflict due to the duetime.
51 | firstly, there shouln't emerge problem between friends only because of money.
52 | not only won't lending money to friends do harm to relationship, which but also will be deepened.
53 | The true friendship won't be affected by money.
54 | Borrowing money from friends won't damage the fellowship, instead, it will empowered to friendship.
55 | Gaps will never be produced between the true friendships because of money.
56 | Moreover, borrowing money not only will damage the friendships but will also deepen them.
57 | A true friend will not blame you on borrowing money.
58 | Not only will borrowing money from friends cause damage to friendship, but it tends to deepen friendship.
59 | The true fellowship could not be hurt by the money problem.
60 | Borrowing money from friends not only has no damage to fellowship, but also can help building the companionship more rigid.
61 | The true fellowship won't create a gap because of money.
62 | Borrowing money from friends won't damage fellowship, but deepen the fellowship instead.
63 | A genuine friendship will never ever been injured by money.
64 | borrowing money from friends won't injure their friendship, instead, the bond between them can be enhanced,
65 | First of all, money can't cause problems between true friends.
66 | Moreover, borrowing money from friends not only does no harm to the fellowship but in fact enhances it.
67 | True friendship will not be hurt by lending and borrowing money.
68 | Borrowing money from friends will not damage the friendship, sometimes it can even strengthen the friendship.
69 | Firstly, it is easy to cause contradiction becase of borrowing money from friends.
70 | Secondly, borrowing money from friends will make us lose face.
71 | True frisendship won't hurt because of problems of money.
72 | Borrowing money from friends won't injure fellowship, it will increase friendship.
73 | First of all, if you have no ability to repay the money, your friends may doubt about your moral quality, which is obviously an injury to fellowship.
74 | Secondly, borrowing money from friends may cause inequality between friends, which make the relationship between friends not pure any more.
75 | The real friendship can't be broken by borrowing money.
76 | Borrowing money from friends not only isn't an injury to friendship, but also develop it.
77 | True friendship won't have gaps because of the money.
78 | Furthermore, borrowing money will not only do no harm to the friendship but also uplevel the friendship.
79 | First of all, borrowing money is a normal thing in helping each others.
80 | In addition, if your friend doesn't want to borrow you money, it is still normal and it will not lose your reputation.
81 | borrowing and lending money are the most serious contradictory to influence friendship.
82 | secondly,borrowing money with friends may make us lose face.
83 | For it will generate bitterness between friends when returning money and be embarrassed to us when borrowing money.
84 | Firsty, borrowing money will generate bitterness between friends when returning the money.
85 | What's more,borrowing money from friends is likely to make us lose face.
86 | First of all, truely friendship will not be harmed by monetary problems.
87 | Futhermore, borrowing and lending money between friends will not only not damage friendship, but also improve it.
88 | As soon as you ask a friend to lend you money,conflict will be caused by the matter of returning the money.
89 | Borrowing money from friends can dishonor ourselves.
90 | Real friendship will not be damaged because of money.
91 | The true friendship will not have crevice because of money.
92 | True friendship won't have bad blood because of money.
93 | Ture friendship will not be harmed by money issues.
94 | Borrowing money from our friend will not harm our friendship.
95 | On the contrary, it will enhance our friendship.
96 |
--------------------------------------------------------------------------------
/model/20171110/train/RTTFile.txt:
--------------------------------------------------------------------------------
1 | In reality, a friend who betrays you for money is not a real friend of you.
2 | Comparing with the friend above, real friends understand that which is more important between friendship and money.
3 | As for you, there is no need to sustain a friendship with those who do not cherish you.
4 | As a matter of fact,true friendship would never been damaged since that the foundation of it--trust won't been rocked by the issue of borrowing money.
5 | As a matter of fact,
6 | However, this case is quite unlikely as long as we make friends with the right persons and build the true friendship.
7 | However the misunderstanding will be perfectly settled as long as we do as below.
8 | Whenever we are borrowing, we should not forget to set a reminder of "return $?? to ??" on our to-do list.
9 | If we've lent our money out to a friend and he/she haven't paid us back, chances are good that he/she forgets about it.
10 | In this case, we can simply reminder of him/her politely and our money should be returned soon.
11 | However, in my opinion, it will cause several problems if the money-connection was created between friends.
12 | Actually,true friendship won't be hurt.
13 | Friendship is on the basis of equality and trust.
14 | Actually, the truly friendship will not be hurt because of that, because a real friend always take care of his/her friends' feeling.
15 | Actually, a pure friendship will not break because of this, for it will be reliable and worthy.
16 | Under the circumstance which finance is available, there will not have a rift of displeasure.
17 | But in fact, once the money is involved, the problem occurs such as returning or not returning the money or when to return the money.
18 | These problems will injure the friendship.
19 | But, in fact, when money is mixed into the relationship of friends, it becomes problems.
20 | For example, if you forget to return money, or if you feel sad.
21 | In fact,a real friendship will not be damaged by this.
22 | A real friendship is not based of money,but the trust that generated after a long time companion,never suspecting.
23 | In fact,those who change their attitude once borrow money from you,deep down inside,do not think of you as a friend,more of a nobody.
24 | The fellowship does not even exist all the time.
25 | As a matter of fact,true friendship does not change because of it,because true friends make a pact with you before you ask and respect the pact by paying back on time,at the same time,is appreciated by each other involved.
26 | In fact, compared with emotion between them, money as the material tool is not important.
27 | howerver,the friendship would be changed once it is related to money affairs.
28 | along with many problems ,you may feel uncomfortable when you refuse to borrow you friend money or ask them to pay back you money as soon as possible.
29 | all of these things would hurt the friendship.
30 | But in fact, once friendship is involved with money, many problems will come out.
31 | For example, don't payback, too long to payback ,etc.
32 | All these problems can do harm to friend ship.
33 | Virtually, the real friendship would not be spoiled.
34 | The true friend would be happy to help you with all their heart when you need, which show the real friendship.
35 | However, frankly, the profit between each other is also an important part of the social contact between people.
36 | Therefore this kind of social contact can only make friendship greater.
37 | However, as a matter of fact, the true friendship will not be damaged because of this in that borrowing money is not permanent as long as we pay back in time.
38 | In fact, real friendship will not be damaged because they will explain the reason for their inconvinience and try to help the lenders in other ways.
39 | However, when friends have some relationship which is based on money, lots of problem will come out.
40 | For example, friends might have disagreement on when to repay the money.
41 | All kinds of problem will do harm to companionship.
42 | In fact, the real friendship will probably not be beaten so easily.
43 | You and your friends become friends results from your similar hobbies and characteristics, not money.
44 | actually, with understanding, we won't care much about it when compared to the truely trust between us., which means that borrowing the money from our friends is ok.
45 | In fact, the true friendship can't be damaged cause real friends are relatives so borrowing money from friends is not an injury for friendship.
46 | However, in fact, a stout friendship will stay safe for the friendship is much more signifcant than money,which proves that borrowing money from friends is fine.
47 | In fact, true fellowship will not be impact by this because it is on the basis of belief, which would not tremble due to the money issue.
48 | but it is the willing of stand the risk show the value of the fellowship
49 | As a matter of fact, the true friendship means helping each other, of course containing the help with money.
50 | To tell the truth , true friendship won't be harmed because true friends won't let their friends suffer but think of them instead.
51 | In this case, the fellowship would be safe though the behaviour of borrowing money takes place.
52 | In fact, true friendship is not influenced by these.
53 | True friends know each other so well that they trust each other, and of course they don't doubt about it.
54 | So, don't be worried when you really need to borrow money from your friends.
55 | But actually, when there is a relationship of money between friends, there will be lots of problems, such as the misunderstanding, the reduce of communication, etc.
56 | Actually, true friendeship will not be injured because true friends will not only repay it to us but also the relationship will become better and better.
57 | However, in many cases, people are unable to deal with these problems well after borrowing money, which lead to a misunderstanding between friends and make the friendship less closer.
58 | Actually, the real friendship can't be broken,because it is above all the benifits.
59 | The people who you don't want to lend money to is not your real friend.
60 | In fact, the true friendship won't be damaged, because understanding and care is the fundation of the friendship.
61 | Whereas, you can use the conversation skills to overcome these predicaments.
62 | however,as long as we are extreme cautious when coming down to the money problem with friends,the issues above will be perfectly solved.
63 | However, selflessness doesn't mean offer the help which will become an injury of friendship .
64 | Once there are some factors of money in the friendship,they will deeply hurting the friendship owing to development of barrier and the break of the equality in relationship.
65 | But in fact, real friendships will not be influced.
66 | Real friends will also think for you, and will pay you back as soon as possible if they have money because they do not want you to be anxious.
67 | In fact,once money relationship forged between friends,trouble can come after.
68 | If debt is not paid off,friends would be suspicious about each other.
69 | These problems may undermine friendship,
70 | i think that is because that they are not real friends.
71 | Their relationship is not on the basis of mutual trust.
72 | Borrowing money from a real friend will not damage their freindship.
73 | on the contrary, their realtionship will be more tight after that.
74 | In fact, ture friendship will not be harmed, because ture friends will not refuse to pay you back on purpose.
75 |
--------------------------------------------------------------------------------
/model/20171110/train/SRSFile.txt:
--------------------------------------------------------------------------------
1 | It is not only because true friends believe in each other, but also because lending money to others can show you care about them.
2 | It is not only because true friends will never be suspicious of each other, but also because borrowing money can sometimes be a chance to develop the friendship.
3 | It's not only because our friend can easily understand we are borrowing for reasons, but also because borrowing will make the fellowship even better.
4 | All in all, borrowing money from your friends is not only a test about whether your friendship is countable, but also a method to deepen your relationship.
5 | Only we can be thoughtful, be mutual understanding, and our money is under our budget, as well as we can trust each other, we can deepen our existing friendship and creat new friendship.
6 | All as above, borrowing money from friends not only produces controdctions about returning the money, but also make us lose face.
7 | Although, a bit help and return in time won't do much, but borrowing will become a habit.
8 | If you are getting used to borrowing again and again, it would eventually hurt your friends and yourself.
9 | To sum up,a real friendship will not generate enmity.
10 | Lending money to friends and helping him from troubles will also improve the friendship.
11 | The first thing to know is that real friendship will not be influenced if borrowing money from a friend.
12 | The second thing is that a true friend will try his utmost to let you perceive his sincereness of appreciating the companionship.
13 | It is not only because the real fellowship doesn't be fragile by money, but also doing tough friends a favor can deepen friendship.
14 | Furthermore, the companionship not only represents the emotional connection of two persons, but also contains the companionship of communal experience and growth.
15 | There is a old Chinese saying“ a friend in need is a friend indeed”.
16 | The precious friendship is as firm as rocks.
17 | it will make both sides feel uncomfortable ,which gonna hurt the friendship of each other
18 | In summary, the real friendship would not be broken by money, and borrowing money from friends will not harm the friendship, but deepen friendship.
19 | not only because true friendship will not be destroyed by money, but also this kind of behavior which means helping each other can only strengthen friendship.
20 | To sum up, the true friendship will not be injured by money.
21 | Borrowing money from friends not only won't be an injury to the friendship, but also deepen the friendship.
22 | To summarise, real friendship won't be stoped by money.
23 | Helping friends to over come difficulties will also make the relationship much closer.
24 | In a word, I think that friends may disagree each other on when to repay money on the one hand,and that the person who borrows money will lose face on the other hand.
25 | There can't be a gap between true friends, to the contract, it will develop the friendship when you help your friend who is in difficulty.
26 | It won't be broken by money within true friendship.
27 | because of the fact that friendship is much more signifcant than money.
28 | In conclusion, true fellowship will not split the connection between friends, and it will lead to a more rigid relation.
29 | In summary, it's a reasonable behavior to borrow money mutually between friends if their friendship is built on the trust, lending money to friends so that they can tide over difficulties and even achieve his career goal will absolutely cement friendship rather than impair it.
30 | To sum up, money is disable to endorse real friendship.
31 | Caring and helping between friends is a great promotion to the consistent friendliness.
32 | It is not a challenge for true friendship, and it can even enhance the friendship.
33 | To sum up, borrowing money from friends will not only lose face,but also cause dispute.
34 | In short, true frienship won't cause problems because of the money, borrow money can actually increase friendship.
35 | In conclusion, delaying repaying may cause that friends doubt about your moral quality, and borrowing money may also cause the inequality between friends.
36 | Borrowing money from friends not only isn't an injury to friendship, but also develop it.
37 | it is not only because repaying money will lead to a contraditory but also friendship will be disappeared on account of face problem .
38 | whatever,an un sophisticated friendship between friends is always the most valuable thing.
39 | From what I have stated above, borrowing money from friends will not only create bitterness of friendship but also damage the equality of the relationship between two friends,which will keep friends at a distance and do harm to the friendship.
40 | Because real friends will not be separated by money, but become closer.
41 | As I conveyed above,borrowing money from friends can cause conflict when it comes to payoff the debt.
42 | Futhermore,it hurts one's feeling to borrow to some extent.
43 | For what have been disscussed above, i think borrowing money can strengthen the trust between friends, resulting improving their friendship.
44 | In summary, ture friendship will not be harmed by borrowing money and even can be enhanced by it.
45 |
--------------------------------------------------------------------------------
/model/20171110/train/TSTFile.txt:
--------------------------------------------------------------------------------
1 | My reasons and examples are given below.
2 | There are some reasons and examples given below to illustrate my viewpoint.
3 | I'm going to elaborate my point in the following paragraphs.
4 | Here are some reasons to name.
5 | There are some reasons and examples to illustrate my opinion.
6 | What about the other reasons?
7 | There are some reasons and examples to illustrate my point of view.
8 | My reasons and examples are as followed.
9 | and this essay will develop in two parts to prove my views.
10 | Here are some reasons.
11 | My viewpoint can be well illustrated by the following reasons and examples.
12 | I'm going to present two typical cases to prove the validity of my viewpoint.
13 | The reasons are as follows.
14 | I will illustrate my point of view by the following reasons.
15 | I will give you an example of my friend.
16 | there are some reasons and examples to illustrate my point of view.
17 | My view point is based on the following reasons.
18 |
--------------------------------------------------------------------------------
/nltkTest/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/nltkTest/__init__.py
--------------------------------------------------------------------------------
/nltkTest/__pycache__/__init__.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/nltkTest/__pycache__/__init__.cpython-35.pyc
--------------------------------------------------------------------------------
/nltkTest/nltkDemo.py:
--------------------------------------------------------------------------------
1 | import nltk
2 | import config
3 |
4 | configs = config.configs
5 |
6 | nltk.data.path.append('/Users/ming.zhou/NLP/Tools/nltk/nltk_data')
7 |
8 | # 分割
9 | sentence = "My father had borrowed some money to one of his friend Wang two years ago, who was going to buy a new room that time."
10 | tokens1 = nltk.grammar.nonterminals(sentence)
11 | # print("len is ", len(tokens1))
12 | print(tokens1)
13 |
14 | tokens = nltk.word_tokenize(sentence)
15 | print(tokens)
16 |
17 | # 词性标注
18 | tagged = nltk.pos_tag(tokens)
19 | print(tagged)
20 | i_1 = 0
21 | i_2 = 0
22 | # 判断时态
23 | for tag in tagged:
24 | if tag[1] not in configs['tense']:
25 | continue
26 | elif configs['tense'][tag[1]] == 1:
27 | print('1', tag[0], tag[1])
28 | i_1 += 1
29 | elif configs['tense'][tag[1]] == 2:
30 | print('2', tag[0], tag[1])
31 | i_2 += 1
32 | print(1) if i_1 >= i_2 else print(2)
33 |
34 | indicators = configs['indicators']
35 | indicatorsSet = set()
36 |
37 | for i in indicators:
38 | indicatorsSet.add(i)
39 |
40 | print(len(indicators))
41 | print(len(indicatorsSet))
42 |
43 | # 构建分析树
44 | # entities = nltk.chunk.ne_chunk(tagged)
45 | # print(entities)
46 | # print(entities.height())
47 |
48 | #分句
49 | # sent_tokenizer = nltk.data.load('tokenizers/punkt/english.pickle')
50 | # paragraph = """In most cases, borrowing money from others is an injury to our relationship. However, is it still right under the condition that the man who ask you for money is your friend? This question triggers an interesting debate. As far as I am concerned, borrowing money from freinds will not damage our friendship. My reasons and examples are given below."""
51 | # paragraphTag = """In most cases, borrowing money from others is an injury to our relationship. However, is it still right under the condition that the man who ask you for money is your friend? This question triggers an interesting debate. As far as I am concerned, borrowing money from freinds will not damage our friendship.My reasons and examples are given below."""
52 | # sentences = sent_tokenizer.tokenize(paragraph)
53 | # import re
54 | # sentencesTag = re.split(r'(<[A-Z]{2,4}>)', paragraphTag)
55 | # result = []
56 | # print(sentencesTag)
57 | # for index in range(len(sentencesTag)):
58 | # # if s != "":
59 | # print("index[", index, "]: ", sentencesTag[index])
60 | # if sentencesTag[index] == "" or index % 2 == 0:
61 | # continue
62 | # else:
63 | # result.append(sentencesTag[index])
64 | #
65 | # print(result)
--------------------------------------------------------------------------------
/nltkTest/nltkDemo2.py:
--------------------------------------------------------------------------------
1 | import nltk
2 | from nltk.corpus import treebank
3 | nltk.data.path.append('/Users/ming.zhou/NLP/Tools/nltk/nltk_data')
4 |
5 | # 分割
6 | sentence = "They desert the treasure in the desert."
7 | tokens = nltk.word_tokenize(sentence)
8 | print(tokens)
9 |
10 | # 词性标注
11 | tagged = nltk.pos_tag(tokens)
12 | print(tagged)
13 |
14 | entities = nltk.chunk.ne_chunk(tagged)
15 | print(entities)
16 | print(entities.height())
17 | #entities.draw()
18 |
19 | t = treebank.parsed_sents('wsj_0001.mrg')[0]
20 | print(t)
21 | print(type(t))
22 | # t.draw()
23 |
24 | from nltk.grammar import PCFG, induce_pcfg, toy_pcfg1, toy_pcfg2
25 | from nltk.parse import pchart
26 |
27 | grammar = toy_pcfg2
28 | parser = pchart.InsideChartParser(grammar)
29 | tokens = "Jack saw Bob with my cookie".split()
30 | t1 = parser.parse(tokens)
31 | # print(next(t1).height())
32 | # next(t1).draw()
33 | # print(type(t1))
34 | for t in parser.parse(tokens):
35 | print(t.height())
36 | print(type(t))
37 | # print(t.draw())
--------------------------------------------------------------------------------
/nltkTest/nltkDemo3.py:
--------------------------------------------------------------------------------
1 | import openpyxl
2 | import config
3 | configs = config.configs
4 |
5 | writeBook = openpyxl.load_workbook(configs['extractFeaturesPath'])
6 | writeSheet = writeBook.active
7 |
8 | for i in range(writeSheet.max_row - 1):
9 | punctuation = writeSheet.cell(row = i + 2, column = 7).value
10 | tag = 0
11 | if punctuation in configs['punctuation']:
12 | tag = configs['punctuation'][punctuation]
13 | writeSheet['G' + str(i + 2)] = tag
14 | print('index[', i + 2, ']', punctuation, ',tag=', tag)
15 |
16 | writeBook.save(configs['extractFeaturesPath'])
--------------------------------------------------------------------------------
/preprocessing/DataNormalize.py:
--------------------------------------------------------------------------------
1 | import math
2 |
3 |
4 | class DataNormalize(object):
5 |
6 | @staticmethod
7 | def normalize_feature_by_sigmoid(feature_vector):
8 | """
9 | 归一化处理,使用sigmoid函数
10 | sigmoid函数做归一主要是把两边的一些噪声数据拉回来,不要让噪声数据影响模型效果,
11 | 而我们是自己提取的特征,已经经过了预处理,没有很多噪声数据
12 | 这就是在这种情况下使用sigmoid函数准确率低的原因
13 | :param feature_vector: 特征向量
14 | :return: 归一化后的特征向量
15 | """
16 | normalize_feature_vector = []
17 | for feature in feature_vector:
18 | normalize_feature_vector.append(1.0 / (1 + math.exp(-float(feature))))
19 | return normalize_feature_vector
20 |
21 | @staticmethod
22 | def normalize_feature_by_maxmin(feature_vector):
23 | """
24 | 归一化处理,使用(0,1)标准化
25 | :param feature_vector: 特征向量
26 | :return: 归一化后的特征向量
27 | """
28 | normalize_feature_vector = []
29 | max_num = max(feature_vector)
30 | min_num = min(feature_vector)
31 | for feature in feature_vector:
32 | normalize_feature_vector.append((feature - min_num) / (max_num - min_num))
33 | return normalize_feature_vector
34 |
--------------------------------------------------------------------------------
/preprocessing/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ZhouM1118/NLPForDiscourseStructures/37d86f732949f917a14741e4aec04574898d79f6/preprocessing/__init__.py
--------------------------------------------------------------------------------
/result/DecisionTreeResult.text:
--------------------------------------------------------------------------------
1 | 0.192488262911
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [ 1 1 1 2 1 1 1 5 1 1 1 2 5 1 1 1 1 1 1 1 1 13 1 5 5
6 | 5 1 5 5 5 1 5 5 5 1 5 5 5 1 1 13 1 1 6 1 1 1 5 1 1
7 | 1 6 1 1 1 1 1 1 1 1 5 1 1 5 1 1 1 1 1 1 1 1 1 1 1
8 | 1 1 1 1 5 1 2 1 1 1 6 1 1 1 6 1 1 1 1 5 1 1 1 2 1
9 | 1 1 1 1 1 1 1 1 1 6 1 1 5 2 1 1 1 1 1 1 1 1 2 1 1
10 | 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
11 | 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1
12 | 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
13 | 1 1 1 1 1 5 1 1 1 1 1 1 1]
14 | test_Y len is 213Y_pred len is 213
15 | [('5-1', 48), ('6-1', 28), ('4-1', 20), ('12-1', 16), ('10-1', 11), ('11-1', 11), ('9-1', 9), ('2-1', 8), ('7-1', 7), ('5-6', 2), ('5-2', 2), ('3-1', 2), ('1-2', 2), ('9-2', 1), ('4-2', 1), ('4-13', 1), ('4-5', 1), ('11-5', 1), ('10-2', 1)]
--------------------------------------------------------------------------------
/result/DecisionTreeResult20171114.text:
--------------------------------------------------------------------------------
1 | 0.37558685446
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [ 4 12 1 2 1 4 4 5 3 4 4 4 5 4 4 4 4 9 9 11 13 13 4 5 5
6 | 5 4 5 5 5 9 5 5 5 9 5 5 5 1 4 13 4 4 6 6 13 13 4 4 3
7 | 9 6 9 13 13 1 2 1 4 4 5 3 4 5 3 8 13 13 9 9 12 13 13 12 2
8 | 1 4 4 3 5 5 3 4 4 4 6 12 12 12 6 8 13 9 10 10 13 13 1 2 1
9 | 4 3 4 4 4 4 6 8 8 6 13 4 5 4 4 4 13 12 8 8 9 9 10 12 13
10 | 11 12 13 1 1 3 3 4 4 4 4 3 4 4 13 3 4 4 4 4 9 9 13 13 13
11 | 13 2 3 3 3 4 6 4 4 4 4 4 4 4 4 3 3 4 4 9 9 9 9 13 1
12 | 2 4 3 12 6 8 13 8 4 4 3 4 3 9 9 10 12 12 12 2 2 2 4 4 4
13 | 8 13 13 13 4 5 4 9 9 13 12 13 13]
14 | test_Y len is 213Y_pred len is 213
15 | [('5-4', 36), ('5-3', 13), ('12-13', 9), ('6-13', 8), ('10-9', 7), ('11-13', 6), ('6-8', 6), ('1-2', 6), ('6-4', 5), ('6-12', 4), ('2-4', 4), ('7-8', 3), ('7-13', 3), ('4-9', 3), ('11-12', 3), ('5-6', 2), ('4-13', 2), ('10-13', 2), ('6-3', 2), ('1-4', 1), ('2-3', 1), ('1-9', 1), ('11-10', 1), ('7-12', 1), ('11-4', 1), ('12-11', 1), ('2-1', 1), ('4-3', 1)]
--------------------------------------------------------------------------------
/result/ExtraTreesCrossValidationResult20171115.text:
--------------------------------------------------------------------------------
1 | 0.888178913738
2 | test_Y:
3 | [13, 7, 5, 13, 2, 6, 6, 1, 2, 1, 12, 1, 5, 5, 4, 7, 12, 4, 5, 6, 6, 10, 10, 11, 6, 4, 4, 7, 5, 4, 6, 6, 12, 6, 5, 1, 6, 6, 5, 6, 5, 5, 13, 6, 5, 12, 6, 4, 1, 10, 5, 4, 6, 11, 1, 4, 5, 10, 5, 11, 7, 6, 5, 6, 5, 11, 6, 5, 1, 10, 4, 13, 1, 5, 11, 5, 10, 7, 6, 13, 4, 13, 6, 7, 2, 9, 3, 11, 1, 1, 10, 2, 4, 1, 6, 9, 6, 1, 10, 2, 1, 5, 5, 5, 5, 2, 5, 4, 1, 4, 2, 4, 5, 1, 9, 2, 9, 1, 7, 6, 7, 6, 10, 6, 6, 5, 1, 1, 13, 1, 4, 12, 11, 1, 5, 9, 12, 7, 5, 12, 12, 12, 12, 5, 10, 6, 6, 10, 4, 7, 5, 7, 1, 10, 9, 5, 6, 1, 10, 5, 7, 5, 6, 5, 9, 4, 9, 6, 1, 12, 11, 5, 6, 4, 5, 10, 12, 10, 10, 1, 5, 13, 5, 6, 12, 5, 4, 2, 7, 5, 12, 9, 6, 6, 6, 6, 4, 5, 6, 6, 4, 4, 8, 13, 13, 5, 5, 1, 5, 6, 6, 1, 5, 6, 6, 1, 5, 5, 11, 13, 5, 6, 6, 6, 2, 5, 5, 4, 9, 10, 7, 10, 6, 6, 1, 1, 12, 4, 5, 12, 10, 6, 6, 5, 12, 1, 4, 7, 7, 12, 5, 6, 2, 5, 13, 10, 5, 2, 13, 2, 1, 5, 7, 6, 12, 13, 1, 5, 5, 13, 10, 5, 9, 2, 13, 5, 10, 4, 6, 6, 7, 7, 6, 12, 4, 5, 4, 6, 9, 6, 3, 6, 7, 1, 11, 6, 1, 5, 5, 10, 5, 6, 6, 2, 2, 9, 1, 7, 2, 13, 9, 5, 6]
4 | Y_pred:
5 | [13 7 5 5 1 6 6 1 2 1 12 1 5 5 5 7 12 4 5 6 5 10 10 11 6
6 | 4 4 5 5 4 6 6 12 6 5 1 6 6 5 6 5 5 13 6 5 5 6 4 1 9
7 | 5 4 6 11 1 5 5 10 5 12 7 6 5 6 5 12 6 5 1 10 1 13 1 5 5
8 | 5 10 7 6 13 4 13 6 7 2 9 3 11 1 1 10 2 5 1 6 9 6 1 10 2
9 | 1 5 5 5 5 2 5 4 1 4 2 4 5 1 9 2 9 1 7 6 7 6 10 6 6
10 | 5 1 1 13 1 4 12 11 1 5 9 12 6 5 12 12 5 12 5 10 6 6 10 4 7
11 | 5 7 1 10 9 5 1 1 10 6 7 5 6 5 9 4 9 6 1 10 11 5 5 4 5
12 | 9 12 10 10 1 5 13 5 6 12 5 5 2 7 5 12 9 6 6 6 6 4 5 6 6
13 | 4 4 7 13 13 5 5 1 5 6 6 2 5 6 6 1 5 6 11 13 5 6 6 6 2
14 | 5 5 4 9 10 7 10 5 6 11 1 12 5 5 11 10 6 6 5 4 1 5 6 7 12
15 | 5 6 2 5 13 10 5 2 13 2 1 5 7 6 12 13 1 5 5 13 10 5 9 2 5
16 | 7 10 4 6 6 7 7 6 12 4 5 4 6 9 6 3 6 7 1 11 6 1 4 5 10
17 | 5 6 6 2 2 9 1 7 2 13 9 5 7]
18 | test_Y len is 313Y_pred len is 313
19 | [('4-5', 6), ('6-5', 3), ('11-12', 2), ('5-6', 2), ('12-5', 2), ('7-6', 2), ('13-5', 2), ('10-9', 2), ('4-1', 1), ('12-10', 1), ('1-2', 1), ('7-5', 1), ('5-4', 1), ('1-11', 1), ('11-5', 1), ('6-7', 1), ('8-7', 1), ('6-1', 1), ('2-1', 1), ('12-4', 1), ('12-11', 1), ('5-7', 1)]
20 | 0.897763578275
21 | test_Y:
22 | [13, 7, 5, 13, 2, 6, 6, 1, 2, 1, 12, 1, 5, 5, 4, 7, 12, 4, 5, 6, 6, 10, 10, 11, 6, 4, 4, 7, 5, 4, 6, 6, 12, 6, 5, 1, 6, 6, 5, 6, 5, 5, 13, 6, 5, 12, 6, 4, 1, 10, 5, 4, 6, 11, 1, 4, 5, 10, 5, 11, 7, 6, 5, 6, 5, 11, 6, 5, 1, 10, 4, 13, 1, 5, 11, 5, 10, 7, 6, 13, 4, 13, 6, 7, 2, 9, 3, 11, 1, 1, 10, 2, 4, 1, 6, 9, 6, 1, 10, 2, 1, 5, 5, 5, 5, 2, 5, 4, 1, 4, 2, 4, 5, 1, 9, 2, 9, 1, 7, 6, 7, 6, 10, 6, 6, 5, 1, 1, 13, 1, 4, 12, 11, 1, 5, 9, 12, 7, 5, 12, 12, 12, 12, 5, 10, 6, 6, 10, 4, 7, 5, 7, 1, 10, 9, 5, 6, 1, 10, 5, 7, 5, 6, 5, 9, 4, 9, 6, 1, 12, 11, 5, 6, 4, 5, 10, 12, 10, 10, 1, 5, 13, 5, 6, 12, 5, 4, 2, 7, 5, 12, 9, 6, 6, 6, 6, 4, 5, 6, 6, 4, 4, 8, 13, 13, 5, 5, 1, 5, 6, 6, 1, 5, 6, 6, 1, 5, 5, 11, 13, 5, 6, 6, 6, 2, 5, 5, 4, 9, 10, 7, 10, 6, 6, 1, 1, 12, 4, 5, 12, 10, 6, 6, 5, 12, 1, 4, 7, 7, 12, 5, 6, 2, 5, 13, 10, 5, 2, 13, 2, 1, 5, 7, 6, 12, 13, 1, 5, 5, 13, 10, 5, 9, 2, 13, 5, 10, 4, 6, 6, 7, 7, 6, 12, 4, 5, 4, 6, 9, 6, 3, 6, 7, 1, 11, 6, 1, 5, 5, 10, 5, 6, 6, 2, 2, 9, 1, 7, 2, 13, 9, 5, 6]
23 | Y_pred:
24 | [13 7 5 13 1 6 6 1 1 1 12 1 5 5 12 7 12 4 5 6 6 10 10 11 6
25 | 4 4 7 5 4 6 6 12 6 5 1 6 6 5 6 5 4 13 6 5 5 6 4 1 10
26 | 5 4 6 11 1 4 5 10 5 11 7 6 5 6 5 12 6 5 1 10 2 13 1 5 13
27 | 5 10 7 6 13 4 13 6 7 1 10 3 11 1 1 10 2 4 1 6 9 6 1 10 2
28 | 1 5 5 5 5 2 5 4 1 4 2 4 5 1 9 2 10 1 5 6 5 6 10 6 6
29 | 5 2 1 13 1 4 10 11 1 5 9 12 7 5 12 12 11 12 5 10 6 6 10 4 7
30 | 5 7 1 10 9 5 2 1 10 5 7 5 6 5 9 4 10 6 1 12 11 5 12 4 5
31 | 10 12 10 10 1 5 13 5 6 12 5 4 2 7 5 12 9 6 6 6 6 4 5 5 6
32 | 4 4 5 13 13 5 5 1 5 6 6 2 5 6 6 1 5 5 11 13 5 6 6 6 2
33 | 5 5 4 9 10 6 10 6 6 10 1 12 4 5 11 10 6 6 5 4 1 4 6 7 12
34 | 5 6 1 5 13 10 5 2 13 2 1 5 7 6 12 13 1 5 5 4 10 5 9 2 6
35 | 7 10 4 6 6 7 7 6 12 4 5 4 6 9 6 3 6 7 1 11 5 1 5 5 10
36 | 5 6 6 2 2 9 1 7 2 13 9 5 6]
37 | test_Y len is 313Y_pred len is 313
38 | [('2-1', 4), ('9-10', 3), ('7-6', 2), ('7-5', 2), ('1-2', 2), ('12-11', 2), ('6-5', 2), ('12-10', 1), ('11-13', 1), ('13-4', 1), ('6-2', 1), ('11-12', 1), ('5-7', 1), ('8-5', 1), ('1-10', 1), ('12-4', 1), ('13-6', 1), ('4-2', 1), ('12-5', 1), ('5-4', 1), ('6-12', 1), ('4-12', 1)]
39 | 0.923322683706
40 | test_Y:
41 | [13, 7, 5, 13, 2, 6, 6, 1, 2, 1, 12, 1, 5, 5, 4, 7, 12, 4, 5, 6, 6, 10, 10, 11, 6, 4, 4, 7, 5, 4, 6, 6, 12, 6, 5, 1, 6, 6, 5, 6, 5, 5, 13, 6, 5, 12, 6, 4, 1, 10, 5, 4, 6, 11, 1, 4, 5, 10, 5, 11, 7, 6, 5, 6, 5, 11, 6, 5, 1, 10, 4, 13, 1, 5, 11, 5, 10, 7, 6, 13, 4, 13, 6, 7, 2, 9, 3, 11, 1, 1, 10, 2, 4, 1, 6, 9, 6, 1, 10, 2, 1, 5, 5, 5, 5, 2, 5, 4, 1, 4, 2, 4, 5, 1, 9, 2, 9, 1, 7, 6, 7, 6, 10, 6, 6, 5, 1, 1, 13, 1, 4, 12, 11, 1, 5, 9, 12, 7, 5, 12, 12, 12, 12, 5, 10, 6, 6, 10, 4, 7, 5, 7, 1, 10, 9, 5, 6, 1, 10, 5, 7, 5, 6, 5, 9, 4, 9, 6, 1, 12, 11, 5, 6, 4, 5, 10, 12, 10, 10, 1, 5, 13, 5, 6, 12, 5, 4, 2, 7, 5, 12, 9, 6, 6, 6, 6, 4, 5, 6, 6, 4, 4, 8, 13, 13, 5, 5, 1, 5, 6, 6, 1, 5, 6, 6, 1, 5, 5, 11, 13, 5, 6, 6, 6, 2, 5, 5, 4, 9, 10, 7, 10, 6, 6, 1, 1, 12, 4, 5, 12, 10, 6, 6, 5, 12, 1, 4, 7, 7, 12, 5, 6, 2, 5, 13, 10, 5, 2, 13, 2, 1, 5, 7, 6, 12, 13, 1, 5, 5, 13, 10, 5, 9, 2, 13, 5, 10, 4, 6, 6, 7, 7, 6, 12, 4, 5, 4, 6, 9, 6, 3, 6, 7, 1, 11, 6, 1, 5, 5, 10, 5, 6, 6, 2, 2, 9, 1, 7, 2, 13, 9, 5, 6]
42 | Y_pred:
43 | [13 7 5 13 1 6 6 1 2 1 12 1 5 5 4 7 10 4 5 6 6 9 10 11 6
44 | 4 4 7 5 4 6 6 12 6 5 1 6 6 5 6 5 5 13 6 5 5 6 4 1 10
45 | 5 4 6 11 1 4 5 10 5 12 7 6 5 6 5 12 6 5 1 12 4 13 1 5 12
46 | 5 10 7 6 13 4 13 6 7 2 9 3 11 1 1 10 2 4 1 6 9 6 1 10 2
47 | 1 5 5 5 5 2 5 4 1 4 2 4 5 1 9 2 9 1 5 6 7 6 10 6 6
48 | 5 1 1 13 1 4 12 11 1 5 9 12 7 5 12 12 11 12 5 10 6 6 10 4 7
49 | 5 7 1 10 9 5 4 1 9 5 7 5 6 5 9 4 9 6 1 10 12 5 5 4 5
50 | 10 12 10 10 1 5 13 5 6 12 5 5 2 7 5 12 9 6 6 6 6 4 5 6 5
51 | 4 4 7 13 13 5 5 1 5 6 6 1 5 6 6 1 5 5 11 13 5 6 6 6 2
52 | 5 5 4 9 10 7 10 6 6 11 1 12 4 5 11 10 6 6 5 7 1 4 7 7 12
53 | 5 6 2 5 13 10 5 2 4 2 1 5 7 6 12 13 1 5 5 13 10 5 9 2 3
54 | 7 10 4 6 6 7 7 6 12 4 5 4 6 9 6 3 6 7 1 11 6 1 5 5 10
55 | 5 6 6 2 2 9 1 7 2 13 9 5 6]
56 | test_Y len is 313Y_pred len is 313
57 | [('11-12', 4), ('12-11', 2), ('12-10', 2), ('10-9', 2), ('6-5', 2), ('12-5', 1), ('10-12', 1), ('5-7', 1), ('8-7', 1), ('13-4', 1), ('12-7', 1), ('6-4', 1), ('1-11', 1), ('4-5', 1), ('2-1', 1), ('7-5', 1), ('13-3', 1)]
58 | 0.894568690096
59 | test_Y:
60 | [13, 7, 5, 13, 2, 6, 6, 1, 2, 1, 12, 1, 5, 5, 4, 7, 12, 4, 5, 6, 6, 10, 10, 11, 6, 4, 4, 7, 5, 4, 6, 6, 12, 6, 5, 1, 6, 6, 5, 6, 5, 5, 13, 6, 5, 12, 6, 4, 1, 10, 5, 4, 6, 11, 1, 4, 5, 10, 5, 11, 7, 6, 5, 6, 5, 11, 6, 5, 1, 10, 4, 13, 1, 5, 11, 5, 10, 7, 6, 13, 4, 13, 6, 7, 2, 9, 3, 11, 1, 1, 10, 2, 4, 1, 6, 9, 6, 1, 10, 2, 1, 5, 5, 5, 5, 2, 5, 4, 1, 4, 2, 4, 5, 1, 9, 2, 9, 1, 7, 6, 7, 6, 10, 6, 6, 5, 1, 1, 13, 1, 4, 12, 11, 1, 5, 9, 12, 7, 5, 12, 12, 12, 12, 5, 10, 6, 6, 10, 4, 7, 5, 7, 1, 10, 9, 5, 6, 1, 10, 5, 7, 5, 6, 5, 9, 4, 9, 6, 1, 12, 11, 5, 6, 4, 5, 10, 12, 10, 10, 1, 5, 13, 5, 6, 12, 5, 4, 2, 7, 5, 12, 9, 6, 6, 6, 6, 4, 5, 6, 6, 4, 4, 8, 13, 13, 5, 5, 1, 5, 6, 6, 1, 5, 6, 6, 1, 5, 5, 11, 13, 5, 6, 6, 6, 2, 5, 5, 4, 9, 10, 7, 10, 6, 6, 1, 1, 12, 4, 5, 12, 10, 6, 6, 5, 12, 1, 4, 7, 7, 12, 5, 6, 2, 5, 13, 10, 5, 2, 13, 2, 1, 5, 7, 6, 12, 13, 1, 5, 5, 13, 10, 5, 9, 2, 13, 5, 10, 4, 6, 6, 7, 7, 6, 12, 4, 5, 4, 6, 9, 6, 3, 6, 7, 1, 11, 6, 1, 5, 5, 10, 5, 6, 6, 2, 2, 9, 1, 7, 2, 13, 9, 5, 6]
61 | Y_pred:
62 | [13 7 5 1 1 5 6 1 2 1 12 1 5 5 4 7 12 4 5 6 5 10 10 11 6
63 | 4 4 7 5 4 6 6 12 6 5 1 6 6 5 6 5 5 13 6 5 12 6 4 1 10
64 | 5 4 6 11 1 4 5 10 5 11 7 6 6 6 5 12 6 5 1 12 3 13 1 5 11
65 | 5 10 7 5 13 4 13 6 7 2 9 3 11 1 1 10 2 4 3 6 9 6 1 10 2
66 | 1 6 5 5 5 2 5 4 1 4 2 4 5 1 9 2 9 1 7 6 7 6 10 6 6
67 | 5 1 1 13 1 4 12 11 1 5 9 12 6 5 12 12 10 12 5 10 6 6 10 4 7
68 | 5 7 1 10 9 5 2 1 10 5 4 5 6 5 9 4 9 6 1 10 11 5 4 4 5
69 | 10 12 10 10 1 5 13 5 6 12 5 5 2 7 5 12 9 5 6 6 6 4 5 5 6
70 | 4 4 7 13 13 5 5 1 4 6 6 1 5 6 6 1 5 5 11 13 5 6 6 6 2
71 | 5 5 4 9 10 5 10 6 6 11 1 12 5 5 11 10 6 6 5 5 1 4 7 7 12
72 | 5 6 2 5 13 10 5 2 4 2 1 6 7 5 12 13 1 5 5 13 10 5 9 2 6
73 | 7 10 4 6 6 7 7 6 12 4 5 4 6 9 6 3 6 7 1 11 6 1 5 4 10
74 | 5 6 6 2 2 9 1 7 2 13 9 5 6]
75 | test_Y len is 313Y_pred len is 313
76 | [('6-5', 6), ('5-6', 3), ('12-10', 2), ('4-5', 2), ('5-4', 2), ('8-7', 1), ('7-5', 1), ('5-7', 1), ('6-2', 1), ('2-1', 1), ('13-6', 1), ('7-4', 1), ('13-4', 1), ('4-3', 1), ('10-12', 1), ('12-5', 1), ('11-12', 1), ('1-3', 1), ('6-4', 1), ('7-6', 1), ('13-1', 1), ('12-11', 1), ('1-11', 1)]
77 |
--------------------------------------------------------------------------------
/result/ExtraTreesCrossValidationResult2017111502.text:
--------------------------------------------------------------------------------
1 | 0.908653846154
2 | test_Y:
3 | [3, 5, 6, 13, 1, 11, 6, 1, 1, 5, 4, 13, 12, 6, 4, 5, 11, 6, 13, 1, 12, 9, 6, 6, 2, 11, 5, 6, 5, 1, 6, 9, 2, 10, 1, 6, 7, 6, 7, 4, 11, 7, 1, 10, 6, 4, 5, 12, 5, 12, 6, 11, 4, 12, 12, 6, 12, 4, 5, 12, 12, 13, 6, 5, 1, 10, 1, 2, 4, 6, 1, 1, 5, 12, 1, 7, 12, 5, 7, 5, 1, 13, 7, 1, 7, 1, 2, 5, 7, 1, 6, 5, 5, 12, 6, 5, 5, 5, 6, 4, 1, 4, 2, 1, 5, 1, 4, 4, 9, 12, 10, 9, 6, 4, 11, 3, 4, 1, 5, 5, 12, 5, 6, 4, 12, 6, 5, 1, 6, 2, 11, 5, 9, 1, 6, 1, 3, 13, 5, 5, 13, 5, 7, 7, 1, 6, 6, 4, 9, 13, 10, 6, 5, 2, 6, 6, 11, 4, 5, 13, 1, 6, 6, 1, 1, 5, 12, 1, 7, 5, 9, 5, 6, 5, 5, 12, 2, 10, 13, 6, 12, 5, 10, 5, 4, 5, 5, 4, 5, 4, 6, 2, 9, 10, 7, 11, 1, 12, 4, 2, 13, 12, 1, 6, 5, 12, 9, 9]
4 | Y_pred:
5 | [ 3 5 6 13 1 11 6 1 1 5 4 13 12 6 4 5 11 6 13 1 12 9 6 6 2
6 | 11 5 6 6 1 6 9 1 10 1 6 7 6 7 4 11 7 1 10 6 4 5 12 5 11
7 | 6 11 5 12 12 6 12 4 5 12 12 13 6 5 1 10 1 2 4 6 1 1 5 12 1
8 | 7 12 5 7 5 1 13 7 1 5 1 1 5 7 1 6 5 5 12 6 5 6 5 6 4
9 | 1 4 1 1 5 1 4 4 9 12 10 9 6 4 11 3 4 1 5 5 12 5 6 4 10
10 | 6 5 13 6 2 11 5 9 1 6 1 3 13 5 5 13 5 6 7 1 6 6 4 9 13
11 | 10 5 5 2 6 6 11 4 5 13 1 6 6 1 1 5 12 1 7 5 9 5 6 5 5
12 | 12 1 10 13 6 12 6 10 12 4 5 5 4 5 4 7 1 9 10 7 11 1 10 4 2
13 | 13 11 1 6 5 12 9 9]
14 | test_Y len is 208Y_pred len is 208
15 | [('2-1', 5), ('5-6', 3), ('12-10', 2), ('12-11', 2), ('7-6', 1), ('6-7', 1), ('1-13', 1), ('6-5', 1), ('4-5', 1), ('5-12', 1), ('7-5', 1)]
16 | **********************step=1**********************
17 | index[0]0.903846153846
18 | index[1]0.908653846154
19 | index[2]0.932692307692
20 | index[3]0.942307692308
21 | index[4]0.956730769231
22 | index[5]0.918269230769
23 | index[6]0.956730769231
24 | index[7]0.932692307692
25 | index[8]0.918269230769
26 | index[9]0.918269230769
27 | 平均准确度:0.928846153846
28 | **********************step=2**********************
29 | index[0]0.918269230769
30 | index[1]0.918269230769
31 | index[2]0.927884615385
32 | index[3]0.913461538462
33 | index[4]0.918269230769
34 | index[5]0.913461538462
35 | index[6]0.9375
36 | index[7]0.923076923077
37 | index[8]0.908653846154
38 | index[9]0.923076923077
39 | 平均准确度:0.920192307692
40 | **********************step=2**********************
41 | index[0]0.927884615385
42 | index[1]0.923076923077
43 | index[2]0.923076923077
44 | index[3]0.889423076923
45 | index[4]0.942307692308
46 | index[5]0.908653846154
47 | index[6]0.932692307692
48 | index[7]0.951923076923
49 | index[8]0.942307692308
50 | index[9]0.923076923077
51 | 平均准确度:0.926442307692
52 | **********************step=2**********************
53 | index[0]0.9375
54 | index[1]0.903846153846
55 | index[2]0.923076923077
56 | index[3]0.923076923077
57 | index[4]0.9375
58 | index[5]0.927884615385
59 | index[6]0.927884615385
60 | index[7]0.918269230769
61 | index[8]0.927884615385
62 | index[9]0.9375
63 | 平均准确度:0.926442307692
64 | **********************step=2**********************
65 | index[0]0.927884615385
66 | index[1]0.903846153846
67 | index[2]0.9375
68 | index[3]0.923076923077
69 | index[4]0.9375
70 | index[5]0.889423076923
71 | index[6]0.932692307692
72 | index[7]0.927884615385
73 | index[8]0.927884615385
74 | index[9]0.923076923077
75 | 平均准确度:0.923076923077
76 | **********************step=3**********************
77 | index[0]0.913461538462
78 | index[1]0.908653846154
79 | index[2]0.899038461538
80 | index[3]0.918269230769
81 | index[4]0.903846153846
82 | index[5]0.932692307692
83 | index[6]0.947115384615
84 | index[7]0.908653846154
85 | index[8]0.899038461538
86 | index[9]0.927884615385
87 | 平均准确度:0.915865384615
88 | **********************step=3**********************
89 | index[0]0.923076923077
90 | index[1]0.947115384615
91 | index[2]0.942307692308
92 | index[3]0.899038461538
93 | index[4]0.947115384615
94 | index[5]0.932692307692
95 | index[6]0.9375
96 | index[7]0.932692307692
97 | index[8]0.908653846154
98 | index[9]0.932692307692
99 | 平均准确度:0.930288461538
100 |
--------------------------------------------------------------------------------
/result/ExtraTreesCrossValidationResult20171116.text:
--------------------------------------------------------------------------------
1 | **********************step=3**********************
2 | index[0]0.927884615385
3 | index[1]0.927884615385
4 | index[2]0.903846153846
5 | index[3]0.908653846154
6 | index[4]0.9375
7 | index[5]0.942307692308
8 | index[6]0.9375
9 | index[7]0.927884615385
10 | index[8]0.927884615385
11 | index[9]0.923076923077
12 | 平均准确度:0.926442307692
13 | **********************step=4**********************
14 | index[0]0.927884615385
15 | index[1]0.947115384615
16 | index[2]0.942307692308
17 | index[3]0.932692307692
18 | index[4]0.918269230769
19 | index[5]0.913461538462
20 | index[6]0.923076923077
21 | index[7]0.908653846154
22 | index[8]0.918269230769
23 | index[9]0.927884615385
24 | 平均准确度:0.925961538462
25 | **********************step=5**********************
26 | index[0]0.942307692308
27 | index[1]0.927884615385
28 | index[2]0.899038461538
29 | index[3]0.923076923077
30 | index[4]0.927884615385
31 | index[5]0.899038461538
32 | index[6]0.932692307692
33 | index[7]0.923076923077
34 | index[8]0.927884615385
35 | index[9]0.932692307692
36 | 平均准确度:0.923557692308
37 | **********************step=6**********************
38 | index[0]0.908653846154
39 | index[1]0.947115384615
40 | index[2]0.932692307692
41 | index[3]0.908653846154
42 | index[4]0.908653846154
43 | index[5]0.918269230769
44 | index[6]0.913461538462
45 | index[7]0.913461538462
46 | index[8]0.942307692308
47 | index[9]0.918269230769
48 | 平均准确度:0.921153846154
49 | **********************step=7**********************
50 | index[0]0.9375
51 | index[1]0.923076923077
52 | index[2]0.913461538462
53 | index[3]0.942307692308
54 | index[4]0.903846153846
55 | index[5]0.923076923077
56 | index[6]0.923076923077
57 | index[7]0.913461538462
58 | index[8]0.903846153846
59 | index[9]0.913461538462
60 | 平均准确度:0.919711538462
61 | **********************step=7**********************
62 | index[0]0.889423076923
63 | index[1]0.918269230769
64 | index[2]0.913461538462
65 | index[3]0.918269230769
66 | index[4]0.9375
67 | index[5]0.947115384615
68 | index[6]0.903846153846
69 | index[7]0.918269230769
70 | index[8]0.884615384615
71 | index[9]0.927884615385
72 | 平均准确度:0.915865384615
73 | **********************step=7.5**********************
74 | index[0]0.889423076923
75 | index[1]0.884615384615
76 | index[2]0.908653846154
77 | index[3]0.908653846154
78 | index[4]0.899038461538
79 | index[5]0.884615384615
80 | index[6]0.918269230769
81 | index[7]0.875
82 | index[8]0.870192307692
83 | index[9]0.879807692308
84 | 平均准确度:0.891826923077
85 | **********************step=7.5**********************
86 | index[0]0.951923076923
87 | index[1]0.903846153846
88 | index[2]0.894230769231
89 | index[3]0.903846153846
90 | index[4]0.875
91 | index[5]0.884615384615
92 | index[6]0.951923076923
93 | index[7]0.875
94 | index[8]0.903846153846
95 | index[9]0.913461538462
96 | 平均准确度:0.905769230769
97 | **********************step=7.5**********************
98 | index[0]0.913461538462
99 | index[1]0.923076923077
100 | index[2]0.908653846154
101 | index[3]0.889423076923
102 | index[4]0.903846153846
103 | index[5]0.894230769231
104 | index[6]0.913461538462
105 | index[7]0.884615384615
106 | index[8]0.879807692308
107 | index[9]0.894230769231
108 | 平均准确度:0.900480769231
109 | **********************step=8**********************
110 | index[0]0.908653846154
111 | index[1]0.894230769231
112 | index[2]0.918269230769
113 | index[3]0.913461538462
114 | index[4]0.879807692308
115 | index[5]0.889423076923
116 | index[6]0.903846153846
117 | index[7]0.903846153846
118 | index[8]0.903846153846
119 | index[9]0.903846153846
120 | 平均准确度:0.901923076923
121 | **********************step=8**********************
122 | index[0]0.908653846154
123 | index[1]0.903846153846
124 | index[2]0.894230769231
125 | index[3]0.899038461538
126 | index[4]0.879807692308
127 | index[5]0.884615384615
128 | index[6]0.9375
129 | index[7]0.879807692308
130 | index[8]0.903846153846
131 | index[9]0.903846153846
132 | 平均准确度:0.899519230769
133 | **********************step=8**********************
134 | index[0]0.923076923077
135 | index[1]0.879807692308
136 | index[2]0.899038461538
137 | index[3]0.918269230769
138 | index[4]0.889423076923
139 | index[5]0.903846153846
140 | index[6]0.923076923077
141 | index[7]0.932692307692
142 | index[8]0.865384615385
143 | index[9]0.899038461538
144 | 平均准确度:0.903365384615
145 | **********************step=8**********************
146 | index[0]0.899038461538
147 | index[1]0.899038461538
148 | index[2]0.932692307692
149 | index[3]0.923076923077
150 | index[4]0.865384615385
151 | index[5]0.894230769231
152 | index[6]0.9375
153 | index[7]0.894230769231
154 | index[8]0.889423076923
155 | index[9]0.879807692308
156 | 平均准确度:0.901442307692
157 | **********************step=8**********************
158 | index[0]0.903846153846
159 | index[1]0.942307692308
160 | index[2]0.913461538462
161 | index[3]0.923076923077
162 | index[4]0.913461538462
163 | index[5]0.903846153846
164 | index[6]0.990384615385
165 | index[7]0.894230769231
166 | index[8]0.855769230769
167 | index[9]0.884615384615
168 | 平均准确度:0.9125
169 | **********************step=8**********************
170 | index[0]0.942307692308
171 | index[1]0.932692307692
172 | index[2]0.913461538462
173 | index[3]0.932692307692
174 | index[4]0.961538461538
175 | index[5]0.855769230769
176 | index[6]0.971153846154
177 | index[7]0.913461538462
178 | index[8]0.884615384615
179 | index[9]0.923076923077
180 | 平均准确度:0.923076923077
181 | **********************step=8**********************
182 | index[0]0.903846153846
183 | index[1]0.855769230769
184 | index[2]0.942307692308
185 | index[3]0.884615384615
186 | index[4]0.942307692308
187 | index[5]0.884615384615
188 | index[6]0.971153846154
189 | index[7]0.903846153846
190 | index[8]0.942307692308
191 | index[9]0.865384615385
192 | 平均准确度:0.909615384615
193 | **********************step=8**********************
194 | index[0]0.942307692308
195 | index[1]0.846153846154
196 | index[2]0.884615384615
197 | index[3]0.903846153846
198 | index[4]0.932692307692
199 | index[5]0.884615384615
200 | index[6]0.961538461538
201 | index[7]0.903846153846
202 | index[8]0.913461538462
203 | index[9]0.875
204 | 平均准确度:0.904807692308
205 |
--------------------------------------------------------------------------------
/result/ExtraTreesCrossValidationResult20171117.text:
--------------------------------------------------------------------------------
1 | **********************step=1**********************
2 | index[0]0.846153846154
3 | index[1]0.875
4 | index[2]0.826923076923
5 | index[3]0.894230769231
6 | index[4]0.923076923077
7 | index[5]0.875
8 | index[6]0.923076923077
9 | index[7]0.826923076923
10 | index[8]0.798076923077
11 | index[9]0.884615384615
12 | 平均准确度:0.867307692308
13 | **********************step=2**********************
14 | index[0]0.875
15 | index[1]0.855769230769
16 | index[2]0.894230769231
17 | index[3]0.875
18 | index[4]0.932692307692
19 | index[5]0.836538461538
20 | index[6]0.875
21 | index[7]0.846153846154
22 | index[8]0.788461538462
23 | index[9]0.846153846154
24 | 平均准确度:0.8625
25 | **********************step=2**********************
26 | index[0]0.865384615385
27 | index[1]0.855769230769
28 | index[2]0.903846153846
29 | index[3]0.884615384615
30 | index[4]0.894230769231
31 | index[5]0.846153846154
32 | index[6]0.932692307692
33 | index[7]0.817307692308
34 | index[8]0.855769230769
35 | index[9]0.855769230769
36 | 平均准确度:0.871153846154
37 | **********************step=8**********************
38 | index[0]0.932692307692
39 | index[1]0.932692307692
40 | index[2]0.951923076923
41 | index[3]0.913461538462
42 | index[4]0.913461538462
43 | index[5]0.884615384615
44 | index[6]0.961538461538
45 | index[7]0.913461538462
46 | index[8]0.923076923077
47 | index[9]0.913461538462
48 | 平均准确度:0.924038461538
49 | **********************step=8**********************
50 | index[0]0.903846153846
51 | index[1]0.903846153846
52 | index[2]0.865384615385
53 | index[3]0.865384615385
54 | index[4]0.923076923077
55 | index[5]0.884615384615
56 | index[6]0.942307692308
57 | index[7]0.865384615385
58 | index[8]0.884615384615
59 | index[9]0.865384615385
60 | 平均准确度:0.890384615385
61 | **********************step=8**********************
62 | index[0]0.932692307692
63 | index[1]0.875
64 | index[2]0.932692307692
65 | index[3]0.932692307692
66 | index[4]0.913461538462
67 | index[5]0.894230769231
68 | index[6]0.961538461538
69 | index[7]0.942307692308
70 | index[8]0.884615384615
71 | index[9]0.884615384615
72 | 平均准确度:0.915384615385
73 | **********************step=10**********************
74 | index[0]0.951923076923
75 | index[1]0.932692307692
76 | index[2]0.951923076923
77 | index[3]0.932692307692
78 | index[4]0.932692307692
79 | index[5]0.913461538462
80 | index[6]0.971153846154
81 | index[7]0.903846153846
82 | index[8]0.875
83 | index[9]0.894230769231
84 | 平均准确度:0.925961538462
85 | **********************step=10**********************
86 | index[0]0.942307692308
87 | index[1]0.932692307692
88 | index[2]0.932692307692
89 | index[3]0.923076923077
90 | index[4]0.932692307692
91 | index[5]0.923076923077
92 | index[6]0.980769230769
93 | index[7]0.903846153846
94 | index[8]0.903846153846
95 | index[9]0.903846153846
96 | 平均准确度:0.927884615385
97 | **********************step=10**********************
98 | index[0]0.951923076923
99 | index[1]0.913461538462
100 | index[2]0.951923076923
101 | index[3]0.923076923077
102 | index[4]0.894230769231
103 | index[5]0.875
104 | index[6]0.980769230769
105 | index[7]0.923076923077
106 | index[8]0.875
107 | index[9]0.923076923077
108 | 平均准确度:0.921153846154
109 | **********************step=10**********************
110 | index[0]0.923076923077
111 | index[1]0.913461538462
112 | index[2]0.884615384615
113 | index[3]0.884615384615
114 | index[4]0.932692307692
115 | index[5]0.894230769231
116 | index[6]0.971153846154
117 | index[7]0.855769230769
118 | index[8]0.865384615385
119 | index[9]0.903846153846
120 | 平均准确度:0.902884615385
121 | **********************step=15**********************
122 | index[0]0.942307692308
123 | index[1]0.942307692308
124 | index[2]0.932692307692
125 | index[3]0.932692307692
126 | index[4]0.923076923077
127 | index[5]0.894230769231
128 | index[6]0.961538461538
129 | index[7]0.903846153846
130 | index[8]0.884615384615
131 | index[9]0.894230769231
132 | 平均准确度:0.921153846154
133 | **********************step=20**********************
134 | index[0]0.923076923077
135 | index[1]0.923076923077
136 | index[2]0.932692307692
137 | index[3]0.923076923077
138 | index[4]0.923076923077
139 | index[5]0.923076923077
140 | index[6]0.990384615385
141 | index[7]0.923076923077
142 | index[8]0.894230769231
143 | index[9]0.903846153846
144 | 平均准确度:0.925961538462
145 | **********************step=25**********************
146 | index[0]0.942307692308
147 | index[1]0.913461538462
148 | index[2]0.923076923077
149 | index[3]0.923076923077
150 | index[4]0.942307692308
151 | index[5]0.923076923077
152 | index[6]0.990384615385
153 | index[7]0.913461538462
154 | index[8]0.942307692308
155 | index[9]0.894230769231
156 | 平均准确度:0.930769230769
157 | **********************step=30**********************
158 | index[0]0.942307692308
159 | index[1]0.951923076923
160 | index[2]0.942307692308
161 | index[3]0.942307692308
162 | index[4]0.913461538462
163 | index[5]0.913461538462
164 | index[6]0.990384615385
165 | index[7]0.923076923077
166 | index[8]0.903846153846
167 | index[9]0.923076923077
168 | 平均准确度:0.934615384615
169 | **********************step=35**********************
170 | index[0]0.980769230769
171 | index[1]0.932692307692
172 | index[2]0.932692307692
173 | index[3]0.942307692308
174 | index[4]0.923076923077
175 | index[5]0.894230769231
176 | index[6]0.961538461538
177 | index[7]0.903846153846
178 | index[8]0.932692307692
179 | index[9]0.923076923077
180 | 平均准确度:0.932692307692
181 | **********************step=40**********************
182 | index[0]0.951923076923
183 | index[1]0.923076923077
184 | index[2]0.951923076923
185 | index[3]0.951923076923
186 | index[4]0.951923076923
187 | index[5]0.894230769231
188 | index[6]1.0
189 | index[7]0.932692307692
190 | index[8]0.894230769231
191 | index[9]0.932692307692
192 | 平均准确度:0.938461538462
193 | **********************step=45**********************
194 | index[0]0.971153846154
195 | index[1]0.942307692308
196 | index[2]0.942307692308
197 | index[3]0.942307692308
198 | index[4]0.942307692308
199 | index[5]0.932692307692
200 | index[6]0.980769230769
201 | index[7]0.942307692308
202 | index[8]0.932692307692
203 | index[9]0.913461538462
204 | 平均准确度:0.944230769231
205 | **********************step=50**********************
206 | index[0]0.961538461538
207 | index[1]0.951923076923
208 | index[2]0.951923076923
209 | index[3]0.942307692308
210 | index[4]0.951923076923
211 | index[5]0.932692307692
212 | index[6]0.990384615385
213 | index[7]0.932692307692
214 | index[8]0.923076923077
215 | index[9]0.932692307692
216 | 平均准确度:0.947115384615
217 | **********************step=55**********************
218 | index[0]0.980769230769
219 | index[1]0.932692307692
220 | index[2]0.961538461538
221 | index[3]0.913461538462
222 | index[4]0.951923076923
223 | index[5]0.923076923077
224 | index[6]0.990384615385
225 | index[7]0.942307692308
226 | index[8]0.942307692308
227 | index[9]0.923076923077
228 | 平均准确度:0.946153846154
229 | **********************step=60**********************
230 | index[0]0.961538461538
231 | index[1]0.951923076923
232 | index[2]0.942307692308
233 | index[3]0.923076923077
234 | index[4]0.942307692308
235 | index[5]0.932692307692
236 | index[6]1.0
237 | index[7]0.942307692308
238 | index[8]0.932692307692
239 | index[9]0.923076923077
240 | 平均准确度:0.945192307692
241 | **********************step=65**********************
242 | index[0]0.971153846154
243 | index[1]0.951923076923
244 | index[2]0.951923076923
245 | index[3]0.951923076923
246 | index[4]0.942307692308
247 | index[5]0.923076923077
248 | index[6]0.990384615385
249 | index[7]0.923076923077
250 | index[8]0.884615384615
251 | index[9]0.942307692308
252 | 平均准确度:0.943269230769
253 | **********************step=70**********************
254 | index[0]0.961538461538
255 | index[1]0.932692307692
256 | index[2]0.942307692308
257 | index[3]0.951923076923
258 | index[4]0.942307692308
259 | index[5]0.913461538462
260 | index[6]0.980769230769
261 | index[7]0.942307692308
262 | index[8]0.903846153846
263 | index[9]0.932692307692
264 | 平均准确度:0.940384615385
265 | **********************step=75**********************
266 | index[0]0.971153846154
267 | index[1]0.951923076923
268 | index[2]0.951923076923
269 | index[3]0.951923076923
270 | index[4]0.951923076923
271 | index[5]0.942307692308
272 | index[6]1.0
273 | index[7]0.951923076923
274 | index[8]0.932692307692
275 | index[9]0.923076923077
276 | 平均准确度:0.952884615385
277 | **********************step=80**********************
278 | index[0]0.942307692308
279 | index[1]0.942307692308
280 | index[2]0.951923076923
281 | index[3]0.951923076923
282 | index[4]0.932692307692
283 | index[5]0.913461538462
284 | index[6]1.0
285 | index[7]0.913461538462
286 | index[8]0.913461538462
287 | index[9]0.932692307692
288 | 平均准确度:0.939423076923
289 | **********************step=85**********************
290 | index[0]0.990384615385
291 | index[1]0.932692307692
292 | index[2]0.951923076923
293 | index[3]0.932692307692
294 | index[4]0.942307692308
295 | index[5]0.923076923077
296 | index[6]0.990384615385
297 | index[7]0.951923076923
298 | index[8]0.932692307692
299 | index[9]0.913461538462
300 | 平均准确度:0.946153846154
301 | **********************step=90**********************
302 | index[0]0.980769230769
303 | index[1]0.942307692308
304 | index[2]0.961538461538
305 | index[3]0.932692307692
306 | index[4]0.932692307692
307 | index[5]0.942307692308
308 | index[6]1.0
309 | index[7]0.932692307692
310 | index[8]0.942307692308
311 | index[9]0.913461538462
312 | 平均准确度:0.948076923077
313 | **********************step=95**********************
314 | index[0]0.961538461538
315 | index[1]0.961538461538
316 | index[2]0.951923076923
317 | index[3]0.951923076923
318 | index[4]0.932692307692
319 | index[5]0.913461538462
320 | index[6]1.0
321 | index[7]0.942307692308
322 | index[8]0.942307692308
323 | index[9]0.913461538462
324 | 平均准确度:0.947115384615
325 | **********************step=100**********************
326 | index[0]0.971153846154
327 | index[1]0.961538461538
328 | index[2]0.951923076923
329 | index[3]0.932692307692
330 | index[4]0.951923076923
331 | index[5]0.923076923077
332 | index[6]0.990384615385
333 | index[7]0.913461538462
334 | index[8]0.923076923077
335 | index[9]0.942307692308
336 | 平均准确度:0.946153846154
337 |
--------------------------------------------------------------------------------
/result/ExtraTreesCrossValidationResult20171120.text:
--------------------------------------------------------------------------------
1 | **********************step=60**********************
2 | index[0]0.961538461538
3 | index[1]0.932692307692
4 | index[2]0.951923076923
5 | index[3]0.942307692308
6 | index[4]0.942307692308
7 | index[5]0.894230769231
8 | index[6]1.0
9 | index[7]0.932692307692
10 | index[8]0.942307692308
11 | index[9]0.903846153846
12 | 平均准确度:0.940384615385
13 | **********************step=60**********************
14 | index[0]0.92
15 | index[1]0.952
16 | index[2]0.952
17 | index[3]0.944
18 | index[4]0.904
19 | index[5]0.936
20 | index[6]0.96
21 | index[7]0.928
22 | index[8]0.952
23 | index[9]0.968
24 | 平均准确度:0.9416
25 | **********************step=60**********************
26 | index[0]0.920731707317
27 | index[1]0.926829268293
28 | index[2]0.926829268293
29 | index[3]0.957317073171
30 | index[4]0.939024390244
31 | index[5]0.914634146341
32 | index[6]0.926829268293
33 | index[7]0.969512195122
34 | index[8]0.957317073171
35 | index[9]0.963414634146
36 | 平均准确度:0.940243902439
37 | **********************step=60**********************
38 | index[0]0.951219512195
39 | index[1]0.914634146341
40 | index[2]0.920731707317
41 | index[3]0.94512195122
42 | index[4]0.939024390244
43 | index[5]0.896341463415
44 | index[6]0.914634146341
45 | index[7]0.963414634146
46 | index[8]0.969512195122
47 | index[9]0.981707317073
48 | 平均准确度:0.939634146341
49 | **********************step=10**********************
50 | index[0]0.935135135135
51 | index[1]0.902702702703
52 | index[2]0.935135135135
53 | index[3]0.951351351351
54 | index[4]0.913513513514
55 | index[5]0.935135135135
56 | index[6]0.92972972973
57 | index[7]0.935135135135
58 | index[8]0.92972972973
59 | index[9]0.972972972973
60 | 平均准确度:0.934054054054
61 | **********************step=15**********************
62 | index[0]0.951351351351
63 | index[1]0.92972972973
64 | index[2]0.940540540541
65 | index[3]0.956756756757
66 | index[4]0.908108108108
67 | index[5]0.951351351351
68 | index[6]0.935135135135
69 | index[7]0.918918918919
70 | index[8]0.940540540541
71 | index[9]0.962162162162
72 | 平均准确度:0.939459459459
73 | **********************step=20**********************
74 | index[0]0.945945945946
75 | index[1]0.924324324324
76 | index[2]0.956756756757
77 | index[3]0.967567567568
78 | index[4]0.891891891892
79 | index[5]0.945945945946
80 | index[6]0.918918918919
81 | index[7]0.935135135135
82 | index[8]0.967567567568
83 | index[9]0.972972972973
84 | 平均准确度:0.942702702703
85 | **********************step=25**********************
86 | index[0]0.935135135135
87 | index[1]0.967567567568
88 | index[2]0.962162162162
89 | index[3]0.956756756757
90 | index[4]0.935135135135
91 | index[5]0.978378378378
92 | index[6]0.940540540541
93 | index[7]0.951351351351
94 | index[8]0.951351351351
95 | index[9]0.989189189189
96 | 平均准确度:0.956756756757
97 | **********************step=30**********************
98 | index[0]0.956756756757
99 | index[1]0.935135135135
100 | index[2]0.940540540541
101 | index[3]0.967567567568
102 | index[4]0.918918918919
103 | index[5]0.940540540541
104 | index[6]0.945945945946
105 | index[7]0.956756756757
106 | index[8]0.956756756757
107 | index[9]0.967567567568
108 | 平均准确度:0.948648648649
109 | **********************step=35**********************
110 | index[0]0.951351351351
111 | index[1]0.945945945946
112 | index[2]0.956756756757
113 | index[3]0.967567567568
114 | index[4]0.908108108108
115 | index[5]0.951351351351
116 | index[6]0.978378378378
117 | index[7]0.951351351351
118 | index[8]0.951351351351
119 | index[9]0.989189189189
120 | 平均准确度:0.955135135135
121 | **********************step=40**********************
122 | index[0]0.956756756757
123 | index[1]0.962162162162
124 | index[2]0.967567567568
125 | index[3]0.962162162162
126 | index[4]0.924324324324
127 | index[5]0.945945945946
128 | index[6]0.956756756757
129 | index[7]0.951351351351
130 | index[8]0.956756756757
131 | index[9]0.972972972973
132 | 平均准确度:0.955675675676
133 | **********************step=45**********************
134 | index[0]0.962162162162
135 | index[1]0.940540540541
136 | index[2]0.956756756757
137 | index[3]0.972972972973
138 | index[4]0.92972972973
139 | index[5]0.978378378378
140 | index[6]0.978378378378
141 | index[7]0.940540540541
142 | index[8]0.956756756757
143 | index[9]0.972972972973
144 | 平均准确度:0.958918918919
145 | **********************step=50**********************
146 | index[0]0.967567567568
147 | index[1]0.945945945946
148 | index[2]0.962162162162
149 | index[3]0.978378378378
150 | index[4]0.935135135135
151 | index[5]0.951351351351
152 | index[6]0.940540540541
153 | index[7]0.956756756757
154 | index[8]0.956756756757
155 | index[9]0.978378378378
156 | 平均准确度:0.957297297297
157 | **********************step=55**********************
158 | index[0]0.972972972973
159 | index[1]0.940540540541
160 | index[2]0.951351351351
161 | index[3]0.972972972973
162 | index[4]0.951351351351
163 | index[5]0.962162162162
164 | index[6]0.962162162162
165 | index[7]0.951351351351
166 | index[8]0.967567567568
167 | index[9]0.983783783784
168 | 平均准确度:0.961621621622
169 | **********************step=60**********************
170 | index[0]0.978378378378
171 | index[1]0.956756756757
172 | index[2]0.967567567568
173 | index[3]0.972972972973
174 | index[4]0.92972972973
175 | index[5]0.962162162162
176 | index[6]0.978378378378
177 | index[7]0.967567567568
178 | index[8]0.956756756757
179 | index[9]0.978378378378
180 | 平均准确度:0.964864864865
181 | **********************step=65**********************
182 | index[0]0.967567567568
183 | index[1]0.940540540541
184 | index[2]0.951351351351
185 | index[3]0.967567567568
186 | index[4]0.92972972973
187 | index[5]0.962162162162
188 | index[6]0.967567567568
189 | index[7]0.945945945946
190 | index[8]0.956756756757
191 | index[9]0.983783783784
192 | 平均准确度:0.957297297297
193 | **********************step=70**********************
194 | index[0]0.967567567568
195 | index[1]0.940540540541
196 | index[2]0.945945945946
197 | index[3]0.962162162162
198 | index[4]0.92972972973
199 | index[5]0.972972972973
200 | index[6]0.956756756757
201 | index[7]0.951351351351
202 | index[8]0.967567567568
203 | index[9]0.983783783784
204 | 平均准确度:0.957837837838
205 | **********************step=75**********************
206 | index[0]0.972972972973
207 | index[1]0.945945945946
208 | index[2]0.962162162162
209 | index[3]0.972972972973
210 | index[4]0.92972972973
211 | index[5]0.972972972973
212 | index[6]0.962162162162
213 | index[7]0.951351351351
214 | index[8]0.956756756757
215 | index[9]0.983783783784
216 | 平均准确度:0.961081081081
217 | **********************step=80**********************
218 | index[0]0.956756756757
219 | index[1]0.951351351351
220 | index[2]0.945945945946
221 | index[3]0.967567567568
222 | index[4]0.913513513514
223 | index[5]0.967567567568
224 | index[6]0.956756756757
225 | index[7]0.945945945946
226 | index[8]0.967567567568
227 | index[9]0.989189189189
228 | 平均准确度:0.956216216216
229 | **********************step=85**********************
230 | index[0]0.978378378378
231 | index[1]0.962162162162
232 | index[2]0.962162162162
233 | index[3]0.978378378378
234 | index[4]0.945945945946
235 | index[5]0.967567567568
236 | index[6]0.967567567568
237 | index[7]0.956756756757
238 | index[8]0.962162162162
239 | index[9]0.983783783784
240 | 平均准确度:0.966486486486
241 | **********************step=90**********************
242 | index[0]0.967567567568
243 | index[1]0.962162162162
244 | index[2]0.951351351351
245 | index[3]0.967567567568
246 | index[4]0.935135135135
247 | index[5]0.967567567568
248 | index[6]0.956756756757
249 | index[7]0.956756756757
250 | index[8]0.967567567568
251 | index[9]0.983783783784
252 | 平均准确度:0.961621621622
253 | **********************step=95**********************
254 | index[0]0.967567567568
255 | index[1]0.962162162162
256 | index[2]0.962162162162
257 | index[3]0.978378378378
258 | index[4]0.92972972973
259 | index[5]0.962162162162
260 | index[6]0.940540540541
261 | index[7]0.940540540541
262 | index[8]0.967567567568
263 | index[9]0.989189189189
264 | 平均准确度:0.96
265 | **********************step=100**********************
266 | index[0]0.956756756757
267 | index[1]0.962162162162
268 | index[2]0.967567567568
269 | index[3]0.978378378378
270 | index[4]0.924324324324
271 | index[5]0.967567567568
272 | index[6]0.972972972973
273 | index[7]0.962162162162
274 | index[8]0.956756756757
275 | index[9]0.989189189189
276 | 平均准确度:0.963783783784
277 |
--------------------------------------------------------------------------------
/result/ExtraTreesCrossValidationResult20171121.text:
--------------------------------------------------------------------------------
1 | add 30
2 | **********************step=10**********************
3 | index[0]0.924324324324
4 | index[1]0.913513513514
5 | index[2]0.918918918919
6 | index[3]0.951351351351
7 | index[4]0.875675675676
8 | index[5]0.945945945946
9 | index[6]0.924324324324
10 | index[7]0.918918918919
11 | index[8]0.924324324324
12 | index[9]0.945945945946
13 | 平均准确度:0.924324324324
14 | **********************step=15**********************
15 | index[0]0.951351351351
16 | index[1]0.92972972973
17 | index[2]0.924324324324
18 | index[3]0.940540540541
19 | index[4]0.918918918919
20 | index[5]0.951351351351
21 | index[6]0.940540540541
22 | index[7]0.908108108108
23 | index[8]0.951351351351
24 | index[9]0.962162162162
25 | 平均准确度:0.937837837838
26 | **********************step=20**********************
27 | index[0]0.945945945946
28 | index[1]0.92972972973
29 | index[2]0.962162162162
30 | index[3]0.956756756757
31 | index[4]0.902702702703
32 | index[5]0.940540540541
33 | index[6]0.956756756757
34 | index[7]0.945945945946
35 | index[8]0.951351351351
36 | index[9]0.978378378378
37 | 平均准确度:0.947027027027
38 | **********************step=25**********************
39 | index[0]0.962162162162
40 | index[1]0.940540540541
41 | index[2]0.945945945946
42 | index[3]0.967567567568
43 | index[4]0.918918918919
44 | index[5]0.962162162162
45 | index[6]0.92972972973
46 | index[7]0.940540540541
47 | index[8]0.940540540541
48 | index[9]0.972972972973
49 | 平均准确度:0.948108108108
50 | **********************step=30**********************
51 | index[0]0.962162162162
52 | index[1]0.935135135135
53 | index[2]0.951351351351
54 | index[3]0.972972972973
55 | index[4]0.935135135135
56 | index[5]0.956756756757
57 | index[6]0.945945945946
58 | index[7]0.945945945946
59 | index[8]0.945945945946
60 | index[9]0.983783783784
61 | 平均准确度:0.953513513514
62 | **********************step=35**********************
63 | index[0]0.956756756757
64 | index[1]0.951351351351
65 | index[2]0.951351351351
66 | index[3]0.967567567568
67 | index[4]0.92972972973
68 | index[5]0.951351351351
69 | index[6]0.956756756757
70 | index[7]0.918918918919
71 | index[8]0.956756756757
72 | index[9]0.989189189189
73 | 平均准确度:0.952972972973
74 | **********************step=40**********************
75 | index[0]0.962162162162
76 | index[1]0.940540540541
77 | index[2]0.945945945946
78 | index[3]0.967567567568
79 | index[4]0.92972972973
80 | index[5]0.962162162162
81 | index[6]0.940540540541
82 | index[7]0.951351351351
83 | index[8]0.956756756757
84 | index[9]0.989189189189
85 | 平均准确度:0.954594594595
86 | **********************step=45**********************
87 | index[0]0.951351351351
88 | index[1]0.945945945946
89 | index[2]0.940540540541
90 | index[3]0.972972972973
91 | index[4]0.908108108108
92 | index[5]0.962162162162
93 | index[6]0.967567567568
94 | index[7]0.967567567568
95 | index[8]0.951351351351
96 | index[9]0.978378378378
97 | 平均准确度:0.954594594595
98 | **********************step=50**********************
99 | index[0]0.967567567568
100 | index[1]0.951351351351
101 | index[2]0.967567567568
102 | index[3]0.962162162162
103 | index[4]0.935135135135
104 | index[5]0.962162162162
105 | index[6]0.956756756757
106 | index[7]0.951351351351
107 | index[8]0.956756756757
108 | index[9]0.983783783784
109 | 平均准确度:0.959459459459
110 | **********************step=55**********************
111 | index[0]0.962162162162
112 | index[1]0.962162162162
113 | index[2]0.956756756757
114 | index[3]0.967567567568
115 | index[4]0.92972972973
116 | index[5]0.945945945946
117 | index[6]0.945945945946
118 | index[7]0.940540540541
119 | index[8]0.940540540541
120 | index[9]0.983783783784
121 | 平均准确度:0.953513513514
122 | **********************step=60**********************
123 | index[0]0.962162162162
124 | index[1]0.956756756757
125 | index[2]0.956756756757
126 | index[3]0.978378378378
127 | index[4]0.924324324324
128 | index[5]0.962162162162
129 | index[6]0.951351351351
130 | index[7]0.951351351351
131 | index[8]0.962162162162
132 | index[9]0.989189189189
133 | 平均准确度:0.959459459459
134 | **********************step=65**********************
135 | index[0]0.956756756757
136 | index[1]0.951351351351
137 | index[2]0.967567567568
138 | index[3]0.962162162162
139 | index[4]0.924324324324
140 | index[5]0.956756756757
141 | index[6]0.956756756757
142 | index[7]0.945945945946
143 | index[8]0.962162162162
144 | index[9]0.983783783784
145 | 平均准确度:0.956756756757
146 | **********************step=70**********************
147 | index[0]0.978378378378
148 | index[1]0.940540540541
149 | index[2]0.962162162162
150 | index[3]0.978378378378
151 | index[4]0.918918918919
152 | index[5]0.962162162162
153 | index[6]0.956756756757
154 | index[7]0.951351351351
155 | index[8]0.956756756757
156 | index[9]0.994594594595
157 | 平均准确度:0.96
158 | **********************step=75**********************
159 | index[0]0.972972972973
160 | index[1]0.951351351351
161 | index[2]0.956756756757
162 | index[3]0.978378378378
163 | index[4]0.951351351351
164 | index[5]0.967567567568
165 | index[6]0.962162162162
166 | index[7]0.951351351351
167 | index[8]0.972972972973
168 | index[9]0.983783783784
169 | 平均准确度:0.964864864865
170 | **********************step=80**********************
171 | index[0]0.956756756757
172 | index[1]0.972972972973
173 | index[2]0.962162162162
174 | index[3]0.972972972973
175 | index[4]0.945945945946
176 | index[5]0.978378378378
177 | index[6]0.978378378378
178 | index[7]0.951351351351
179 | index[8]0.967567567568
180 | index[9]0.989189189189
181 | 平均准确度:0.967567567568
182 | **********************step=85**********************
183 | index[0]0.956756756757
184 | index[1]0.956756756757
185 | index[2]0.962162162162
186 | index[3]0.967567567568
187 | index[4]0.92972972973
188 | index[5]0.956756756757
189 | index[6]0.967567567568
190 | index[7]0.956756756757
191 | index[8]0.956756756757
192 | index[9]0.983783783784
193 | 平均准确度:0.959459459459
194 | **********************step=90**********************
195 | index[0]0.967567567568
196 | index[1]0.956756756757
197 | index[2]0.956756756757
198 | index[3]0.978378378378
199 | index[4]0.92972972973
200 | index[5]0.962162162162
201 | index[6]0.962162162162
202 | index[7]0.956756756757
203 | index[8]0.956756756757
204 | index[9]0.983783783784
205 | 平均准确度:0.961081081081
206 | **********************step=95**********************
207 | index[0]0.967567567568
208 | index[1]0.951351351351
209 | index[2]0.967567567568
210 | index[3]0.972972972973
211 | index[4]0.908108108108
212 | index[5]0.956756756757
213 | index[6]0.951351351351
214 | index[7]0.956756756757
215 | index[8]0.962162162162
216 | index[9]0.989189189189
217 | 平均准确度:0.958378378378
218 | **********************step=100**********************
219 | index[0]0.967567567568
220 | index[1]0.940540540541
221 | index[2]0.956756756757
222 | index[3]0.972972972973
223 | index[4]0.918918918919
224 | index[5]0.967567567568
225 | index[6]0.962162162162
226 | index[7]0.945945945946
227 | index[8]0.945945945946
228 | index[9]0.983783783784
229 | 平均准确度:0.956216216216
230 |
231 | 第一批数据作为训练集
232 | **********************step=10**********************
233 | index[0]0.904
234 | index[1]0.872
235 | index[2]0.928
236 | index[3]0.904
237 | index[4]0.864
238 | index[5]0.888
239 | index[6]0.944
240 | index[7]0.88
241 | index[8]0.92
242 | index[9]0.984
243 | 平均准确度:0.9088
244 | **********************step=15**********************
245 | index[0]0.928
246 | index[1]0.92
247 | index[2]0.96
248 | index[3]0.88
249 | index[4]0.928
250 | index[5]0.912
251 | index[6]0.92
252 | index[7]0.92
253 | index[8]0.936
254 | index[9]0.968
255 | 平均准确度:0.9272
256 | **********************step=20**********************
257 | index[0]0.912
258 | index[1]0.936
259 | index[2]0.952
260 | index[3]0.928
261 | index[4]0.944
262 | index[5]0.936
263 | index[6]0.944
264 | index[7]0.936
265 | index[8]0.936
266 | index[9]0.952
267 | 平均准确度:0.9376
268 | **********************step=25**********************
269 | index[0]0.944
270 | index[1]0.912
271 | index[2]0.952
272 | index[3]0.928
273 | index[4]0.968
274 | index[5]0.912
275 | index[6]0.944
276 | index[7]0.936
277 | index[8]0.968
278 | index[9]0.96
279 | 平均准确度:0.9424
280 | **********************step=30**********************
281 | index[0]0.912
282 | index[1]0.936
283 | index[2]0.944
284 | index[3]0.928
285 | index[4]0.96
286 | index[5]0.944
287 | index[6]0.944
288 | index[7]0.944
289 | index[8]0.936
290 | index[9]0.984
291 | 平均准确度:0.9432
292 | **********************step=35**********************
293 | index[0]0.928
294 | index[1]0.936
295 | index[2]0.96
296 | index[3]0.944
297 | index[4]0.944
298 | index[5]0.952
299 | index[6]0.952
300 | index[7]0.912
301 | index[8]0.936
302 | index[9]0.976
303 | 平均准确度:0.944
304 | **********************step=40**********************
305 | index[0]0.928
306 | index[1]0.944
307 | index[2]0.952
308 | index[3]0.944
309 | index[4]0.944
310 | index[5]0.944
311 | index[6]0.936
312 | index[7]0.928
313 | index[8]0.928
314 | index[9]0.96
315 | 平均准确度:0.9408
316 | **********************step=45**********************
317 | index[0]0.904
318 | index[1]0.928
319 | index[2]0.952
320 | index[3]0.928
321 | index[4]0.976
322 | index[5]0.952
323 | index[6]0.952
324 | index[7]0.944
325 | index[8]0.944
326 | index[9]0.968
327 | 平均准确度:0.9448
328 | **********************step=50**********************
329 | index[0]0.896
330 | index[1]0.912
331 | index[2]0.952
332 | index[3]0.944
333 | index[4]0.968
334 | index[5]0.96
335 | index[6]0.968
336 | index[7]0.944
337 | index[8]0.952
338 | index[9]0.968
339 | 平均准确度:0.9464
340 | **********************step=55**********************
341 | index[0]0.944
342 | index[1]0.952
343 | index[2]0.976
344 | index[3]0.928
345 | index[4]0.968
346 | index[5]0.952
347 | index[6]0.944
348 | index[7]0.936
349 | index[8]0.952
350 | index[9]0.976
351 | 平均准确度:0.9528
352 | **********************step=60**********************
353 | index[0]0.928
354 | index[1]0.936
355 | index[2]0.96
356 | index[3]0.92
357 | index[4]0.944
358 | index[5]0.928
359 | index[6]0.96
360 | index[7]0.944
361 | index[8]0.96
362 | index[9]0.968
363 | 平均准确度:0.9448
364 | **********************step=65**********************
365 | index[0]0.936
366 | index[1]0.944
367 | index[2]0.96
368 | index[3]0.944
369 | index[4]0.968
370 | index[5]0.936
371 | index[6]0.96
372 | index[7]0.936
373 | index[8]0.976
374 | index[9]0.968
375 | 平均准确度:0.9528
376 | **********************step=70**********************
377 | index[0]0.912
378 | index[1]0.952
379 | index[2]0.952
380 | index[3]0.952
381 | index[4]0.96
382 | index[5]0.936
383 | index[6]0.968
384 | index[7]0.944
385 | index[8]0.96
386 | index[9]0.976
387 | 平均准确度:0.9512
388 | **********************step=75**********************
389 | index[0]0.92
390 | index[1]0.928
391 | index[2]0.952
392 | index[3]0.952
393 | index[4]0.96
394 | index[5]0.952
395 | index[6]0.952
396 | index[7]0.928
397 | index[8]0.936
398 | index[9]0.976
399 | 平均准确度:0.9456
400 | **********************step=80**********************
401 | index[0]0.944
402 | index[1]0.936
403 | index[2]0.96
404 | index[3]0.952
405 | index[4]0.944
406 | index[5]0.944
407 | index[6]0.96
408 | index[7]0.944
409 | index[8]0.952
410 | index[9]0.976
411 | 平均准确度:0.9512
412 | **********************step=85**********************
413 | index[0]0.936
414 | index[1]0.944
415 | index[2]0.952
416 | index[3]0.96
417 | index[4]0.952
418 | index[5]0.952
419 | index[6]0.968
420 | index[7]0.936
421 | index[8]0.944
422 | index[9]0.976
423 | 平均准确度:0.952
424 | **********************step=90**********************
425 | index[0]0.928
426 | index[1]0.92
427 | index[2]0.96
428 | index[3]0.96
429 | index[4]0.968
430 | index[5]0.944
431 | index[6]0.96
432 | index[7]0.944
433 | index[8]0.944
434 | index[9]0.96
435 | 平均准确度:0.9488
436 | **********************step=95**********************
437 | index[0]0.968
438 | index[1]0.944
439 | index[2]0.96
440 | index[3]0.952
441 | index[4]0.952
442 | index[5]0.952
443 | index[6]0.968
444 | index[7]0.952
445 | index[8]0.96
446 | index[9]0.976
447 | 平均准确度:0.9584
448 | **********************step=100**********************
449 | index[0]0.936
450 | index[1]0.928
451 | index[2]0.96
452 | index[3]0.936
453 | index[4]0.976
454 | index[5]0.944
455 | index[6]0.968
456 | index[7]0.928
457 | index[8]0.96
458 | index[9]0.968
459 | 平均准确度:0.9504
460 |
--------------------------------------------------------------------------------
/result/ExtraTreesPredictResult2017111501.text:
--------------------------------------------------------------------------------
1 | 0.713615023474
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [11 12 1 1 1 3 4 5 5 5 6 4 5 5 5 6 5 9 10 12 11 13 4 5 5
6 | 5 4 5 5 5 10 10 10 10 12 12 9 11 1 2 4 5 5 5 6 4 6 4 5 5
7 | 10 6 11 11 11 1 1 1 2 4 5 6 4 5 6 6 6 4 9 10 12 12 11 11 1
8 | 1 2 4 5 5 5 5 6 4 6 6 6 6 6 6 6 7 9 10 12 11 11 1 1 1
9 | 2 1 4 5 4 6 6 5 6 6 7 4 5 5 5 6 6 6 7 7 9 10 10 12 12
10 | 11 11 12 1 1 2 3 4 5 5 5 6 5 5 5 5 5 5 4 5 9 10 10 12 11
11 | 11 1 1 2 2 3 2 4 5 5 6 5 5 5 5 5 5 5 5 10 10 9 12 11 1
12 | 2 4 6 4 6 5 6 6 4 4 5 5 5 9 10 12 12 11 12 1 2 2 4 5 5
13 | 5 6 7 6 4 5 5 10 10 10 12 11 11]
14 | test_Y len is 213Y_pred len is 213
15 | [('5-6', 7), ('12-11', 6), ('6-5', 6), ('5-4', 4), ('7-6', 3), ('5-10', 3), ('9-10', 3), ('5-2', 3), ('4-5', 2), ('6-7', 2), ('10-12', 2), ('2-1', 2), ('6-4', 2), ('1-2', 2), ('4-10', 2), ('11-12', 2), ('5-11', 1), ('7-4', 1), ('4-12', 1), ('5-3', 1), ('3-1', 1), ('4-1', 1), ('5-9', 1), ('2-3', 1), ('5-12', 1), ('1-11', 1)]
16 |
--------------------------------------------------------------------------------
/result/ExtraTreesResult.text:
--------------------------------------------------------------------------------
1 | 0.384976525822
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [11 12 1 1 1 1 1 5 6 5 4 2 5 5 6 6 5 2 5 12 11 1 1 1 1
6 | 5 1 5 5 5 1 1 9 1 11 12 11 11 1 1 1 1 4 6 6 6 6 1 4 5
7 | 1 6 12 11 13 1 1 1 1 1 1 6 4 5 6 6 1 4 1 11 1 12 5 5 1
8 | 1 1 4 2 1 5 2 5 4 2 6 5 6 6 6 1 6 9 2 2 11 11 1 1 1
9 | 1 1 1 4 1 6 1 5 6 6 6 1 5 5 5 5 6 6 5 6 1 2 4 9 12
10 | 11 11 12 1 1 1 1 1 1 5 5 1 1 4 4 2 2 1 1 4 4 2 6 11 11
11 | 11 1 1 1 2 1 1 1 5 5 5 4 5 6 1 6 6 1 4 1 2 6 11 11 1
12 | 1 1 6 5 6 5 6 6 1 5 5 1 1 1 2 1 9 4 12 1 2 1 2 1 1
13 | 6 6 6 6 4 1 6 10 4 9 1 12 11]
14 | test_Y len is 213Y_pred len is 213
15 | [('5-1', 23), ('4-1', 14), ('2-1', 9), ('5-6', 9), ('5-4', 7), ('6-5', 6), ('5-2', 5), ('12-11', 5), ('10-2', 4), ('9-1', 4), ('7-6', 3), ('12-9', 2), ('10-4', 2), ('7-1', 2), ('10-11', 2), ('11-5', 2), ('5-11', 2), ('12-1', 2), ('3-1', 2), ('9-2', 2), ('6-1', 2), ('4-2', 2), ('10-9', 1), ('4-11', 1), ('7-5', 1), ('5-9', 1), ('1-12', 1), ('12-13', 1), ('11-4', 1), ('10-6', 1), ('1-2', 1), ('9-6', 1), ('5-12', 1), ('9-10', 1), ('11-2', 1), ('10-5', 1), ('6-2', 1), ('11-12', 1), ('13-1', 1), ('9-4', 1), ('10-1', 1), ('7-4', 1)]
--------------------------------------------------------------------------------
/result/ExtraTreesResult20171114.text:
--------------------------------------------------------------------------------
1 | 0.737089201878
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [11 12 1 1 1 2 5 5 6 6 5 4 5 5 5 6 5 9 10 12 11 13 4 5 5
6 | 5 4 5 5 5 9 5 5 5 11 5 11 11 1 2 4 4 5 6 5 6 6 4 4 5
7 | 9 9 11 11 13 1 1 1 4 4 5 6 4 5 6 6 7 7 9 10 12 12 11 12 1
8 | 1 2 4 5 5 5 5 6 4 6 6 6 6 6 6 7 7 10 10 11 12 12 1 1 1
9 | 1 3 4 4 5 6 6 6 6 6 6 4 5 5 5 4 6 6 7 6 9 10 10 12 11
10 | 11 12 12 1 1 2 3 4 5 5 5 6 5 5 4 5 5 6 6 5 9 10 12 13 11
11 | 12 1 3 2 5 3 13 4 5 5 5 5 5 5 5 7 7 5 5 9 10 9 11 11 1
12 | 2 4 6 6 6 7 6 6 4 5 5 6 6 9 10 12 12 11 12 1 1 2 4 4 5
13 | 6 6 6 6 4 5 5 9 10 10 12 13 11]
14 | test_Y len is 213Y_pred len is 213
15 | [('5-6', 10), ('5-4', 5), ('12-11', 4), ('2-1', 3), ('6-5', 3), ('11-12', 3), ('4-5', 2), ('4-9', 2), ('9-10', 2), ('7-6', 2), ('10-12', 2), ('5-11', 2), ('5-7', 2), ('11-13', 2), ('4-11', 1), ('1-4', 1), ('6-7', 1), ('5-2', 1), ('10-11', 1), ('4-3', 1), ('5-13', 1), ('12-13', 1), ('5-3', 1), ('5-9', 1), ('6-4', 1), ('1-11', 1)]0.774647887324
16 | test_Y:
17 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
18 | Y_pred:
19 | [11 12 1 1 1 2 4 5 4 6 5 4 5 5 5 6 6 9 10 12 11 13 4 5 5
20 | 5 5 5 5 5 5 5 5 5 11 12 5 5 1 2 4 5 5 6 6 6 6 4 5 5
21 | 12 5 11 12 11 1 1 1 4 4 5 6 4 5 6 6 7 4 9 10 12 12 11 11 1
22 | 1 2 4 5 5 5 4 5 4 6 6 6 6 6 6 7 7 9 10 12 11 12 1 1 1
23 | 1 3 4 5 5 6 6 6 6 6 6 4 5 5 5 7 6 6 7 7 9 10 10 12 12
24 | 11 11 12 1 1 2 3 4 4 6 5 5 5 5 4 5 5 5 6 7 9 10 12 12 11
25 | 12 1 3 2 1 3 13 4 5 6 6 4 5 5 5 5 5 5 4 9 10 9 10 12 1
26 | 2 4 6 4 6 5 6 6 4 4 5 5 8 9 10 12 12 12 12 1 2 2 4 5 5
27 | 6 6 6 7 4 5 5 9 10 10 12 13 12]
28 | test_Y len is 213Y_pred len is 213
29 | [('5-6', 8), ('5-4', 6), ('2-1', 3), ('11-12', 3), ('6-5', 3), ('6-7', 2), ('10-12', 2), ('4-5', 2), ('5-13', 1), ('4-12', 1), ('4-11', 1), ('4-3', 1), ('5-8', 1), ('7-4', 1), ('7-6', 1), ('5-2', 1), ('9-10', 1), ('5-7', 1), ('12-11', 1), ('5-12', 1), ('1-4', 1), ('5-1', 1), ('1-11', 1), ('1-2', 1), ('11-13', 1), ('5-3', 1), ('6-4', 1)]0.741784037559
30 | test_Y:
31 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
32 | Y_pred:
33 | [11 12 1 2 1 3 4 5 5 6 5 4 5 5 5 5 5 9 10 12 11 13 4 5 5
34 | 5 4 5 5 5 9 5 5 5 12 12 9 11 1 2 4 4 5 6 6 6 5 4 5 5
35 | 9 5 12 11 11 1 1 1 2 4 5 6 4 5 6 5 6 6 9 10 12 12 13 12 1
36 | 1 1 4 5 5 5 6 6 4 6 6 6 6 6 6 6 6 9 10 12 11 12 1 1 1
37 | 2 1 4 5 6 6 6 6 6 6 6 4 5 5 6 6 6 7 7 6 9 10 10 12 12
38 | 11 12 12 1 1 2 3 4 5 6 6 5 5 5 4 5 5 6 5 6 9 9 10 11 11
39 | 12 1 3 1 1 3 13 4 5 4 6 4 5 5 5 5 6 5 5 9 9 9 12 11 1
40 | 2 4 6 6 6 6 6 6 4 4 5 5 8 9 10 12 12 11 12 1 1 2 4 5 5
41 | 6 6 6 6 4 5 5 9 10 10 12 12 11]
42 | test_Y len is 213Y_pred len is 213
43 | [('5-6', 11), ('7-6', 5), ('5-4', 4), ('12-11', 4), ('11-12', 4), ('2-1', 3), ('6-5', 3), ('10-12', 2), ('1-2', 2), ('5-1', 2), ('4-9', 2), ('10-9', 1), ('2-3', 1), ('3-1', 1), ('4-12', 1), ('5-11', 1), ('5-9', 1), ('11-13', 1), ('5-8', 1), ('5-13', 1), ('1-12', 1), ('5-12', 1), ('4-3', 1), ('5-3', 1)]
--------------------------------------------------------------------------------
/result/ExtraTreesResult20171115.text:
--------------------------------------------------------------------------------
1 | 0.784037558685
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [11 12 1 1 1 3 4 5 5 5 5 4 4 5 5 6 5 9 10 12 11 13 4 5 5
6 | 5 4 5 5 5 4 5 5 5 11 5 5 5 1 1 4 4 5 6 5 7 7 4 5 5
7 | 4 5 11 5 13 1 1 1 1 4 5 5 4 5 6 6 7 5 9 10 12 12 12 12 1
8 | 1 1 4 5 5 5 5 5 4 6 6 6 6 6 6 6 7 9 10 11 11 12 1 1 1
9 | 1 1 4 5 5 6 6 6 6 6 6 4 5 5 6 6 5 7 5 7 9 10 10 10 12
10 | 11 11 11 1 1 2 3 4 5 5 5 7 5 5 5 5 5 7 5 5 9 10 9 12 11
11 | 11 2 3 2 1 3 2 4 5 6 4 4 5 5 5 5 5 5 7 9 9 9 11 11 1
12 | 2 4 5 6 6 6 6 6 4 5 5 5 8 9 10 10 12 11 12 1 1 2 4 5 5
13 | 5 7 6 6 4 5 5 9 10 10 12 11 12]
14 | test_Y len is 213Y_pred len is 213
15 | [('6-5', 5), ('5-4', 4), ('2-1', 4), ('5-7', 3), ('11-12', 3), ('6-7', 3), ('12-11', 3), ('5-2', 2), ('7-5', 2), ('5-6', 2), ('4-3', 1), ('5-3', 1), ('4-5', 1), ('12-10', 1), ('4-11', 1), ('5-1', 1), ('7-6', 1), ('10-11', 1), ('12-5', 1), ('12-13', 1), ('5-8', 1), ('3-1', 1), ('2-3', 1), ('1-11', 1), ('10-9', 1)]0.75117370892
16 | test_Y:
17 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
18 | Y_pred:
19 | [11 12 1 2 1 2 4 5 4 6 5 4 5 5 5 5 5 9 10 12 11 13 4 5 5
20 | 5 4 5 5 5 9 9 5 10 4 12 12 11 1 2 4 5 4 5 6 6 6 4 5 5
21 | 9 10 13 11 13 2 1 1 4 4 5 5 4 5 6 6 6 6 9 10 12 12 11 11 1
22 | 1 2 4 5 5 5 7 7 4 6 5 6 6 6 6 6 6 9 10 12 11 12 1 2 2
23 | 2 1 4 5 5 6 6 5 6 6 6 4 5 5 6 6 6 7 7 6 9 10 10 12 12
24 | 11 11 12 1 2 2 3 4 5 5 5 5 5 7 5 5 5 5 5 7 10 10 10 11 11
25 | 12 2 3 2 3 3 3 4 5 4 6 4 5 5 4 5 5 5 4 9 10 9 10 12 1
26 | 2 4 6 6 6 6 6 5 4 5 5 5 7 9 10 12 12 11 12 1 2 2 4 5 5
27 | 5 6 6 6 4 5 5 9 10 10 12 13 12]
28 | test_Y len is 213Y_pred len is 213
29 | [('6-5', 6), ('5-4', 6), ('5-7', 5), ('1-2', 5), ('7-6', 5), ('5-3', 3), ('5-10', 2), ('5-12', 2), ('9-10', 2), ('4-9', 2), ('5-6', 2), ('5-11', 1), ('4-5', 1), ('12-11', 1), ('1-13', 1), ('12-13', 1), ('10-12', 1), ('4-3', 1), ('1-4', 1), ('5-2', 1), ('5-9', 1), ('11-12', 1), ('11-13', 1), ('3-1', 1)]0.830985915493
30 | test_Y:
31 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
32 | Y_pred:
33 | [11 12 1 1 1 1 4 5 5 5 5 4 5 5 5 6 5 9 10 12 11 13 4 5 5
34 | 5 4 5 5 5 9 9 9 5 9 9 9 5 1 1 4 5 5 5 6 6 6 4 5 5
35 | 4 5 9 4 11 1 1 1 1 4 5 5 4 5 6 6 6 7 9 10 12 12 11 11 1
36 | 1 2 4 5 5 5 5 5 4 6 6 6 6 6 6 6 7 9 10 11 11 12 1 1 1
37 | 2 1 4 5 5 6 6 5 6 6 6 4 5 5 5 6 6 7 7 7 9 10 10 12 11
38 | 11 11 12 1 1 2 3 4 5 5 5 5 5 5 5 5 5 5 5 5 9 9 10 11 11
39 | 12 1 3 5 4 5 5 5 5 5 6 5 5 5 5 5 5 5 7 9 10 9 10 11 1
40 | 2 4 6 6 6 5 6 6 4 5 5 5 5 9 10 12 12 11 12 1 1 2 4 5 5
41 | 5 6 6 6 4 5 5 9 10 10 12 13 13]
42 | test_Y len is 213Y_pred len is 213
43 | [('6-5', 6), ('2-1', 4), ('5-9', 4), ('12-11', 3), ('4-5', 2), ('7-6', 2), ('5-6', 2), ('4-9', 2), ('10-9', 1), ('1-9', 1), ('11-13', 1), ('12-13', 1), ('5-7', 1), ('12-4', 1), ('4-3', 1), ('10-12', 1), ('5-4', 1), ('3-1', 1), ('9-10', 1)]
--------------------------------------------------------------------------------
/result/RandomForestCrossValidationResult20171116.text:
--------------------------------------------------------------------------------
1 | **********************step=8**********************
2 | index[0]0.990384615385
3 | index[1]0.961538461538
4 | index[2]0.942307692308
5 | index[3]0.942307692308
6 | index[4]0.971153846154
7 | index[5]0.932692307692
8 | index[6]0.961538461538
9 | index[7]0.923076923077
10 | index[8]0.961538461538
11 | index[9]0.923076923077
12 | 平均准确度:0.950961538462
13 | **********************step=8**********************
14 | index[0]0.942307692308
15 | index[1]0.942307692308
16 | index[2]0.951923076923
17 | index[3]0.951923076923
18 | index[4]0.942307692308
19 | index[5]0.971153846154
20 | index[6]0.971153846154
21 | index[7]0.923076923077
22 | index[8]0.932692307692
23 | index[9]0.923076923077
24 | 平均准确度:0.945192307692
25 | **********************step=8**********************
26 | index[0]0.961538461538
27 | index[1]0.961538461538
28 | index[2]0.971153846154
29 | index[3]0.932692307692
30 | index[4]0.961538461538
31 | index[5]0.932692307692
32 | index[6]0.990384615385
33 | index[7]0.942307692308
34 | index[8]0.903846153846
35 | index[9]0.913461538462
36 | 平均准确度:0.947115384615
37 |
--------------------------------------------------------------------------------
/result/RandomForestResult.text:
--------------------------------------------------------------------------------
1 | 0.43661971831
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [11 12 1 2 1 1 4 5 1 5 5 1 5 1 5 5 5 1 10 1 12 1 4 5 5
6 | 5 4 5 5 5 1 10 10 5 1 10 1 5 1 1 1 4 2 6 5 2 1 1 1 3
7 | 1 4 1 1 1 1 1 1 1 4 5 2 4 5 5 1 5 5 1 10 12 1 12 5 1
8 | 1 1 2 5 5 1 2 1 4 1 5 5 1 1 6 5 5 2 10 1 11 12 1 1 1
9 | 1 1 1 5 5 5 6 5 7 6 2 1 5 1 6 1 5 2 5 5 1 10 10 1 12
10 | 11 5 12 1 1 2 1 1 5 5 5 5 5 5 1 5 1 5 5 5 12 6 1 1 1
11 | 12 1 1 1 1 1 13 1 1 13 4 4 1 5 1 5 1 1 5 1 2 2 1 11 1
12 | 1 4 2 2 4 5 1 1 4 1 5 1 5 1 12 1 12 11 12 1 1 1 4 1 1
13 | 5 13 1 2 4 5 5 1 10 10 12 12 1]
14 | test_Y len is 213Y_pred len is 213
15 | [('5-1', 20), ('4-1', 11), ('6-1', 10), ('6-5', 9), ('2-1', 8), ('7-5', 6), ('9-1', 6), ('12-1', 6), ('6-2', 5), ('11-12', 3), ('5-4', 3), ('5-2', 3), ('5-10', 3), ('11-1', 3), ('9-2', 3), ('10-1', 3), ('11-5', 2), ('3-1', 2), ('5-13', 2), ('5-3', 1), ('6-7', 1), ('9-12', 1), ('6-4', 1), ('7-2', 1), ('12-11', 1), ('10-6', 1), ('10-12', 1), ('13-1', 1), ('6-13', 1), ('1-2', 1), ('4-2', 1)]
--------------------------------------------------------------------------------
/result/RandomForestResult20171114.text:
--------------------------------------------------------------------------------
1 | 0.530516431925
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [11 12 1 1 1 1 4 5 5 5 5 4 5 5 5 5 5 12 10 11 13 1 4 5 5
6 | 5 4 5 5 5 9 10 10 10 11 10 10 10 1 1 4 4 4 6 5 5 5 4 5 5
7 | 1 6 12 13 11 1 1 1 1 4 5 5 4 5 5 5 5 5 9 10 12 12 13 13 1
8 | 1 1 4 5 5 5 4 5 4 4 6 5 5 12 6 5 5 4 10 4 13 13 1 1 1
9 | 1 1 4 5 4 5 6 5 5 6 5 4 5 4 6 4 5 5 5 3 9 13 10 12 1
10 | 11 13 5 1 1 1 1 4 5 5 5 5 4 5 4 5 5 5 5 5 1 3 13 11 11
11 | 13 1 1 1 1 1 1 4 5 4 5 4 5 5 5 5 5 5 5 9 12 1 12 13 1
12 | 1 4 3 12 4 5 5 5 4 4 5 5 5 9 10 9 12 12 12 1 1 1 4 4 4
13 | 5 5 5 5 4 5 5 9 4 1 12 12 13]
14 | test_Y len is 213Y_pred len is 213
15 | [('6-5', 19), ('5-4', 10), ('2-1', 9), ('7-5', 6), ('5-10', 6), ('11-13', 5), ('12-13', 5), ('5-1', 4), ('6-4', 4), ('3-1', 2), ('6-12', 2), ('12-11', 2), ('9-12', 2), ('4-1', 2), ('11-12', 2), ('9-1', 2), ('10-13', 2), ('7-3', 1), ('12-5', 1), ('10-3', 1), ('10-1', 1), ('4-9', 1), ('12-1', 1), ('4-11', 1), ('10-9', 1), ('9-4', 1), ('1-12', 1), ('11-4', 1), ('10-4', 1), ('13-1', 1), ('6-3', 1), ('5-6', 1), ('10-12', 1)]
16 | 0.319248826291
17 | test_Y:
18 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
19 | Y_pred:
20 | [ 1 12 1 2 1 1 1 5 1 5 1 1 1 1 1 1 5 12 1 1 4 13 4 1 5
21 | 5 4 1 5 5 9 1 5 5 9 1 5 5 1 2 2 1 5 4 4 1 5 1 1 1
22 | 1 1 1 1 1 1 1 1 1 4 5 5 4 1 1 1 5 1 1 1 2 2 1 1 2
23 | 1 2 4 1 5 5 5 1 4 1 1 1 4 1 6 6 1 4 1 1 1 1 1 1 2
24 | 2 2 4 5 1 1 4 5 5 6 1 4 5 5 6 1 1 1 1 1 1 1 1 2 1
25 | 11 1 1 1 1 2 2 4 5 5 1 5 4 4 4 1 5 1 1 4 1 1 1 4 1
26 | 1 2 1 1 1 1 13 1 1 4 4 4 5 1 1 1 1 1 1 1 1 1 1 1 1
27 | 2 4 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 4 5 1
28 | 1 1 1 5 1 5 1 11 10 1 2 1 1]
29 | test_Y len is 213Y_pred len is 213
30 | [('5-1', 38), ('6-1', 20), ('10-1', 11), ('12-1', 10), ('11-1', 9), ('4-1', 7), ('9-1', 7), ('12-2', 5), ('5-4', 5), ('7-1', 5), ('6-5', 4), ('6-4', 4), ('2-1', 3), ('1-2', 3), ('3-2', 2), ('4-9', 2), ('11-4', 2), ('9-11', 1), ('7-5', 1), ('6-2', 1), ('9-12', 1), ('7-6', 1), ('4-2', 1), ('9-4', 1), ('5-13', 1)]0.643192488263
31 | test_Y:
32 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
33 | Y_pred:
34 | [ 4 12 1 2 2 3 4 5 5 6 13 4 5 3 4 4 6 9 10 11 11 13 4 5 5
35 | 5 4 5 5 5 4 5 5 5 4 5 5 5 1 2 4 4 6 6 6 7 7 4 4 3
36 | 4 5 4 1 13 1 1 1 2 4 5 5 4 5 6 6 6 7 9 10 12 4 11 11 2
37 | 1 2 4 5 5 6 6 6 4 4 6 6 7 6 6 6 7 9 10 11 11 11 1 1 1
38 | 2 3 4 4 4 6 6 6 6 6 7 4 5 4 6 6 6 7 7 7 9 10 10 12 11
39 | 11 9 11 1 1 2 3 4 4 4 13 4 4 7 4 5 4 4 4 7 9 10 10 11 11
40 | 11 2 4 1 3 3 13 4 4 6 6 4 4 4 6 7 7 7 7 9 9 9 9 13 1
41 | 2 4 6 6 6 6 6 6 4 5 5 6 3 9 10 10 12 11 12 1 1 2 4 13 5
42 | 6 6 6 7 4 5 13 4 11 10 12 11 11]
43 | test_Y len is 213Y_pred len is 213
44 | [('5-4', 18), ('5-6', 10), ('5-7', 6), ('12-11', 6), ('6-7', 5), ('5-13', 5), ('5-3', 5), ('1-2', 4), ('7-6', 2), ('12-13', 2), ('6-4', 1), ('10-9', 1), ('5-1', 1), ('11-9', 1), ('2-1', 1), ('1-4', 1), ('10-11', 1), ('6-5', 1), ('12-4', 1), ('9-4', 1), ('11-4', 1), ('12-1', 1), ('2-3', 1)]
--------------------------------------------------------------------------------
/result/RandomForestResult20171115.text:
--------------------------------------------------------------------------------
1 | 0.596244131455
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [11 12 1 1 1 3 4 5 4 6 5 4 5 5 5 4 3 9 10 11 11 13 4 5 5
6 | 5 4 5 5 5 9 5 5 5 9 5 5 5 1 1 4 4 4 6 6 4 4 4 4 3
7 | 9 6 9 4 1 1 1 1 2 4 5 4 4 5 6 6 4 7 9 9 12 11 11 11 1
8 | 1 2 4 5 5 5 4 6 4 4 6 4 4 6 6 6 4 9 10 10 11 11 1 1 1
9 | 2 3 4 4 4 6 6 4 6 6 7 4 5 4 6 6 4 6 4 7 9 10 10 12 11
10 | 11 11 11 1 1 2 3 4 13 4 4 5 4 5 4 4 4 4 4 7 9 10 9 11 11
11 | 11 1 1 3 3 3 13 4 4 4 5 4 4 6 4 5 5 4 4 9 10 9 11 11 1
12 | 2 4 6 4 6 7 6 4 4 4 5 5 5 9 9 12 12 11 12 1 1 2 4 4 5
13 | 6 4 4 4 4 5 6 9 9 10 12 11 12]
14 | test_Y len is 213Y_pred len is 213
15 | [('5-4', 26), ('6-4', 12), ('12-11', 7), ('5-3', 5), ('5-6', 5), ('10-9', 4), ('7-4', 3), ('4-9', 3), ('2-1', 3), ('5-13', 2), ('7-6', 2), ('6-7', 2), ('2-3', 1), ('5-7', 1), ('12-4', 1), ('12-1', 1), ('10-11', 1), ('9-10', 1), ('11-10', 1), ('6-5', 1), ('10-12', 1), ('4-1', 1), ('1-2', 1), ('1-9', 1)]
--------------------------------------------------------------------------------
/result/SVMPredictResult20171117.text:
--------------------------------------------------------------------------------
1 | **********************step=1**********************
2 | 0.383886255924
3 | test_Y:
4 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
5 | Y_pred:
6 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
7 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
8 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
9 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
10 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
11 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
12 | test_Y len is 211,and Y_pred len is 211
13 | **********************step=1**********************
14 | 0.383886255924
15 | test_Y:
16 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
17 | Y_pred:
18 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
19 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
20 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
21 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
22 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
23 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
24 | test_Y len is 211,and Y_pred len is 211
25 | **********************step=1**********************
26 | 0.383886255924
27 | test_Y:
28 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
29 | Y_pred:
30 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
31 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
32 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
33 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
34 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
35 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
36 | test_Y len is 211,and Y_pred len is 211
37 | **********************step=1**********************
38 | 0.383886255924
39 | test_Y:
40 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
41 | Y_pred:
42 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
43 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
44 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
45 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
46 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
47 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
48 | test_Y len is 211,and Y_pred len is 211
49 | **********************step=1**********************
50 | 0.383886255924
51 | test_Y:
52 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
53 | Y_pred:
54 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
55 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
56 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
57 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
58 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
59 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
60 | test_Y len is 211,and Y_pred len is 211
61 | **********************step=1**********************
62 | 0.383886255924
63 | test_Y:
64 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
65 | Y_pred:
66 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
67 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
68 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
69 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
70 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
71 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
72 | test_Y len is 211,and Y_pred len is 211
73 | **********************step=1**********************
74 | 0.383886255924
75 | test_Y:
76 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
77 | Y_pred:
78 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
79 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
80 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
81 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
82 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
83 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
84 | test_Y len is 211,and Y_pred len is 211
85 | **********************step=1**********************
86 | 0.383886255924
87 | test_Y:
88 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
89 | Y_pred:
90 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
91 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
92 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
93 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
94 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
95 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
96 | test_Y len is 211,and Y_pred len is 211
97 | **********************step=1**********************
98 | 0.383886255924
99 | test_Y:
100 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
101 | Y_pred:
102 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
103 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
104 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
105 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
106 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
107 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
108 | test_Y len is 211,and Y_pred len is 211
109 | **********************step=1**********************
110 | 0.383886255924
111 | test_Y:
112 | [1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
113 | Y_pred:
114 | [5 5 5 6 5 5 6 5 5 5 5 5 5 6 5 5 5 5 6 6 6 5 5 5 6 5 5 5 6 5 5 5 6 5 5 5 5
115 | 6 5 5 5 6 6 6 6 5 5 6 5 6 5 5 5 5 5 5 5 5 5 6 5 6 6 5 5 5 5 5 5 5 5 5 5 5
116 | 5 5 5 5 6 5 6 5 6 6 6 6 6 6 5 6 5 5 5 5 5 5 5 5 5 6 5 5 5 6 6 5 6 6 6 5 5
117 | 5 6 6 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 6 5 5 6 6 5 5 5 5 5 5 5 5 5 5 5 5 5 5
118 | 5 6 5 6 5 5 6 5 5 6 6 6 5 6 6 5 5 5 5 5 5 6 5 5 5 5 5 6 6 6 5 6 5 5 6 5 6
119 | 5 5 5 6 5 5 5 5 5 5 5 5 6 6 6 6 6 5 5 5 5 5 5 5 6 6]
120 | test_Y len is 211,and Y_pred len is 211
121 |
--------------------------------------------------------------------------------
/result/SVMResult20171114.text:
--------------------------------------------------------------------------------
1 | 0.338028169014
2 | test_Y:
3 | [11, 12, 1, 1, 1, 2, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 12, 11, 13, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 1, 2, 4, 5, 5, 6, 6, 6, 6, 4, 5, 5, 4, 5, 1, 12, 12, 1, 1, 1, 1, 4, 5, 5, 4, 5, 6, 6, 7, 7, 9, 10, 12, 12, 11, 11, 1, 1, 2, 4, 5, 5, 5, 5, 5, 4, 6, 6, 6, 6, 6, 6, 7, 7, 9, 10, 11, 11, 12, 1, 1, 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 6, 4, 5, 5, 6, 6, 6, 7, 7, 7, 9, 10, 10, 12, 12, 11, 11, 12, 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 9, 10, 10, 11, 11, 12, 2, 4, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 9, 9, 9, 10, 12, 1, 2, 4, 6, 6, 6, 6, 6, 6, 4, 5, 5, 5, 5, 9, 10, 10, 12, 11, 12, 1, 1, 2, 4, 5, 6, 6, 6, 6, 6, 4, 5, 5, 9, 10, 10, 12, 11, 12]
4 | Y_pred:
5 | [ 5 12 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
6 | 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
7 | 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
8 | 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
9 | 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
10 | 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
11 | 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
12 | 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
13 | 5 5 5 5 5 5 5 5 5 5 5 5 5]
14 | test_Y len is 213Y_pred len is 213
15 | [('6-5', 32), ('4-5', 23), ('1-5', 18), ('12-5', 15), ('11-5', 12), ('10-5', 12), ('9-5', 10), ('2-5', 9), ('7-5', 7), ('3-5', 2), ('13-5', 1)]
--------------------------------------------------------------------------------