The Data Mining Forum                             open-source data mining software data mining conferences Data Science for Social and Behavioral Analytics DSSBA 2022 data science journal
IMPORTANT: This is the old Data Mining forum.
I keep it online so that you can read the old messages.

Please post your new messages in the new forum: https://forum2.philippe-fournier-viger.com/index.php
 
Association Rule algorithm for XML
Posted by: eillia
Date: January 17, 2015 01:49AM

I want to apply Apriori algorithm to XML document. In this regard, to provide input, I should convert XML data to transaction/matrix form to be acceptable by the algorithm (written both in C# and Java). So far, I’ve tried to convert XML to relational format and even into excel, but the problem remained unsolved. What's the best way to do that? Any suggestion for running Apriori on XML?

Options: ReplyQuote
Re: Association Rule algorithm for XML
Date: January 17, 2015 02:33AM

These two kinds of structures are different.

An XML document is a tree.

A relational database is a table structure.

Besides, XML is a meta-language. You can use it for all kind of things : XHTML, etc..

So I don't think that there is a perfect and universal way to convert from a XML tree to a table structure and keep some useful meaning for any applications of XML. Maybe you should restrict yourself to a particular type of XML documents such as XHTML.

And I think that you should also think what kind of services you want to provide to the user? For example, if you decide to mine XHTML documents, then why? Is it to analyse text of webpages? or ... What I mean by this, is that by thinking about what is your goal for the user, it can help you about how to solve your problem. You should not mine XML documents for mining XML documents. You should think about some use case where it is useful for a user.



Edited 3 time(s). Last edit at 01/17/2015 02:36AM by webmasterphilfv.

Options: ReplyQuote
Re: Association Rule algorithm for XML
Posted by: Yassine
Date: February 23, 2015 07:48PM

Please post your code for association rule mining with XML.

Options: ReplyQuote


This forum is powered by Phorum and provided by P. Fournier-Viger (© 2012).
Terms of use.