<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Carin Meier on Medium]]></title>
        <description><![CDATA[Stories by Carin Meier on Medium]]></description>
        <link>https://medium.com/@carinmeier?source=rss-ee03296c2aa8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*_IvyTBivOVjGjRcL</url>
            <title>Stories by Carin Meier on Medium</title>
            <link>https://medium.com/@carinmeier?source=rss-ee03296c2aa8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 22:33:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@carinmeier/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Clojure Package for MXNet]]></title>
            <link>https://medium.com/apache-mxnet/clojure-package-for-mxnet-799f15043809?source=rss-ee03296c2aa8------2</link>
            <guid isPermaLink="false">https://medium.com/p/799f15043809</guid>
            <category><![CDATA[mxnet]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Carin Meier]]></dc:creator>
            <pubDate>Tue, 18 Sep 2018 17:29:50 GMT</pubDate>
            <atom:updated>2018-09-18T17:29:50.530Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the strengths of MXNet is its multi-language support. With the shared backend written in C, you can train, use, and scale your deep learning models with the language you are comfortable in. As of the <em>v1.3</em> release, the family of language bindings for MXNet has grown from Python, Scala, C++, Julia, Perl, and R to include Clojure.</p><p>The Clojure MXNet package opens up modern deep learning, and flexible and efficient GPU computing to Clojure users everywhere. To give you a taste of what is available, we’ll take a tour to highlight a few things you can do.</p><h3>Image Recognition</h3><p>You can load state-of-art <a href="https://mxnet.incubator.apache.org/model_zoo/">pre-trained models</a> in MXNet and quickly do predictions on images.</p><p>The function below gets the <a href="https://arxiv.org/pdf/1512.03385v1.pdf">RESNET-152</a> pre-trained model and loads it into a module. It also loads the <a href="http://data.mxnet.io/models/imagenet-11k/synset.txt"><em>synset.txt</em></a> labels for the classification categories. The function accepts an image url parameter and runs the image through the model for classification returning the top 5 probabilities with their labels.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/063ff205c3bf5347455f7e7192ceddaf/href">https://medium.com/media/063ff205c3bf5347455f7e7192ceddaf/href</a></iframe><p>Let’s see what happens when we give it the image of this tabby cat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*TbhIG3rD_sN6HY2Es1d1fA.jpeg" /><figcaption><a href="https://www.flickr.com/people/firewall/">Dustin Warrington</a> — <a href="https://www.flickr.com/photos/firewall/91092531/">Flickr</a></figcaption></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e16c6baf3178841e26ee0a828a67c9a2/href">https://medium.com/media/e16c6baf3178841e26ee0a828a67c9a2/href</a></iframe><p>We can see that the top predication accurately chooses the tabby. For the full code, you can check out the <a href="https://github.com/apache/incubator-mxnet/tree/master/contrib/clojure-package/examples/pre-trained-models">pre-trained models example</a> in the github repo.</p><p>You can also create your own models and train them with Module API. The Clojure package provides a clean way to compose your own layers. The following code constructs a network of fully connected and activation layers that can be used for training on MNIST handwritten digits.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b572ddb393f780a94185c5ba2e978406/href">https://medium.com/media/b572ddb393f780a94185c5ba2e978406/href</a></iframe><p>You can explore the<a href="https://mxnet.incubator.apache.org/api/clojure/module.html"> Clojure Module documentation</a> to learn more about training and predicting.</p><h3>Generative Models</h3><p>Generative models are available for Clojure. There is full support for GANs <em>(Generative Adversarial Networks)</em>. A great example of this is using the <a href="https://github.com/apache/incubator-mxnet/tree/master/contrib/clojure-package/examples/gan">MNIST handwritten digits example</a>. From a training set of digits, you can see the program gradually start to generate more and more realistic images as the training progresses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*y9xvF-lcCf1L9Dws45cfNQ.gif" /></figure><h3>Natural Language Processing</h3><p>With the Clojure package, you can also do deep learning with text. There is an example to get you started using <a href="https://github.com/apache/incubator-mxnet/tree/master/contrib/clojure-package/examples/cnn-text-classification">convolutional neural networks for sentence classification using movie reviews</a>.</p><p>You can also explore using RNNs (Recurrent Neural Networks) to generate text from a corpus with this <a href="https://github.com/apache/incubator-mxnet/tree/master/contrib/clojure-package/examples/rnn">example</a>. The program starts with no knowledge of language or language rules. It just trains on the text of a corpus of Obama’s speeches by taking one character and trying to predict what character comes next. Gradually, over the course of many epochs, it learns how to generate sentences. When given some starter text of <em>“The joke” </em>it produces something that is surprisingly good.</p><blockquote>The joke before them prepared for five years ago, we only hear a chance to lose our efforts and they made striggling procedural deficit at the city between a politics in the efforts on the Edmund Pett</blockquote><h3>Wrap Up</h3><p>The Clojure API for MXNet opens up exciting opportunities for the Clojure community to get involved with deep learning in the language you love. Dive in and get started today with the <a href="http://mxnet.incubator.apache.org/api/clojure/index.html">online </a>and the <a href="https://github.com/apache/incubator-mxnet/tree/master/contrib/clojure-package">project documentation</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=799f15043809" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apache-mxnet/clojure-package-for-mxnet-799f15043809">Clojure Package for MXNet</a> was originally published in <a href="https://medium.com/apache-mxnet">Apache MXNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>