Reading Skill 1 Oral Skill 4 Cygwin GNU

  • Slides: 23
Download presentation
Reading Skill 1 Oral Skill 4 Cygwin GNU Plot

Reading Skill 1 Oral Skill 4 Cygwin GNU Plot

Reading Skill Clustering Data Mining Classification Association Text Mining …

Reading Skill Clustering Data Mining Classification Association Text Mining …

Reading Skill n n There are many papers in a general field How can

Reading Skill n n There are many papers in a general field How can you read many papers within a short period?

Reading Skill n For each paper n Try to understand n n n the

Reading Skill n For each paper n Try to understand n n n the problem of the paper the significance of the paper in the literature the high-level understanding of the algorithm How can we achieve this?

Guideline n n Try to read the abstract and the introduction of the paper

Guideline n n Try to read the abstract and the introduction of the paper Try to “scan” through the whole paper in order to capture other major ideas of the paper n n E. g. , reading the paragraph at the beginning for the high-level description E. g. , reading lemmas/theorems (without reading the proof) to see how good they are

Guideline n You can understand each topic “well” without spending a lot of time

Guideline n You can understand each topic “well” without spending a lot of time

Deep Reading n n When you do a specific problem, You need to read

Deep Reading n n When you do a specific problem, You need to read all related work in detail so that you can understand the differences and the merits of other papers

Deep Reading n If you cannot understand some parts of the paper, what will

Deep Reading n If you cannot understand some parts of the paper, what will you do?

Exercise 1 n Please listen to the tape and follow the intonation of the

Exercise 1 n Please listen to the tape and follow the intonation of the speaker n audio 8. mp 3 n There are both involuntary and deliberate reasons as to why a person might gain or lose weight.

Cygwin (Previous Notes) n n n UNIX/Linux-like environment for Windows http: //www. cygwin. com/

Cygwin (Previous Notes) n n n UNIX/Linux-like environment for Windows http: //www. cygwin. com/ Includes nearly everything in UNIX/Linux Install n Please choose “Install All”

GNU Plot n Can be found in n n UNIX Linux Cygwin Used for

GNU Plot n Can be found in n n UNIX Linux Cygwin Used for plotting figures Execute in Cygwin n Type “startx” Then, there is a command prompt Type “gnuplot XXX” where XXX is a GNU Plot file

GNU Plot n Example

GNU Plot n Example

GNU Plot n n Can we use MS Excel instead? Not precise representation!

GNU Plot n n Can we use MS Excel instead? Not precise representation!

GNU Plot n Some tutorials n http: //t 16 web. lanl. gov/Kawano/gnuplot/ind ex-e. html

GNU Plot n Some tutorials n http: //t 16 web. lanl. gov/Kawano/gnuplot/ind ex-e. html

Exercise 2 n n We want to generate the first set of 2 figures

Exercise 2 n n We want to generate the first set of 2 figures as follows. Try to generate an EPS file with the following table Dataset Size Alg. 1 Alg. 2 Alg. 3 Alg. 4 1, 000 1 11 1001 2, 000 5 15 1005 3, 000 9 19 1009 4, 000 13 13 1003 n Try to generate another EPS file (by using “set log y”)

Exercise 2 We want to generate the second set of 3 figures as follows.

Exercise 2 We want to generate the second set of 3 figures as follows. Similarly, try to generate an EPS file with the following table n n n Alg. 1 Alg. 2 Alg. 3 Alg. 4 5 1 11 1001 10 5 15 1005 15 9 19 1009 20 13 13 1003 Try to generate another EPS file where n n the first column name is changed from to the second to the fifth column names are changed to x 2, x 3, x 45, x 16 , respectively

Exercise 2 n Try to generate the other EPS file where n n the

Exercise 2 n Try to generate the other EPS file where n n the first column name is changed from to the second to the fifth column names are changed to + 2, - 3, 4, 16 , respectively

Exercise 2 n Try to put n n n the first two EPS figures

Exercise 2 n Try to put n n n the first two EPS figures the second three EPS figues into a TEX file with the following output (by using template in http: //www. cse. ust. hk/~raywong/Research. Skill/file/La. Te. X. zip ) n n Try to include the first table and the second table Try to include two references with a BIB file

Exercise 2 Please note the naming convention! -At most three letters plus Year -Each

Exercise 2 Please note the naming convention! -At most three letters plus Year -Each letter comes from the first letter of the surname of an author @inproceedings{AS 94, author = {R. Agrawal and R. Srikant}, title = {Fast Algorithms for Mining Association Rules}, booktitle = {VLDB}, year = {1994}, } @inproceedings{BSV+99 , author={T. Brijs and G. Swinnen and K. Vanhoof and G. Wets}, booktitle={SIGKDD}, title={Using Association Rules for Product Assortment Decisions: A Case Study}, year="1999"}

………… Exercise 2 1. Introduction There are two citations [1] and [2]. We have

………… Exercise 2 1. Introduction There are two citations [1] and [2]. We have Table 1 and Table 2. We also have Figure 1(a) and (b). [Describe Figures 1(a) and (b)…. ]. [Describe Figures 2(a), (b) and (c)…] Table 2: xxxx (a) Please use “label”, “ref” and “cite” (b) Figure 1: xxx 2. References [1]. . . [2]. . . (a) Table 1: xxxx Please use some standard convention for labeling. (b) Figure 2: xxx (c) e. g. in table, use “tab: yyy” in figure, use “fig: yyy” in section, use “sec: yyy” in subsection, use “subsec: yyy”

Reference (Table) begin{table}[tb] scriptsize center begin{tabular}{|c | c | c | } hline &

Reference (Table) begin{table}[tb] scriptsize center begin{tabular}{|c | c | c | } hline & Attribute & Distinct& Generalizations & Height\ && Values && \ hline 1 & Age & 74 & 5 -, 10 -, 20 -year ranges & 4 \ hline 2 & Work Class & 7 & Taxonomy Tree & 3 \ hline 3 & Marital Status & 7 & Taxonomy Tree & 3 \ hline 4 & Occupation & 14 & Taxonomy Tree & 2 \ hline 5 & Race & 5 & Taxonomy Tree & 2 \ hline 6 & Sex & 2 & Suppression & 1 \ hline 7 & Native Country & 41 & Taxonomy Tree & 3 \ hline 8 & Salary Class & 2 & Suppression & 1 \ hline 9 & Education & 16 & Taxonomy Tree & 4 \ hline end{tabular} caption{Description of adult dataset} label{tab: adult. Data. Description} end{table}

Reference (Figures) n begin{figure} … end{figure} begin{figure*} … end{figure*} Please include “usepackage{graphicx}” before using

Reference (Figures) n begin{figure} … end{figure} begin{figure*} … end{figure*} Please include “usepackage{graphicx}” before using the following code. begin{figure}[tbp] begin{tabular}{c c} begin{minipage}[htbp]{4. 0 cm} includegraphics[width=4. 0 cm, height=3. 0 cm]{pic/exe. Time. Versus. K-real. Small-CA-GR. eps} end{minipage} & begin{minipage}[htbp]{4. 0 cm} includegraphics[width=4. 0 cm, height=3. 0 cm]{pic/storage. Versus. K-real. Small-CA-GR. eps} end{minipage} \ (a) & (b) end{tabular} caption{Effect of cardinality (small real data set)}label{fig: graph. Against. K-real. Small-CA-GR} end{figure}

Reminder n Please do exercise 1 and exercise 2

Reminder n Please do exercise 1 and exercise 2