代做COMP814 Text Mining代做Python编程

COMP814 Text Mining

Assignment Specification

Due Date

The assignment is due on 7 June at midnight. This is the Friday of the 13th week of AUT semester.

The assignment should be submitted via the Assignment submission Link on Canvas.

Assignment

This is assignment must be done in pairs to develop teamwork skills as well. If you are new to coding then it is recommended that you pair up with someone with some coding skills. Only one person from the pair needs to submit the assignment. You should have the 2 authors names as well as the ID as indicated in the IEEE template.

The assignment should be written up in a maximum of 12 pages excluding reference and appendices.

Objective

1.   To be able to carry out a typical text mining task based on an objective.

2.   To document the methodology and the findings in an appropriately formatted

scientific paper suitable for publication in a conference. The format of paper is given as a Latex template file.

Task Resources

You will be using models and code snippets that you developed as part of the labs in the  python environment. You will use the dataset provided on Canvas as a zipped file named AssignmentBlogData.zip.

Your dataset consists of a set of 19,320 xml formatted text files. These files contain blogs

collected from an anonymous blogging site which have been annotated with various types of anonymised metadata. The metadata has been integrated into the filenames. The text in each  of the files contains the blogs corresponding to a blogger (as described in the metadata) with  blog dates ranging from approximately 2001 to 2004.

Task Brief

You are employed by an innovation company who has bought the blogs with the objective of innovating new products/services based on what people have been talking about on popular blog sites.

In particular your boss wants to know the two most popular topics that the bloggers have been talking about in the following demographics :

a)   Males

b)  Females

c)  Age brackets <=20 and over 20.

d)  Students

e)   Everyone

The dataset contains 19,320 blogs. If this happens to be a size that your computer takes too long to process, the task is such that you can segment the dataset and process it in batches.

Also, this is a raw dataset so you might have to deal with noise in the data, such as taking care of non-ascii characters.

The table below gives the number of files in each of the demography to be analysed for this assignment.

Demography

Number of Files

Male

9661

Females

9661

Age over 20

10936

Age under 20

8241

Students

5121

Everyone

19321

Task Requirements

In order to achieve the objectives of the project, you will firstly need to read in the data, extract the meta. data and segment it into the required demographics.

You will then need to design strategies to extract and cluster topics.

We could use a few different strategies to extract the dominant topic in a corpus. Some examples are :

.    Count all types of nouns.

.    Count all clauses and then extract the subjects.

.    Count all Subjects, Direct Objects and Prep Objects.

.    Count all types of nouns and their modifiers.

.    Count all subjects and direct objects.

.    Count all objects that participate in actions.

.    Etc.

We could also use TFIDF instead of counting as this will also take rare terms into account.

Minimum Requirements For the Assignment

1.   Use at least 2 different strategies to extract the 2 most dominant topics.

2.   As an attempt to decipher what was said about the dominant topics, output the clauses containing the 2 dominant topics.

3.   As a third variation, instead of counting, use TFIDF vectorization to choose the two most dominant topics. Ensure that your TFIDF strategies are consistent with step 1.

4.   Do step 2 with TFIDF as vectorizer.

Note that you will need to use various techniques such as stemming, lemmatization, PCA, stop word removal, inter alia, in order to get as accurate results as possible. The results will need to be evaluated manually and the strategy for evaluation should be described in your writeup.

Write up

1.   You need to document the research project as a scientific paper using latex double

column IEEE conference format. The latex template can be downloaded from Canvas.

2.   In order to run your program by just clicking it, you need to share the script file with unrestricted privilege to everyone as you have been doing for lab submissions. Include this link in the appendix.

3.   In order for your script. be able to read the datafile you can either share the data file

and read it as a url using pydrive package which is a bit complex, or, you can read the datafile from a directory path which is pre-specified. When I run it I can keep the datafile in the pre-specified location so I will be able to run your program by reading the same datafile from the same specified on my google drive. To do this, use the following:

a.   Include the following code as the first cell in your program.

from google.colab import drive

drive.mount('/content/drive')

b.   On your MyDrive, create a directory called ‘ COMP814Data’ and then put your datafile ‘AssignmentBlogData.zip’ in this directory.

c.   Use the following sample code to read the zip file contents into a string.

import zipfile

z = zipfile.ZipFile('/content/drive/MyDrive/COMP814Data/AssignmentBlogData.zip', "r")

import zipfile

output = ''

with zipfile.ZipFile('/content/drive/MyDrive/COMP814Data/AssignmentBlogData.zip') as z:

for filename in z.namelist():

with z.open(filename) as f:

output += f.read()

4.   Your paper should describe:

a)  A brief section on the contribution from each member of the pair labelled “Contributions” .

b)  The task you set out to solve.

c)  A literature review of same or similar tasks attempted by other researchers.

d)  The details of your strategy to solve the problem. In this part you should

describe the details of how you processed the data from start to finish including the details of how the data got processed in any external library you have used (if you have used it). This should explicitly describe the strategy used to extract the 2 most popular topics.

e)  How you ensured the accuracy of your results.

f)   A comparison of the results from the two topic extraction strategies and the two modes of counting. Comment on which one is more accurate, in your opinion, with justifications.

g)    The conclusion, and how you would do the task differently if you were to do it again.

Assessment

This assignment contributes 60% towards your course grade.

Approximate marking scheme.

Part of Assignment

Mark

Research question and rationale description

10

Data description and analysis

15

Research Design

30

Implementation (code) submitted as appendix

15

Analysis and Evaluation

20

Conclusion, formatting, language and references

10

Total

100

Treat this as a learning experience rather than an assessment exercise. The assignment is constrained enough for you to do exactly as specified and pass it, and flexible enough for you to be creative and attempt to get more accurate results, hence a better grade.





热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图