473,788 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pattern Classification Frameworks?

Hi all,

What frameworks are there available for doing pattern classification?
I'm generally interested in the problem of mapping some sort of input
to one or more categories. For example, I want to be able to solve
problems like taking text and applying one or more tags to it like
"romance", "horror", "poetry", etc. This isn't really my research
specialty, but my understanding is that Bayesian classifiers are
generally used for problems like this. I've had CRM114 recommended to
me, but as far as I can tell there aren't any python bindings for
this. From a few searches online, I've come across the Open Bayes
project which is a Python library for working with Bayesian networks,
and it also appears that DSPAM has some Python bindings, but from the
cursory look I gave it it's hard to tell how general purpose the DSPAM
engine is. Has anyone worked with any of these frameworks? Are there
any other frameworks I should be aware of?

Also, as a sidenote, are there any texts that anyone can recommend to
me for learning more about this area? I'm a mathematician by training,
so I'm not afraid to jump into reasonably advanced statistics
papers/books if necessary.

--
Evan Klitzke <ev**@yelp.co m>
Jun 12 '07 #1
4 1942
Evan Klitzke wrote:
Hi all,

What frameworks are there available for doing pattern classification?
I'm generally interested in the problem of mapping some sort of input
to one or more categories. For example, I want to be able to solve
problems like taking text and applying one or more tags to it like
"romance", "horror", "poetry", etc. This isn't really my research
specialty, but my understanding is that Bayesian classifiers are
generally used for problems like this. I've had CRM114 recommended to
me, but as far as I can tell there aren't any python bindings for
this.
I've utilized the CRM114 classifier from python. It wasn't too hard to come
up with a simple wrapping that only needs the crm114 binary somewhere. The
rest was dealt with in python.

So if CRM114 fits you needs functionalitywi se, you should go for it.

Diez
Jun 12 '07 #2
Evan Klitzke wrote:
What frameworks are there available for doing pattern classification?
I'm generally interested in the problem of mapping some sort of input
to one or more categories. For example, I want to be able to solve
problems like taking text and applying one or more tags to it like
"romance", "horror", "poetry", etc. This isn't really my research
specialty, but my understanding is that Bayesian classifiers are
generally used for problems like this.
In fact, a wide variety of classifiers are used in text classification,
including Bayesian approaches, support vector machines, conditional
random fields, etc.
Are there any other frameworks I should be aware of?
I have used (but not recently) Orange:

http://www.ailab.si/orange

I haven't used, but have been meaning to try, PyML:

http://pyml.sourceforge.net/

A more recent addition (whose documentation needs work) is:

http://montepython.sourceforge.net/

And here's a Summer of Code project to build an ML library:

http://projects.scipy.org/scipy/scip...achineLearning

