Python, Jython, and AI

Continuing this week’s theme of Python for AI… A lot of AI programmers, including some serious Lisp hackers, have adopted Java as their Lisp replacement. They might be interested in checking out Jython, a 100% pure Java Python interpreter. Jython allows importing of Java packages directly as modules in Python, and gives all the advantages of the Python interpreter: an interactive prompt, dynamic typing, etc. So if your work already relies on an existing Java codebase, like Weka, you can keep using it, while using Python for rapid prototyping and investigation.

The first chapter of O’Reilly’s Jython Essentials does a great job of both introducing Jython and discussing the differences between Python and Java.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: