Boosting Textual Source Attribution Foaad Khosmood Department of Computer Science University of California, Santa Cruz Winter 2006.

Slides:



Advertisements
Similar presentations
Who was William Shakespeare?
Advertisements

WILLIAM SHAKESPEARE ( ). No household in the English-speaking countries can be imagined without the Bible and the works of William Shakespeare.
William Shakespeare William Shakespeare. William Shakespeare was born in April 1564 in Stratford-Upon-Avon, in the centre of England. We don’t know exact.
“To be, or not to be: that is the question”-. “This above all: to thine own self be true.”-
Comedies The Tempest The Two Gentlemen of Verona The Merry Wives of Windsor Measure for Measure The Comedy of Errors Much Ado About.
A Man of Words  Who is William Shakespeare?  Shakespeare’s Life Work  Shakespeare’s Most Reproduced Works  Later Years and Death.
All men English Renaissance – Renaissance of Literature Used controversial subjects Great variety of writing – Drama – Tragedies Julius Caesar, Hamlet,
William Shakespeare “All the world 's a stage, / And all the men and women merely players.”——
Done by Yulia Belyakova, the 6 th grade.. William Shakespeare was a great poet, who wrote a lot of funny comedies and dramatic tragedies! William Shakespeare.
His Life, Time And Works  Parents: John Shakespeare and Mary Arden  Birthday celebrated April 23, 1564  Born in Stratford upon Avon  Attended the.
Shakespeare. Shakespeare Surprisingly for the world's greatest playwright, we actually know very little about Shakespeare's life. What few details we.
Who is Shakespeare? William Shakespeare
William Shakespeare is one of the best writers in the world. William Shakespeare, English writer, stage actor and director, is generally regarded as the.
By: Jamie Morgereth. Childhood Born on April 23, 1564 in Stratford-Upon- Avon Born on April 23, 1564 in Stratford-Upon- Avon Baptized on April 26,1564.
William Shakespeare 2017/4/20.
The Life and Times of William Shakespeare
WILLIAM SHAKESPEARE
The Life of William Shakespeare
William Shakespeare A PowerPoint Presentation by John McBrayer.
INTERPRETING SHAKESPEARE An introduction to the Bard and how his work has withstood the test of time Lauren Smith EDUC
William Shakespeare His Life, Time And Works Childhood  Parents: John Shakespeare and Mary Arden  Birthday celebrated April 23, 1564  Born in Stratford.
Shakespeare Overview Elizabethan England and the Bard.
William Shakepeare “All the world's a stage, and all the men and women merely players: they have their exits and their entrances; and one man in his time.
WILLIAM SHAKESPREARE By Lora Bogoeva & Veronika Popova.
Introducing: Mr. William Shakespeare. The Poet and Playwright Born: April 23, 1564 Born: April 23, : Enters Grammar School 1571: Enters Grammar.
 William Shakespeare was an English poet and playwright. He is often called England's national poet and the "Bard of Avon“. His plays have been translated.
The Life of William Shakespeare James and Liam. William Shakespeare Born: April 23, 1564 Stratford-upon-Avon, England Baptized: April 26, 1616.
SHAKESPEARE By Kieran and Holly.. HIS FAMOUS PLAYS PeriodHistory playsTragediesComediesPoems 1 Before 1594 Henry VI part 1 Henry VI part 2 Henry VI part.
ANSWER THE FOLLOWING IN YOUR WRITER’S NOTEBOOK  How does love affect your choices in life?
Elizabethan Drama Mrs. Nadia. Biographical Background  Birth: Stratford-on –Avon in 23 rd April, 1564  Father  Education  Marriage: (in 1585) to Anne.
William Shakespeare April 26, April 23, 1616 By Josh Saylors.
Shakespearean Drama.
William Shakespeare “All the world 's a stage, / And all the men and women merely players.”——
Allison Lee.  Most of the plays were produced at 1590~1613  Formed one of literature’s greatest legacies  Wrote comedies, histories, tragedies  Made.
Gymnázium Viliama Paulinyho – Tótha v Martine Učíme sa nielen z učebníc, uíme sa pre život. Kód projektu ITMS: WILLIAM SHAKESPEARE March 2014.
William Shakespeare-Immortal Poet of Nature. Stratford-on-Avon.
William Shakespeare : ( ). Stratford-on-Avon.
 – Born in Stratford-upon-Avon, Scotland  1582 – married to Anne Hathaway  1585 – moved to London  1613 – returned to Sratford 