These are all general-purpose machine learning frameworks. So they can
be applied to pretty much any classification problem (including the text
classification problems you're looking at). You just need to pick out a
set of relevant features to describe your data, and feed those features
along with your chosen labels to a machine learning algorithm.

STeVe
Jun 12 '07 #3
On 6/12/07, Steven Bethard <st************ @gmail.comwrote :
In fact, a wide variety of classifiers are used in text classification,
including Bayesian approaches, support vector machines, conditional
random fields, etc.
Are there any other frameworks I should be aware of?

I have used (but not recently) Orange:

http://www.ailab.si/orange

I haven't used, but have been meaning to try, PyML:

http://pyml.sourceforge.net/

A more recent addition (whose documentation needs work) is:

http://montepython.sourceforge.net/

And here's a Summer of Code project to build an ML library:

http://projects.scipy.org/scipy/scip...achineLearning

These are all general-purpose machine learning frameworks. So they can
be applied to pretty much any classification problem (including the text
classification problems you're looking at). You just need to pick out a
set of relevant features to describe your data, and feed those features
along with your chosen labels to a machine learning algorithm.

STeVe
Thanks Steven (and Diez), the projects you pointed me to look like
great places to start.

--
Evan Klitzke <ev**@yelp.co m>
Jun 12 '07 #4
Hello Evan,
What frameworks are there available for doing pattern classification?
...
Two Bayesian classifiers are SpamBayes (http://spambayes.sf.net) and
Reverend Thomas (http://www.divmod.org/projects/reverend).
IMO the latter will be easier to play with.
Also, as a sidenote, are there any texts that anyone can recommend to
me for learning more about this area?
A good book about NLP is http://nlp.stanford.edu/fsnlp/ which have a
chapter about
text classification. http://www.cs.cmu.edu/~tom/mlbook.html has some
good coverage on
the subject as well.

HTH.
--
Miki Tebeka <mi*********@gm ail.com>
http://pythonwise.blogspot.com

Jun 13 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2527
by: max | last post by:
Hello, I analyze this design pattern for a long time but I do not understand how this pattern work and what the purpose is? (I looked a this site http://www.dofactory.com/Patterns/PatternAbstract.aspx). Could anybody try to explain me in his own words how this pattern work and what the purpose is? thanks in advance
11
4309
by: FluffyCat | last post by:
In Febraury - April of 2002 I put together in Java examples of all 23 of the classic "Gang Of Four" design patterns for my website. Partly I wanted to get a better understanding of those patterns. They are still online at http://www.fluffycat.com/java/patterns.html Since September 2003 I've mainly been using PHP, and now that PHP 5 is becoming more available I am going to try the same thing I did in Java with PHP.
14
5040
by: dave.dolan | last post by:
Basically I'd like to implement the composite design pattern with leaves that are either of reference or value types, but even using generics I can't seem to avoid boxing (using ArrayList or Object) Is this even possible, or is the composite pattern doomed to use the System.Object type forever? I have tried using interfaces with generics, but I always stumble on the Value property (when trying to return the value of a particular node)
27
2056
by: jacob navia | last post by:
As Richard Bos rightly pointed out, I had left in my classification of types the C99 types Complex and boolean. Here is a new classification. Those are not mentioned in the classification of Plauger and Brody, probably because their work predates C99. Since there are no examples of this in the literature (known to me) please take a look. Thanks
6
1644
by: Grant Robertson | last post by:
I am interested in including classification info in metadata. I am aware of the Dublin Core and XMP. However, neither of these appear to specify exactly how the classification data should be formatted within the element. I am interested in any standardized formats for expressing Dewey Decimal System - DDS, Library of Congress Classification - LCC, Cutter Expansive Classification, Universal Decimal Classification - UDC, Colon Notation...
0
2132
by: buzzer | last post by:
i would like to build a software coding which can classify image and pattern using artificial neural networks the idea is it should be able to do feature extraction on a certain image (can consist of characters/pictures) and let the network learn about the difference of each extracted image and finally able to decide what the image is and classify it. is there any code for the feature extraction part?? or any coding or ideas on how to...
1
1567
by: rickycornell | last post by:
Greetings All, I had a question about OO implementation in the MVC pattern that is directed at anyone who feels experienced with it. My fuzziness comes from trying to learn OOP and MVC at the same time, coming from a procedural background where I used neither. I promise I'm not a dummy, and my logic skills are very strong, but this really is a whole new world for me.
0
993
by: | last post by:
I'm hoping someone here can point the way toward a fairly specialized topic. I have large amounts of content that need to be classified. Irrelevant or "uninteresting" (by our criterion) articles need to be disposed of. "Interesting" articles should be tagged with a number of points of metadata. As much as possible, I would like machines to do this work. Fairly dumb ways of doing this might include using our existing databases/metadata as...
8
2890
by: Chris Forone | last post by:
hello group, is there a possibility to implement the decorator-pattern without new/delete (nor smartpt)? if not, how to ensure correct deletion of the objects? thanks & hand, chris
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.