Apriori C# Implementation Download

starstarstarstarstarstarstarstarstarstar Rating: 0/5 (0 vote cast) print
Dear Kingsley:

From what I have understood by reading the messages in the forums and by browsing through the site is that you have implemented a version of Apriori in C#. However I have not managed to find the file neither on the web site nor on any of the posts in the forum. Clearly it is also not located in thes forum where the source code is supposed to be.

So if my assumptions are correct, can you help me find the source code of your Apriori implementation in this site? If it is not, is it possible to send it through email?

I have downloaded the .NET_Framework project, however I cannot find something the can be used inside, except from the data class, correct me if I am wrong. Also I cannot run the project since I get to the same error message about cryptography (?) that another user in this forum got as well with no response about the solution.

I have also downloaded VBDMNaiveBayes and VBDMOneRule which is very good work, however not in the association rule area which is the field of my research.

Thanks in advance Kingsley. I am waiting for your reply to tell me if you have an Apriori implementation and if yes, how can I get it, of course if you are willing to share it.

Thanks in advance
Angelo Chatzigiannakis
Data Mining PhD student
Panteion University
Athens Greece
Tel: +30-210-6848126
Email: hellasangel@freemail.gr
 : hellasangel     Reply  

Replies (32)

profile
KINGSLEY TAGBO

Hi :

That particular version has been retired. I have re-written the component and the new version is in Beta Release.

I would post a release note when it is no longer in Beta version.

Thanks


I'm MCA student.I'm doing project in data mining.Now i'm in need of Apriori algorithm.If U are intersted in sending me the code,please send the source code to my email-id:

t_d_viji@yahoo.co.in

Advance Thanks


profile
KINGSLEY TAGBO

I have released the algorithm with all the source code. You can download it from this forum


profile
KINGSLEY TAGBO

Hi:

Just comment out the line [assembly: AssemblyKeyFile("")] in the file named AssemblyInfo.cs.

Thanks


Hi,

I have downloaded the code and It has run with a XML archive but in the part where Iwrite the databaseconnection string and push ANALYZE I obtain an error message. I dont know what I should do.

Please Help me.

Visitor

: eanchund    Reply

hai ,

i am anMCA student .i need this apriori alogorithm in vb.u said that it wasreleased by u in this forum.i am not able to find that code.can uplease send it to my mail?.its urgent,pls help me.my mail id

jeykarthi@yahoo.com

: jeykarthi    Reply

***** HELP PLEASE ******I downloaded the file of csharp_net_shopp?ng_cart_data_mining_component.zip. But I'm not using the program. Because i couldn't make a XML file.Do you send me a sample XML file?kurt_erh [at] hotmail.com

: kurt_erh    Reply

DO YOU HEAR ME?

: kurt_erh    Reply

profile
KINGSLEY TAGBO

JEYKARTHI:

You can download the APriori Algorithm code at http://www.kdkeys.net/forums/thread/2043.aspx

[quote user="jeykarthi"]hai ,

i am an MCA student .i need this apriori alogorithm in vb.u said that it was released by u in this forum.i am not able to find that code.can u please send it to my mail?.its urgent,pls help me.my mail id

jeykarthi@yahoo.com

[/quote]


profile
KINGSLEY TAGBO

Hi Wedo:

As far as I understand, the development is done in C# and not VB.NET.

All you need to do to remove the error is to comment out the error message. In C#, this is done by putting a double forward slashin front of the code like this: // this line is commented

I believe I am using ADO.NET which works in disconnected mode fashion

The code works both on the database and on XML format

I have not updated Agrawal's algorithm, I just implemented a basic version of it.

The questions are okay. I will try as much as possible to answer them.

Regards

[quote user="Wedo"]

Hi,

I am a new researcher in data mining and I've downloaded your apriori implementation in C#.

I've faced the cryptographic error but I couldn't understand what do you mean by remarking the line that refers to the missing key in AssembliInfo.vb (AssemblyKeyFile)

Since this is published years ago, I wonder do you have a newer version?

Are you using VB.net not C#.net?

Are you using ADO.net technique, do you work on a connected or disconnected database?

Is your code must work on XML file or it could work on a database with any format?

Have you made any updating on the Apriori algorithm which was first propoased by Agrawal?

Sorry for asking so many questions but I hope you could help me.

Thanks inadvance.

[/quote]


Dear Sir,

Thank you verymuch for your reply.

