machine learning and quran - the meccan and medinan verses

17
Is Machine Learning useful for Quranic Studies? Abdul Baqi M. Sharaf

Upload: abdul-baqi-sharaf

Post on 19-Jul-2015

1.356 views

Category:

Education


4 download

TRANSCRIPT

Page 1: Machine Learning and Quran - The Meccan and Medinan Verses

Is Machine Learning useful for Quranic Studies?

Abdul Baqi M. Sharaf

Page 2: Machine Learning and Quran - The Meccan and Medinan Verses

manual counting! excerpt from Ibn Kathir introduction

2

Page 3: Machine Learning and Quran - The Meccan and Medinan Verses

manual investigation! excerpt from badae' al-Fawaed by Ibn al-Qayyem

3

Page 4: Machine Learning and Quran - The Meccan and Medinan Verses

Quranic Resources

Page 5: Machine Learning and Quran - The Meccan and Medinan Verses

tanzil.net

• highly verified precise Quran text

• many translations:

http://tanzil.net/trans/

Page 6: Machine Learning and Quran - The Meccan and Medinan Verses

http://corpus.quran.co

m/

annotated linguistic resource which

shows the Arabic grammar, syntax

and morphology for each word in

the Holy Quran

Page 7: Machine Learning and Quran - The Meccan and Medinan Verses

Classification of

Surahs into Makki and

Madani

Page 8: Machine Learning and Quran - The Meccan and Medinan Verses

Makki and Madani * Debatable cases

8

Page 9: Machine Learning and Quran - The Meccan and Medinan Verses

Features [1/2]

verse of "sajdah" (prostration)

the aversion letter "kalla"

the phrase "Ya Ayyuha al-Naas"

the phrase "Ya Ayyuha

alladhina "

surahs with initials

story of Adam and Iblis

stories of previous nations

9

Page 10: Machine Learning and Quran - The Meccan and Medinan Verses

Features [2/2]

linguistic tools for denunciation,

excoriation, emphasis and oath

length of ayaat

eschatological topics

Jihad and battles of Islam

rulings on marriage and nursing

dialogue with ahl al-Kitab

pillars of Islam

10

Page 11: Machine Learning and Quran - The Meccan and Medinan Verses

Reduction to

computation

representation

Verses of Sajdah (K)-> search for

root “Sjd” -<< Noise: “al-masjid al-

Haraam” in Surah al-Baqarah

Quranic Initials (K) -<< Noise:

Surah al-Baqarah, ar-Raad

eschatological topics (K)-> Search

for: roots “Jannah”, “Jahannam”,

etc. <<- Noise: many occurance in

Surah Baqarah (D)

Jihad and battles of Islam (D) ->

Search for “jhd”, “qtl” <<- Noise: “

wa aqsamu billahe Jahda

aymanihim..” (Nahl)

11

Page 12: Machine Learning and Quran - The Meccan and Medinan Verses

Weka Representation

12

Page 13: Machine Learning and Quran - The Meccan and Medinan Verses

Decision Trees13

Page 14: Machine Learning and Quran - The Meccan and Medinan Verses

Decision Trees14

Top: random tree

Bottom: J48

Page 15: Machine Learning and Quran - The Meccan and Medinan Verses

Classifier outcome 15

13 – ar-Ra’d

55 – ar-Rahman

76 – al-Insaan

98 – al-Bayyenah

99 – al-Zalzalah

110 – an-Nasr

Page 16: Machine Learning and Quran - The Meccan and Medinan Verses

Clustering

16

Page 17: Machine Learning and Quran - The Meccan and Medinan Verses

Identify problem

• Suitable for machine learning

Identify feature sets

• Domain knowledge

• Existing books

Reduce to machine learning format

• Be aware of noise and inaccuracy

Run experiments

• Training set vs. Test set

Interpret results

• Verify and validate by domain experts

Machine Learning

Journey