473,395 Members | 2,689 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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.com>
Jun 12 '07 #1
4 1931
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 functionalitywise, 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.com>
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*********@gmail.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
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...
11
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....
14
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...
27
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...
6
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...
0
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...
1
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...
0
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...
8
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.