Tag: Mathematica

Using OpenAI from Mathematica: Part-3

Written by on February 21, 2025 in Mathematica, OpenAI, Programming with 0 Comments
Using OpenAI from Mathematica: Part-3

Let us continue our discussion on using Mathematica to interact with OpenAI (you may want to go through the earlier article as well). The simplest function to interact with the LLM is LLMSynthesize[]. As you might have guessed, this is a “sync” (non-streaming) call. What if you expect a long response and you don’t want […]

Continue Reading

Mathematica: Using TextCases to Extract Information from Natural Language Text 

Written by on September 13, 2020 in Mathematica, Natural Language Processing, Programming with 0 Comments
Mathematica: Using TextCases to Extract Information from Natural Language Text 

Extracting meaningful information from unstructured, human readable text is a hot topic of research today and has important applications in many domains. I have written a few blogs related to this topic, for example, see this and this. In today’s article, I would like to show how Mathematica can be a great help when working with […]

Continue Reading

Pattern Matching: Comparing Elixir and Mathematica

Written by on August 16, 2020 in Elixir, Mathematica, Programming with 0 Comments
Pattern Matching: Comparing Elixir and Mathematica

One of the things I like about Elixir is its support for patterns at the core language level, not through library functions as in most other languages. This contributes to writing cleaner code, in my opinion.   Another environment that I am familiar with, namely Mathematica, boasts of (arguably) the most powerful symbolic programming language called […]

Continue Reading

Currying in Mathematica

Written by on May 19, 2019 in LISP, Mathematica, Programming with 0 Comments
Currying in Mathematica

One of the more recent additions to the core Wolfram Language is the “Curry” function. It was introduced in Mathematica ver 11.3 and is still (as of ver 12.0) considered Experimental. In this post, I would like to go over this function briefly. Non-curried functions in Mathematica have to be invoked with the arguments (both […]

Continue Reading

Question Answering in Mathematica

Written by on March 25, 2018 in Mathematica, Natural Language Processing, Programming with 1 Comment
Question Answering in Mathematica

About 10 days ago, I received an update for Mathematica. The latest version is 11.3.0. As usual, I looked through the list of new features in this release. There are several new features, but one of them attracted my attention immediately: There is a new function FindTextualAnswer that, given a piece of text and a question, can […]

Continue Reading

Analysing Screenplay with Mathematica

Written by on January 1, 2018 in Mathematica, Programming with 0 Comments
Analysing Screenplay with Mathematica

I have a close relative who is an aspiring movie screenplay writer. During one of our recent meetings, he shared with me with a lot of interesting information about screenplay writing and its challenges. He even lent me a few good books to read further. One of the books is Essentials of Screenwriting by Richard […]

Continue Reading

Checking Image Overlap with Mathematica – Part 3

Written by on January 16, 2017 in Image Processing, Mathematica, Programming with 0 Comments
Checking Image Overlap with Mathematica – Part 3

This is the  third and the last in the series of articles on checking image overlap using Mathematica. Let us take a quick look at the images that we are using as samples (image1 and image3 in the first row, image3 and image4 in the second row): The first technique we will consider today is […]

Continue Reading

Checking Image Overlap with Mathematica – Part 2

Written by on December 25, 2016 in Image Processing, Mathematica, Programming with 0 Comments
Checking Image Overlap with Mathematica – Part 2

In the previous post, we discussed one technique to check the overlap between two given images of equal dimensions. In today’s post, let us look at another idea that uses Mathematica’s ImageCorrespondingPoints function. As per the documentation, the ImageCorrespondingPoints function finds a set of matching interest points between two given images and returns their coordinates. Internally […]

Continue Reading

Cloud Computing with Mathematica

Written by on October 11, 2016 in Mathematica, Programming with 1 Comment
Cloud Computing with Mathematica

Mathematica provides excellent support for cloud computation, and most of the time, it is a very simple and intuitive process. Today, let us look at some examples of cloud deployment. For using Mathematica’s cloud capabilities, you need an appropriate subscription. I use Mathematica Desktop, which comes with some free cloud credits. OK, let us get […]

Continue Reading

Computer Vision with Mathematica

Written by on September 26, 2016 in Machine Learning, Mathematica, Programming with 0 Comments
Computer Vision with Mathematica

Over the past several weeks, I have been discussing many interesting features of Mathematica. As a continuation, today, I would like to show some cool functionality in the domain of computer vision and machine learning. The function ImageIdentify[] tries to identify the object in the given image. According to the documentation, Mathematica knows about more […]

Continue Reading

Top