p10 fis mamdani (tif62)ebook.repo.mercubuana-yogya.ac.id/fti/materi_doc_20161/tif62-p1… ·...

17
P10 – FIS Mamdani (TIF62) A. Sidiq P. http://sidiq.mercubuana-yogya.ac.id Program Studi Teknik Informatika Fakultas Teknologi Informasi Universitas Mercu Buana Yogyakarta

Upload: others

Post on 28-Sep-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

P10 – FIS Mamdani(TIF62)

A. Sidiq P.

http://sidiq.mercubuana-yogya.ac.id

Program Studi Teknik Informatika

Fakultas Teknologi Informasi

Universitas Mercu Buana Yogyakarta

Page 2: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Model Basis Metode Mamdani

• Di dalam model basis ini, secara umum terdapat tiga langkah :• Mendefinisikan variable

• Fuzzyfikasi

• Inferensi• Conjunction

• Disjunction

• Defuzzyfikasi (menentukan output crisp)

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Page 3: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Case StudyDiagnosis Kanker Payudara Menggunakan Metode Mamdani

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Page 4: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Step 1 - Mendefinisikan Variabel Fuzzy

• Variabel input : • V1 = BI-RADS (Breast Imaging-Reporting And Data System)

• V2 = Shape

• V3 = Margin

• Variabel Output :• V4 = Tumor

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Page 5: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

No Variabel HimpunanFuzzy

SemestaPembicaraan

Keanggotaan

1 BI-RADS Very Small (VS) [0,0-6,0] 0,0-2,1

Small (S) 1,19-3,2

Medium (M) 2,55-4,62

Large (L) 2,55-4,9

Very Large (VL) 3,62-6,0

2 Shape Very Small (VS) [0,0-4,0] 0,0-2,48

Small (S) 1,65-2,79

Medium (M) 2,0-3,0

Large (L) 2,5-3,75

Very Large (VL) 3,2-4,0

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

No Variabel HimpunanFuzzy

SemestaPembicaraan

Keanggotaan

3 Margin Very Small (VS) [0,0-5,0] 1,0-3,09

Small (S) 1,8-3,2

Medium (M) 2,5-4,2

Large (L) 3,0-4,31

Very Large (VL) 3,4-5,0

4 Tumor Jinak [0,0-1,0] 0,0-0,55

Ganas 0,5-1,0

Page 6: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Sample

Misalkan Shinta memiliki inputan• BI-RADS = 5,

• Shape = 3,

• Margin = 5.

Berapa besar potensi tumor yang dimilliki seseorang Shinta?

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Page 7: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Step 2 - Fuzzyfikasi

• µ VL (5) = 1

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

A

V1 = BI-RADS

No Variabel HimpunanFuzzy

SemestaPembicaraan

Keanggotaan

1 BI-RADS Very Small (VS) [0,0-6,0] 0,0-2,1

Small (S) 1,19-3,2

Medium (M) 2,55-4,62

Large (L) 2,55-4,9

Very Large (VL) 3,62-6,0

BI-RADS = 5

Page 8: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

• µ M (3) = 0,0

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

V2 = Shape

B

No Variabel HimpunanFuzzy

SemestaPembicaraan

Keanggotaan

2 Shape Very Small (VS) [0,0-4,0] 0,0-2,48

Small (S) 1,65-2,79

Medium (M) 2,0-3,0

Large (L) 2,5-3,75

Very Large (VL) 3,2-4,0

Shape = 3

• µ L (3) = 0,834

Page 9: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

• µ VL (5) = 1,0

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

V3 = Margin

C

No Variabel HimpunanFuzzy

SemestaPembicaraan

Keanggotaan

3 Margin Very Small (VS) [0,0-5,0] 1,0-3,09

Small (S) 1,8-3,2

Medium (M) 2,5-4,2

Large (L) 3,0-4,31

Very Large (VL) 3,4-5,0

Margin = 5

Page 10: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Step 3 - Inferensi

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Contoh rule (*)

R1 = IF BIRADS = VL AND Shape = M AND Margin = VL THEN Tumor = GANASα1 = Min (1,0 ∩ 0,0 ∩ 1,0)

= 0,0

R2 = IF BIRADS = VL AND Shape = L AND Margin = VL THEN Tumor = GANASα2 = Min (1,0 ∩ 0,834 ∩ 1,0)

= 0,834

Jumlah aturan yang sesuai

A Conjunction

Page 11: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Step 4 - Inferensi

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Contoh rule (*)

Tumor = R1(Ganas) ᴜ R2(Ganas)α = α1 ᴜ α2

= Max (0,0 ᴜ 0,834)= 0,834

Max dari variable output

B Disjunction

Komposisi semua aturan yang masuk

Page 12: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Step 5 – Defuzzyfikasi (Centroid)

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Luas daerah gabungan

Page 13: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Tentukan sekumpulan sampel titik yg digunakan untuk menemukan titik pusatgravitasi

Ex : 6 buah titik yg berada diinterval 0.5 – 1.0, yaitu 0,5; 0,6; 0,7; 0,8; 0,9; 1,0.

Page 14: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Step 6 - Kesimpulan

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Shinta terkena Tumor Ganas (nilai = 0 .858) positif terkena Penyakit Kanker

Payudara

No Variabel HimpunanFuzzy

SemestaPembicaraan

Keanggotaan

4 Tumor Jinak [0,0-1,0] 0,0-0,55

Ganas 0,5-1,0

Page 15: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

Referensi

• Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker Payudara Menggunakan Metode Mamdani, JurnalGeneric, Vol. 9, No. 1, ISSN: 1907-4093.• http://eprints.unsri.ac.id/4123/

• Andani, R.A., 2013, Fuzzy Mamdani Dalam Menentukan Tingkat Keberhasilan Dosen Mengajar, Seminar Nasional Informatika 2013 (semnasIF 2013), PP D57-D65, ISSN: 1979-2328.• http://jurnal.upnyk.ac.id/index.php/semnasif/article/download/959/843

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Page 16: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]

Page 17: P10 FIS Mamdani (TIF62)ebook.repo.mercubuana-yogya.ac.id/FTI/materi_doc_20161/TIF62-P1… · Referensi •Primartha,R. dan Fathiyah, N., 2013, Sistem Pakar Fuzzy Untuk Diagnosis Kanker

SQ - http://sidiq.mercubuana-yogya.ac.id

[email protected]