10.11.2016 Views

Learning Data Mining with Python

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Next Steps…<br />

Real-time clusterings<br />

The k-means algorithm can be iteratively trained and updated over time, rather than<br />

discrete analyses at given time frames. Cluster movement can be tracked in a number<br />

of ways—for instance, you can track which words are popular in each cluster and<br />

how much the centroids move per day. Keep the API limits in mind—you probably<br />

only need to do one check every few hours to keep your algorithm up-to-date.<br />

Chapter 11: Classifying Objects in<br />

Images Using Deep <strong>Learning</strong><br />

Keras and Pylearn2<br />

Other deep learning libraries that are worth looking at, if you are going further <strong>with</strong><br />

deep learning in <strong>Python</strong>, are Keras and Pylearn2. They are both based on Theano and<br />

have different usages and features.<br />

Keras can be found here: https://github.com/fchollet/keras/.<br />

Pylearn2 can be found here: http://deeplearning.net/software/pylearn2/.<br />

Both are not stable platforms at the time of writing, although Pylearn2 is the more<br />

stable of the two. That said, they both do what they do very well and are worth<br />

investigating for future projects.<br />

Another library called Torch is very popular but, at the time of writing, it doesn't<br />

have python bindings (see http://torch.ch/).<br />

Mahotas<br />

Another package for image processing is Mahotas, including better and more<br />

complex image processing techniques that can help achieve better accuracy, although<br />

they may come at a high computational cost. However, many image processing tasks<br />

are good candidates for parallelization. More techniques on image classification<br />

can be found in the research literature, <strong>with</strong> this survey paper as a good start:<br />

http://luispedro.org/software/mahotas/.<br />

http://ijarcce.com/upload/january/22-A%20Survey%20on%20Image%20<br />

Classification.pdf<br />

[ 306 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!