• Tidak ada hasil yang ditemukan

CHAPTER 5 IMPLEMENTATION AND TESTING

N/A
N/A
Protected

Academic year: 2019

Membagikan "CHAPTER 5 IMPLEMENTATION AND TESTING"

Copied!
22
0
0

Teks penuh

(1)

IMPLEMENTATION AND TESTING

5.1.Input

Get file: user is requested to enter data in the form of .txt

Input the value of proximity: the user asked to incorporate the value of proximity to centroid distance limits

The Division of the input: the user determines how grouping that will be created.

Illustration 5.1:Input Data

5.2.Proces

The first such sentence in space and then uncheck omit punctuation and changing capital letters into small letters

(2)

Illustration 5.2:Omit Punctuation

(3)

Illustration 5.3:Change into ASCII

(4)

Illustration 5.4:Determined the Centroid

next the inputed values its closeness and compared with the hash value for the value random.

(5)

5.3.Testing

the result of the grouping expressions is value proximity to centroid. Testing 1

The first trial took files from coba.txt contains: budi memasak,budi

memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Illustration 5.6: First Text for First Testing

The result of the input values the closeness 8888888 and the Division of the input 3 is:

Cluster 1 comprises: ani memasak Cluster 2 comprises: budi memasak Cluster 3 comprises:

(6)

Testing2

The second trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Illustration 5.8: Second Text for Second Testing

The result of the input values the closeness 7777777 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises: bola dikaki budi Cluster 3 comprises:

(7)

Not included in cluster: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola.

Testing 3

The third trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

(8)

The result of the input values the closeness 666666 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises: adik bermain bola Cluster 3 comprises:

-Not included in cluster: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,bola dikaki budi

Testing 4

The fourth trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

(9)

Illustration 5.12: Fourth Text for Fourth Testing

The result of the input values the closeness 5555555 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises: budi memasak Cluster 3 comprises:

-Not included in cluster: budi memancing,ani memasak,ikan berenang,andi sedang

bekerja,adik bermain bola,bola dikaki budi

Testing 5

(10)

Illustration 5.14: Fifth Text for Fifth Testing

The result of the input values the closeness 4444444 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises: budi memancing Cluster 3 comprises:

-Not included in cluster: budi memasak,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Testing 6

(11)

The sixth trial took files from coba.txt contains:budi memasak,budi

memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Illustration 5.16: Sixth Text for Sixth Testing

The result of the input values the closeness 8888888 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises: budi memasak,ani memasak,ikan berenang Cluster 3 comprises: budi memancing

Not included in cluster: andi sedang bekerja,adik bermain bola,bola dikaki budi

(12)

bola,bola dikaki budi

Illustration 5.18: Seventh Text for Seventh Testing

The result of the input values the closeness 77777777 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises: bola dikaki budi Cluster 3

comprises:-Not included in cluster: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola

(13)

Testing 8

The eight trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain

bola,bola dikaki budi

Illustration 5.20: Eighth Text for Eighth Testing

The result of the input values the closeness 66666666 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises:andi sedang bekerja Cluster 3

(14)

Testing 9

The ninth trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Illustration 5.22: Ninth Text for Ninth Testing

The result of the input values the closeness 55555555 and the Division of the input 3 is:

Cluster 1 comprises:budi memasak,ani memasak Cluster 2 comprises:ikan berenang

(15)

Cluster 3 comprises:budi memancing

Not included in cluster: andi sedang bekerja,adik bermain bola,bola dikaki budi

Testing 10

The tenth trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Illustration 5.24: Tenth Text for Tenth Testing

The result of the input values the closeness 44444444 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises:budi memasak,ani memasak

(16)

Not included in cluster: budi memancing,andi sedang bekerja,adik bermain bola,bola dikaki budi

Testing 11

The eleventh trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Illustration 5.26: Eleventh Text for Eleventh Testing

The result of the input values the closeness 999999999 and the Division of the input 3 is:

(17)

Cluster comprises:budi memasak,budi memancing,ani memasak,ikan berenang,bola dikaki budi

Cluster 1 comprises:adik bermain bola Cluster 2 comprises:

Cluster 3 comprises:

Not included in cluster: andi sedang bekerja

Testing 12

The twelve trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

(18)

Illustration 5.28: Twelve Text for Twelve Testing

The result of the input values the closeness 999999999 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises:budi memasak,budi memancing,ani memasak,ikan berenang,bola dikaki budi

Cluster 3 comprises: adik bermain bola

Not included in cluster: andi sedang bekerja Testing 13

The thirteenth trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

(19)

Illustration 5.30: Thirteenth Text for Thirteenth Testing

The result of the input values the closeness 777777777 and the Division of the input 3 is:

Cluster comprises:budi memasak,budi memancing,ani memasak,ikan

berenang,bola dikaki budi

Cluster 1 comprises: adik bermain bola Cluster 2 comprises:

Cluster 3 comprises:

Not included in cluster: andi sedang bekerja

Testing 14

(20)

Illustration 5.32: Fourthteen Text for Fourthteen Testing

The result of the input values the closeness 777777777 and the Division of the input 3 is:

Cluster 1

comprises:-Cluster 2 comprises: budi memasak,budi memancing,ani memasak,ikan berenang,bola dikaki budi

Cluster 3 comprises: adik bermain bola Not included in cluster: andi sedang bekerja

(21)

Testing 15

The fifteenth trial took files from coba.txt contains: budi memasak,budi memancing,ani memasak,ikan berenang,andi sedang bekerja,adik bermain bola,bola dikaki budi

Illustration 5.34: Fifthteenth Text for Fifthteenth Testing

The result of the input values the closeness 55555555 and the Division of the input 3 is:

Cluster 1 comprises:bola dikaki budi Cluster 2 comprises: adik bermain bola Cluster 3

comprises:-Not included in cluster: budi memasak,budi memancing,ani memasak,ikan

(22)

Referensi

Dokumen terkait

data in linked list are not same with value, then this application wouldn't delete.. any data, this command exist in

Testing will do 15 times with fixed land space (length and width) and the data is rooms that contain the different room number condition (number condition is a value which is changed

Row 8 calculate the subtraction between data of term weighting result from online news article with data of term weighting result from user news article then the subtraction result