Shakespeare Mr. Byars Freshman English. Introduction Welcome to the class Be prepared to think critically Class discussion is highly encouraged.
William Shakespeare April 23, April 23, 1616 (52 years)
Group 6: Joe Arcangelo Justin Buranich Anthony Sylvester.
Kirstie Warr.  “cultural heritage, richness in language, and universal themes” (Burnett Foster 65).  Well educated= Some knowledge of Shakespeare Why.
William Shakespeare His Life, Time And Works Childhood  Parents: John Shakespeare and Mary Arden  Birthday celebrated April 23, 1564  Born in Stratford.
Who was William Shakespeare
Introduction to William Shakespeare 6 th Grade/English 2.
Timeline of Shakespeare’s Life By Jane Yang 9F 08/26/08.
The Renaissance Period Elizabethan Era (Queen Elizabeth) SHAKESPEARE: HIS LIFE AND TIMES Adapted from
Adapted from nglish_321_S2005/Introduction.ppt William Shakespeare Part I.
WILLIAM SHAKESPEARE Learning more about the Bard Honors English III Miss Diorio.
William Shakespeare ( ) William Shakespeare ( ) Работу в ыполнил ученик 8 Б класса ГБОУ СОШ №212 Ботнарюк Роман Руководитель: учитель английского.
SHAKESPEARE IN UZBEKISTAN. WILLIAM SHAKESPEARE.
William Shakespeare was born on 26 April 1564 He was an English poet, playwright and actor He is still one of the greatest writers of all time He worked.
PresentationPresentation Group: 204-b Students: Mansurova S Egamberdiyeva G Egamberdiyeva G Asqarova Sh Asqarova Sh Usmonova S Usmonova S Subject: TOMA.
Synopsis of Shakespeare’s Comedies and Tragedies Lynn Moon Block A.
WILLIAM SHAKESPEARE’S ROMEO AND JULIET. Baptized April 26, died April 23, 1616 Stratford-on- Avon, England.
The Renaissance in English Literature ( ).
William Shakespeare Подготовил Мазепа Олег 11 “Б”.
William Shakespeare! #1.
Shakespeare Notes:.
Assoc. Prof. Dr. Sıla Şenlen
Learning more about the Bard English II Miss Diorio
LONDRA NELLA LETTERATURA INGLESE
Shakespeare Notes.
QUIZ: What do you know about Shakespeare?”
Shakespeare's creative work ..
Вилијам Шекспир Ромео и Јулија.
Shakespeare’s Plays Tragedies Antony and Cleopatra Coriolanus (Hamlet)
Life and Times of William Shakespeare
William Shakespeare “All the world 's a stage, /
Il teatro dell’invidia: René Girard legge William Shakespeare
Presentation transcript:

Boosting Textual Source Attribution Foaad Khosmood Department of Computer Science University of California, Santa Cruz Winter 2006

HEY??? What’s so funny? ► What makes something funny? ► Can we tell by just reading? Can a computer? ► Shakespeare’s Comedies and Tragedies.  Actually, Comedies, Tragedies, Historical Plays and Sonnets.

High Level Source Attribution Process

Experimenting with Boosting  Most work done on binary classification.  Needs lots of “weak” learners.  Some variants work well with limited Data Set.  Will provide knowledge about importance of features.