I have commented out the line [assembly: AssemblyKeyFile("")] in the file named AssemblyInfo.cs, but I still got the same error then I commented out the whole file but didn't work.

Could it be an error in the version of the .Net I use, I use(.Net2003)

I appreciate your help in that .

I also want to know,have youused an OLEDB object to define the data, can I use SQL data?

Thanks inadvance

: Wedo    Reply

Dear Kingesly,

Now I have tried to execute the code, there was no errors but

The first form doesn't include any buttons just a data view

So I created the buttons and transfere the code

The data connection button works but when I click on OK button, the program doesn't work and I have to terminate it

Could you help me in this?!

I have another question

Is there any tutorial explain the functions and classes used?

Thanks in advance

: Wedo    Reply

Dear Wedo:

There is a Windows GUI FrontEnd that includes a functional button you can use to execute the program.

You don't have to create a GUI.

Also, there are no tutorials for the program. This is largely a demonstration program I created many years ago and as such it is for the most part un-supported.

Thanks

: Dr. Who    Reply

profile
KINGSLEY TAGBO

I believe I have answered this question.

There is a Windows GUI that comes with the application which you can use.

There is no tutorial for this application.

Thanks 


Dear Sir,

Now I have no problem in executing the program but I don't understand what kind of database should I apply it on.

For the transactions method should the DB contains 2 tables, one for the items & the other for the transactions itself?

When you say DB you mean working on a certain table in the DB or on the whole system

If you could please give me example on the NorthWind DB explaining what do we mine, I mean for the min. support what attribute is it on? as I couldn't understand association rules generated in the output.

Thanks in advance

: Wedo    Reply

Dear Sir,

During my trials to execute the program, I have read the XML files but as far as I know the database should contain 2 tables one for the items and one for the transactions

but I found out that there are more tables so why do I have a table that generates the count of items isn't supposed to be generated during generating the candidates?! 

: Wedo    Reply

Hi,

I faced the problem u faced before as I can't operate the code with database file

Did you solve this problem?

If u did please tell me what to do?

Thanks

: Wedo    Reply

hi i want a apriori algo.. can u help me to download??? PLZ PLZ PLZ if so mail me at kishorekumar60@gmail.com..

: kisy    Reply

profile
KINGSLEY TAGBO

Hi :

The existing Apriori Algorithm is a commercial version. I have a new beta version of the algorithm implemenation in C#.

The cryptography error can be taken care of by remarking the line that refers to the missing key in AssembliInfo.vb (AssemblyKeyFile)

We are close to launching a new site dedicated to Data Mining (2 weeks) and we will be providing more information about data mining algorithm implementation at the new site


Dear Kingsley Tagbo:

Thanks for the reply. One more question: Does the commercial version of Apriori come with the C#.NET code? If yes how much does it cost? I have seen a link before a couple of months where the cost was $30. Is this still the same?

Thanks in advance

Angelo


Hi! i have downloaded the Apriori implementation in C# and am getting the error " Cryptographic failure while signing assembly ". Plz let me know how can i remove this error, cuz i do not understand what it is saying.

Thanx in advance

: hhusyn    Reply

Hi,

I am a new researcher in data mining and I've downloaded your apriori implementation in C#.

I've faced the cryptographic error but I couldn't understand what do you mean by remarking the line that refers to the missing key in AssembliInfo.vb (AssemblyKeyFile)

Since this is published years ago, I wonder do you have a newer version?

Are you using VB.net not C#.net?

Are you using ADO.net technique, do you work on a connected or disconnected database?

Is your code must work on XML file or it could work on a database with any format?

Have you made any updating on the Apriori algorithm which was first propoased by Agrawal?

Sorry for asking so many questions but I hope you could help me.

Thanks inadvance.

: Wedo    Reply

Dear Kingesly,

Thank you for your code, it is really helpful.

I was working on your code and I was trying to create my own main function but when I was calling the MarketBasketAnalysis function that takes the Xml file path, it didn't accept the path and produce error (unexpected escape sequence), the same error was produced when I use the same function that takes connection string as an argument, can u tell me why this error could occur?

Thank you very much

I appreciate your help

: Wedo    Reply

Dear Kingsley,

Thank you for your code, it was really helpfull.

When I execute it I found that, if I choose the XML File path it works properly

But in the database option I have to write a connection string, I put a path to a database file (.mdb) it didn't work. When I put the Sql Path to Northwind database, it didn't work too.

Could you give me an example, what should I write in the connection string textbox

