Wolfram Computation Meets Knowledge

Computational Thinking

Computation & Analysis

Deploy a Neural Network to Your iOS Device Using the Wolfram Language

Today’s handheld devices are powerful enough to run neural networks locally without the need for a cloud server connection, which can be a great convenience when you’re on the go. Deploying and running a custom neural network on your phone or tablet is not straightforward, though, and the process depends on the operating system of the machine. In this post, I will focus on iOS devices and walk you through all the necessary steps to train a custom image classifier neural network model using the Wolfram Language, export it through ONNX (new in Version 12.2), convert it to Core ML (Apple’s machine learning framework for iOS apps) and finally deploy it to your iPhone or iPad.

Computation & Analysis

Data Science at Home: Leverage Wolfram’s Device Integration to Analyze Your Vehicle’s Performance

Cars are getting smarter and more connected, yet how much have you explored the technology that helps run our vehicles? I was curious to see how I could connect to my vehicle’s communication center and what kind of interface I could create in Wolfram Notebooks to report on the data gathered.

Computation & Analysis

Simulating Zero Gravity to Demonstrate the Dzhanibekov Effect and Other Surprising Physics Models

Explore the contents of this article with a free Wolfram System Modeler trial. Wolfram System Modeler 12.2 was just released, featuring things such as personalization of plots, new model libraries and extended GUI support for advanced modeling. One of the other additions is a new workflow for generating 3D models from 3D shapes. We will use this feature to illustrate some bizarre and counterintuitive physics.

Announcements & Events

Crop Production Forecasts and Groundwater Trends Based on the Predator–Prey Model

Ever since Thomas Robert Malthus’s book An Essay on the Principle of Population, scientists have sought to determine the limit to the growth of human population due to finite resources. One such resource is groundwater. About 40% of global food production ultimately depends on irrigation and, increasingly, the source of irrigation water is groundwater aquifers. Groundwater irrigation allows farmers to increase crop yields, maintain them in dry spells and overcome temporal mismatches between growing seasons and seasonal rain. In many parts of the world, groundwater withdrawal (or pumping from wells) exceeds recharge, leading to groundwater depletion. In these regions, the “lifespan” of groundwater aquifers is limited, putting a bound on the amount of irrigation per year and the sustainability of groundwater-based agriculture. The goal of this study was to propose a dynamical systems framework capable of explaining past trends in groundwater-based irrigation and providing forecasts of food production.

Announcements & Events

A Virtual Face-off: Replaying the 2020 Livecoding Championship

In early October, by what at this point can only be a time-honored tradition, the Livecoding Championship returned in its fifth annual iteration as a special event during the 2020 Wolfram Technology Conference. As in preceding years, the championship offered top Wolfram Language programmers a chance to show off their knowledge, agility, typing speed and documentation-reading skills to an unfailingly adoring audience.

Follow along with this post by watching this recorded video of the 2020 Livecoding Championship livestream!

Education & Academic

Online Enrichment with Free Daily Study Groups

Students are spending countless hours online for classes this year, pushing educators to offer more engaging and worthwhile virtual content. We debuted Wolfram Daily Study Groups in early April with this in mind, and the results have far surpassed our expectations! Throughout this ongoing program, we’ve been able to keep students, professionals and lifelong learners engaged and connected in an enriching online community. With several Study Groups completed, and more in the works, we thought we’d share some of our successes so far.

Best of Blog

How Odd Was the Full Moon on Halloween 2020? Once in a Blue Moon and a Lifetime!

Halloween this year had a surprise up its sleeve. In rare celestial serendipity, the night of costume metamorphosis also featured a full moon, which helped to conjure the spooky mood. Because it might have been the first and last full-moon Halloween that some people witnessed in their lifetime (cue ominous music), I think it was significantly underrated. Moreover, it was the day of a blue moon (the second full moon within a month), but that is not a surprise, as any Halloween’s full moon is always a blue moon. The Moon’s color did not change, though, at least for those away from the smoke of volcanos and forest fires that are capable of turning it visibly blue. To appreciate the science and uniqueness of a full moon this Halloween, I built this visualization that tells the whole story in one picture. This is how I did it.

Best of Blog

The Winners of the 2020 One-Liner Competition

Although this year’s Wolfram Technology Conference was virtual, that didn’t stop us from running the ninth annual One-Liner Competition, where attendees vie to produce the most amazing results they can with 128 or fewer characters of Wolfram Language code. Here are the winners, including an audio game, a hands-free 3D viewer and code that makes up countries.

Computation & Analysis

Playing Cards with Alice and Bob: Using Secure Multi‑Party Computation and the Wolfram Language to Determine a Winner

While catching up with my old friends Alice and Bob on Zoom a few days ago, I became intrigued by their recent card game hobby—and how they used the Wolfram Language to settle an argument. To figure out who gets to go first at the start of the game, they take one suit (spades) from a full deck, and each draws a card. Then, the person with the highest card value wins. Because they are using only one suit, there can be no ties. Simple, right?