penerapan metode data mining market basket analisis terhadap data penjualan buku

Data Selection

Data Berikut adalah data Contoh yang di dapat dari hasil generate random data penjualan buku

NoJenis CoverTeknik JilidShrinkJenis Kerta CoverJenis Kertas IsiUVLaminatingEmbosedHot Print
1soft coverlemshrinkart cartoonhvsuv doftGlossEmbosedHot Print
2hardcoverlem tambah benangshrinkkarton boardkotan sheetuv spotGlossEmbosedHot Print
3hardcoverkawat spiralshrinkkarton boardart paperuv spotDoftEmbosedHot Print
4hardcoverkawatshrinkart cartoonhvs sheetuv doftGlossEmbosedHot Print
5hardcoverkawatshrinkart cartoonart paperuv doftDoftEmbosedHot Print
6hardcoverpotong jadishrinkart cartoonhvs sheetuv spotGlossEmbosedHot Print
7hardcoverkawatshrinkart coverart paperuv spotDoftEmbosedHot Print
8hardcoverpotong jadishrinkart covernews printuv doftGlossEmbosedHot Print
9soft coverlemshrinkart coverart paperuv spotDoftEmbosedHot Print
10hardcoverkawat spiralshrinkart cartoonkotan sheetuv spotDoftEmbosedHot Print
11hardcoverlem tambah benangshrinkart coverart paperuv spotGlossEmbosedHot Print
12hardcoverkawatshrinkkarton boardnews printuv doftDoftEmbosedHot Print
13soft coverkawatshrinkkarton boardhvsuv doftDoftEmbosedHot Print
14hardcoverkawat spiralshrinkkarton boardart paperuv doftGlossEmbosedHot Print
15soft coverlem tambah benangshrinkart cartoonkotan sheetuv spotDoftEmbosedHot Print
16hardcoverpotong jadishrinkart cartoonhvsuv spotGlossEmbosedHot Print
17soft coverlemshrinkkarton boardkotan sheetuv spotGlossEmbosedHot Print
18hardcoverlem tambah benangshrinkkarton boardhvsuv doftDoftEmbosedHot Print
19soft coverpotong jadishrinkart coverhvsuv doftGlossEmbosedHot Print
20soft coverpotong jadishrinkart cartoonart paperuv doftGlossEmbosedHot Print
21soft coverkawatshrinkart coverhvsuv doftDoftEmbosedHot Print
22hardcoverkawatshrinkkarton boardnews printuv spotGlossEmbosedHot Print
23hardcoverlemshrinkart coverart paperuv doftDoftEmbosedHot Print
24hardcoverlem tambah benangshrinkkarton boardhvs sheetuv doftGlossEmbosedHot Print
25hardcoverkawat spiralshrinkart coverhvs sheetuv doftGlossEmbosedHot Print
26soft coverlemshrinkkarton boardart paperuv spotGlossEmbosedHot Print
27hardcoverlem tambah benangshrinkart cartoonart paperuv doftGlossEmbosedHot Print
28hardcoverkawatshrinkart cartoonart paperuv spotGlossEmbosedHot Print
29hardcoverlemshrinkart coverart paperuv doftGlossEmbosedHot Print

Pre Processing

  1. Nominal to Binomial

Transform

Data berubah menjadi bentuk true or false

Data Mining

  1. Algoritma FP Growth
  2. Create Association Rule

Hasil

Menggunakan Algortima FP Growth untuk melihat data item yang sering muncul dapat di lihat pada table berikut ini :