Data Set (Training) ► Comedies  Measure for Measure  Much Ado about Nothing  Merchant of Venice  Midsummer Night’s Dream  Taming of the Shrew  Twelfth Night ► Tragedies  Anthony and Cleopatra  Titus Andronicus  Hamlet  Julius Caesar  Romeo and Juliet

Data Set (Test) ► All’s Well that End’s Well [c] ► Comedy of Errors [c] ► As You Like It [c] ► The Tempest [c] ► Mary Wives of Windsor [c] ► King Lear [t] ► Macbeth [t] ► Coriolaunus [t] ► Othello [t]

Feature Selection ► Features: words ► Selection method: picked 2500 most common words in the Training Set ► Preprocessing: 300 common English words and grammar operators removed  HTML and stage directions removed ► 429 out of 2500 words were not common to all plays. Chose the 429 for weak learner functions. (this particular run)

TRAGEDY WORDS COMEDY WORDS 429 Words: 225(Com.), 204(Trag.) Data: Vector of 2500 words: X= [X1, X2…X2500] Weak Learners F1(X)…F429(X), each returning 1 for a positive hit.

PlayInput S [n]Ynd[t]h1[t]u[n]e1[t]d[t+1] Measure [ 2500 words ]1 +1/811 3/8 * 8/10e Much Ado [ 2500 words ]1 +1/8 3/8 * 8/6e Merchant [ 2500 words ]1 +1/8 3/8 * 8/6e Midsumme r [ 2500 words ]1 +1/8 3/8 * 8/6e Romeo [ 2500 words ] +1/81 3/8 * 8/10e Antony [ 2500 words ] +1/81 3/8 * 8/10e Titus [ 2500 words ] +1/81 3/8 * 8/10e Hamlet [ 2500 words ] +1/81 3/8 3/8 * 8/10e

Boosting ► A mix of LP Boost and TotalBoost ► No Termination (finite weak learners) ► Didn’t have a Gamma function, used Eta (error) instead. ► Didn’t use Zero Sum constraint on normalization of weight updates.

Classification Used Accumulated weights at the very end Every presense in Test Corpus means (1*W) added to totalW, some W’s negative At the end it was a simple matter of observing if the results were positive or negative and by how much.

    

    

    

Program Output ► output]#./classify.sh ► 00_allswell.html-ratio.txt: ► 01_comedyErrors.html-ratio.txt: ► 02_measure.html-ratio.txt: ► 03_muchAdo.html-ratio.txt: ► 04_asyoulikeit.html-ratio.txt: ► 05_cleopatra.html-ratio.txt: ► 06_lear.html-ratio.txt: ► 07_macbeth.html-ratio.txt: ► 08_coriolanus.html-ratio.txt: ► 09_titus.html-ratio.txt: ► 10_cleopatraFull.html-ratio.txt: ► 11_learFull.html-ratio.txt: ► 13_tempestFull.html-ratio.txt: ► 14_marryWivesFull.html-ratio.txt: ► 15_measure2.html-ratio.txt: ► 16_measureFull.html-ratio.txt: ► 17_muchAdoFull.html-ratio.txt: ► 18_veronaFull.html-ratio.txt: ► 19_othelloFull.html-ratio.txt: ► 20_titusFull.html-ratio.txt:

Results ► All’s Well that End’s Well [c][1] ► Comedy of Errors [c][1] ► As You Like It [c][1] ► The Tempest [c][1] ► Mary Wives of Windsor [c][1] ► King Lear [t][0] ► Macbeth [t][1] ► Coriolaunus [t][0] ► Othello [t][1] 2/9 mistakes, 7/9 or 77%, (also 66% and 69%) Previous run on Neural Net (different setup: 5/13 61%) - With no proportionals!

Challenges ► Natural language has a lot nuances that could make a difference (preprocessing methods, “common word” sets, adaptations) ► Boosting has great potential in this area ► Words provide easy method for coming up with (many) weak learners