문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
etc [2019/04/08 02:54] khcho 만듦 |
etc [2021/04/13 06:54] (현재) |
||
---|---|---|---|
줄 143: | 줄 143: | ||
print(noun, ":", | print(noun, ":", | ||
</ | </ | ||
+ | |||
+ | # month_avr : The average of the frequencyofthe ' | ||
+ | |||
+ | # select_month : The frequency of ‘patient’ morphemes is higher than average \\ | ||
{{: | {{: | ||
줄 158: | 줄 162: | ||
==== Refinemnet ==== | ==== Refinemnet ==== | ||
- | - | + | |
+ | get_tag() : A function that returns the frequency of the ' | ||
+ | @param1 : Text to analyze morpheme \\ | ||
+ | @param2 : The number of nouns to be extracted with high frequency\\ | ||
+ | |||
+ | get_tags() : A function that returns a list of n morphemes with a high frequency and prints them.\\ | ||
+ | @param1 : Text to analyze morpheme\\ | ||
+ | @param2 : The number of nouns to be extracted with high frequency\\ | ||
===== Result ===== | ===== Result ===== | ||
==== Model Evaluation and Validation ==== | ==== Model Evaluation and Validation ==== | ||
< | < | ||
- | |||
- The frequency of ' | - The frequency of ' | ||
{{: | {{: | ||
줄 179: | 줄 190: | ||
< | < | ||
- The frequency of ' | - The frequency of ' | ||
+ | {{: | ||
+ | |||
- Real data on patients that actually occurred all infectious disease \\ | - Real data on patients that actually occurred all infectious disease \\ | ||
+ | {{: | ||
+ | |||
- Correlation between ' | - Correlation between ' | ||
+ | ^ ^ ** Month ** ^ ** Patient ** ^ ** Occurrences ** ^ | ||
+ | ^ ** Month **| 1.000000| | ||
+ | ^ ** Patient **| 0.696169 | | ||
+ | ^ ** Occurrences ** | 0.507285 | ** -0.043851 **| 1.000000 | | ||
+ | |||
< | < | ||
- The frequency of ' | - The frequency of ' | ||
+ | {{: | ||
+ | |||
- Real data on patients that actually occurred all infectious disease \\ | - Real data on patients that actually occurred all infectious disease \\ | ||
+ | {{: | ||
+ | |||
- Correlation between ' | - Correlation between ' | ||
+ | ^ ^ ** Month ** ^ ** Patient ** ^ ** Occurrences ** ^ | ||
+ | ^ ** Month **| 1.000000| | ||
+ | ^ ** Patient **| 0.490746| | ||
+ | ^ ** Occurrences ** | 0.703117| | ||
==== Justification ==== | ==== Justification ==== | ||
- 2015 year : The news article written in June showed the most abundant usage of the morpheme ‘patient’. And it was actually the same month as when there were highest number of MERS patients among the globe. \\ | - 2015 year : The news article written in June showed the most abundant usage of the morpheme ‘patient’. And it was actually the same month as when there were highest number of MERS patients among the globe. \\ | ||
In addition, in 2015, the usage frequency of the morpheme ‘patient’ did have a very strong positive correlation to the number of patients that actually suffered from disease, which was up to 0.985725. \\ | In addition, in 2015, the usage frequency of the morpheme ‘patient’ did have a very strong positive correlation to the number of patients that actually suffered from disease, which was up to 0.985725. \\ | ||
- | - 2016 year : \\ | ||
- | - 2017 year : \\ | ||
- | ===== Conclustion | + | - 2016 year : The ' |
+ | In fact, in 2016, there was no national disaster caused by a pandemic. \\ | ||
+ | |||
+ | - 2017 year : The frequencies of the " | ||
+ | In 2017, there is no national disaster caused by a contagious disease. Although the frequency of " | ||
+ | |||
+ | ===== Conclusion | ||
==== Reflection ==== | ==== Reflection ==== | ||
In 2015 and 2017, there is a strong positive correlation between the frequency of morpheme " | In 2015 and 2017, there is a strong positive correlation between the frequency of morpheme " |