Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Preparing XML data for Apriori algorithm

eilliaeillia brisbaneMember Posts: 1

Generally, Apriori algorithm receives input in form of matrix, as in follows:

TID A B C D E T1 1 1 1 0 0 T2 1 1 1 1 1 T3 1 0 1 1 0 T4 1 0 1 1 1 T5 1 1 1 1 0

While, my input is XML data in this form :

<article key="tr/gte/TR-0263-08-94-165"> <author>Frank Manola</author> <title>An Evaluation of Object-Oriented DBMS Developments: 1994 Edition.</title> <journal>GTE Laboratories Incorporated</journal> <volume>TR-0263-08-94-165</volume> <month>August</month> <year>1994</year> </article>

How I could convert such data to a suitable form to be acceptable by the algorithm? Any suggestion.

Tagged:
Sign In or Register to comment.