Thank you very much, I appreciate your help

: Wedo    Reply

Hi Kingsley,
Many thanks for your contribution, it does help the community a lot if more ppl like you could contribute ;)
I looked at your code and tested the sample program, I just like to ask in the examples .xml file.
Which do I change to add in my own terms or objects? I'm looking for a text clustering algorithm
which can tell me the similiary between words, wonder if this is the right one.
Cheers.

: xorion    Reply

Hello Mr. Kingsley.

can you tell me how can I exwcute the program.I  connected to the data but when Ipress the analyze button I the message  <System.IO.FileNotFoundException: Could not load file or assembly 'ShoppingCartSalesDataMining, Version=1.0.1117.36028, Culture=neutral, PublicKeyToken=a59e2f581e854ade' or one of its dependencies. The system cannot find the file specified.
File name: 'ShoppingCartSalesDataMining, Version=1.0.1117.36028, Culture=neutral, PublicKeyToken=a59e2f581e854ade'>

I commented  out the assembly line but it didnt work out. And also there is two Assembly.info.cs files which one should I comment out the line. I tried tocomment out the line in the two files.

thanks

: bolastore    Reply

This is amazing code. keep up the good work.[Y]

: boozereddy    Reply

Goodday Kingley,

 Thanks for the link for the code. I would like to find out if you have the latest version of this string maching algorithm in C/C++ codes but not in VB.

 

Do you have the C/C++ code types please. If you have the C codes, can you please give me aceess to download that type pleas.

 

Thanks.

 

Dav 


[quote user=hellasangel]Dear Kingsley:From what I have understood by reading the messages in the forums and by browsing through the site is that you have implemented a version of Apriori in C#. However I have not managed to find the file neither on the web site nor on any of the posts in the forum. Clearly it is also not located in thes forum where the source code is supposed to be.So if my assumptions are correct, can you help me find the source code of your Apriori implementation in this site? If it is not, is it possible to send it through email?I have downloaded the .NET_Framework project, however I cannot find something the can be used inside, except from the data class, correct me if I am wrong. Also I cannot run the project since I get to the same error message about cryptography (?) that another user in this forum got as well with no response about the solution.I have also downloaded VBDMNaiveBayes and VBDMOneRule which is very good work, however not in the association rule area which is the field of my research.Thanks in advance Kingsley. I am waiting for your reply to tell me if you have an Apriori implementation and if yes, how can I get it, of course if you are willing to share it.Thanks in advanceAngelo ChatzigiannakisData Mining PhD studentPanteion UniversityAthens GreeceTel: +30-210-6848126Email: hellasangel@freemail.gr[/quote]


[quote user=hellasangel]Dear Kingsley:From what I have understood by reading the messages in the forums and by browsing through the site is that you have implemented a version of Apriori in C#. However I have not managed to find the file neither on the web site nor on any of the posts in the forum. Clearly it is also not located in thes forum where the source code is supposed to be.So if my assumptions are correct, can you help me find the source code of your Apriori implementation in this site? If it is not, is it possible to send it through email?I have downloaded the .NET_Framework project, however I cannot find something the can be used inside, except from the data class, correct me if I am wrong. Also I cannot run the project since I get to the same error message about cryptography (?) that another user in this forum got as well with no response about the solution.I have also downloaded VBDMNaiveBayes and VBDMOneRule which is very good work, however not in the association rule area which is the field of my research.Thanks in advance Kingsley. I am waiting for your reply to tell me if you have an Apriori implementation and if yes, how can I get it, of course if you are willing to share it.Thanks in advanceAngelo ChatzigiannakisData Mining PhD studentPanteion UniversityAthens GreeceTel: +30-210-6848126Email: hellasangel@freemail.gr[/quote]


HelloI am working on a new method based on Apriori for my final M.Sc project but i have the issue of Apriori Implementation and testing.I need Apriori implementation in Java or C# or C++.Can you send me your apriori implementation?Sorry for my bad englishRegard GheysariComputer and Engineering Department Of IAUM ( http://www.kdkeys.net/apriori-c-implementation-download/#link-6764 )

: hamid_676    Reply

my E-mail : hamid.676@gmail.com

: hamid_676    Reply

Hi,

The code seems to work even when converted in VS 2012. I however get a blank datagrid after clicking on Analyze even when I enter a low support and confidence number. I am using the Northwind XML option

: kangz    Reply


Post A Reply

 Questions & Answers