SizeSupportItem 1Item 2Item 3
10.69Jenis Cover
10.448UV
10.414Jenis Kertas Isi = art paper
10.379Laminating
10.345Jenis Kerta Cover = karton board
10.345Jenis Kerta Cover = art cartoon
10.31Jenis Kerta Cover = art cover
10.276Teknik Jilid = kawat
10.207Teknik Jilid = lem tambah benang
10.207Teknik Jilid = lem
10.207Jenis Kertas Isi = hvs
10.172Teknik Jilid = potong jadi
10.138Teknik Jilid = kawat spiral
10.138Jenis Kertas Isi = kotan sheet
10.138Jenis Kertas Isi = hvs sheet
20.31Jenis CoverUV
20.31Jenis CoverJenis Kertas Isi = art paper
20.241Jenis CoverLaminating
20.241Jenis CoverJenis Kerta Cover = karton board
20.241Jenis CoverJenis Kerta Cover = art cartoon
20.207Jenis CoverJenis Kerta Cover = art cover
20.207Jenis CoverTeknik Jilid = kawat
20.172Jenis CoverTeknik Jilid = lem tambah benang
20.138Jenis CoverTeknik Jilid = kawat spiral
20.138Jenis CoverJenis Kertas Isi = hvs sheet
20.207UVJenis Kertas Isi = art paper
20.172UVLaminating
20.172UVJenis Kerta Cover = karton board
20.172UVJenis Kerta Cover = art cartoon
20.138UVJenis Kertas Isi = kotan sheet
20.172Jenis Kertas Isi = art paperLaminating
20.138Jenis Kertas Isi = art paperJenis Kerta Cover = art cartoon
20.172Jenis Kertas Isi = art paperJenis Kerta Cover = art cover
20.138Jenis Kertas Isi = art paperTeknik Jilid = lem
20.138LaminatingJenis Kerta Cover = karton board
20.138LaminatingJenis Kerta Cover = art cover
20.172LaminatingTeknik Jilid = kawat
30.138Jenis CoverUVJenis Kertas Isi = art paper
30.138Jenis CoverUVJenis Kerta Cover = art cartoon
30.138Jenis CoverJenis Kertas Isi = art paperLaminating
30.138Jenis CoverJenis Kertas Isi = art paperJenis Kerta Cover = art cover

Kemudian Data di Buatkan assosiation rulenya dengan hasil

Association Rules
[Teknik Jilid = kawat] –> [Laminating] (confidence: 0.625)
[Laminating] –> [Jenis Cover] (confidence: 0.636)
[Jenis Kerta Cover = art cover] –> [Jenis Cover] (confidence: 0.667)
[Teknik Jilid = lem] –> [Jenis Kertas Isi = art paper] (confidence: 0.667)
[UV, Jenis Kertas Isi = art paper] –> [Jenis Cover] (confidence: 0.667)
[Jenis Cover, Jenis Kerta Cover = art cover] –> [Jenis Kertas Isi = art paper] (confidence: 0.667)
[UV] –> [Jenis Cover] (confidence: 0.692)
[Jenis Kerta Cover = karton board] –> [Jenis Cover] (confidence: 0.700)
[Jenis Kerta Cover = art cartoon] –> [Jenis Cover] (confidence: 0.700)
[Jenis Kertas Isi = art paper] –> [Jenis Cover] (confidence: 0.750)
[Teknik Jilid = kawat] –> [Jenis Cover] (confidence: 0.750)
[UV, Jenis Kerta Cover = art cartoon] –> [Jenis Cover] (confidence: 0.800)
[Jenis Kertas Isi = art paper, Laminating] –> [Jenis Cover] (confidence: 0.800)
[Jenis Kertas Isi = art paper, Jenis Kerta Cover = art cover] –> [Jenis Cover] (confidence: 0.800)
[Teknik Jilid = lem tambah benang] –> [Jenis Cover] (confidence: 0.833)
[Teknik Jilid = kawat spiral] –> [Jenis Cover] (confidence: 1.000)
[Jenis Kertas Isi = hvs sheet] –> [Jenis Cover] (confidence: 1.000)
[Jenis Kertas Isi = kotan sheet] –> [UV] (confidence: 1.000)

Kesimpulan

Dari Analisa di atas dapat di simpulkan seperti berikut

  1. Setiap Teknik jilid dengan kawat maka akan laminating
  2. Setiap laminating maka akan memiih jenis cover
  3. Jenis kerta cover dengan art cover maka akan memilih jenis cover
  4. dst……