For the last four years I’ve been working on a book for programmers who want to learn mathematics. It’s finally done, and you can buy it today.
The website for the book is pimbook.org, which has purchase links—paperback and ebook—and a preview of the first pages. You can see more snippets later in the book on the Amazon listing’s “Look Inside” feature.
If you’re a programmer who wants to learn math, this book is written specifically for you! Why? Because programming and math are naturally complementary, and programmers have a leg up in learning math. Many of the underlying modes of thought in mathematics are present in programming, or are otherwise easy to explain by analogies and contrasts to familiar concepts in software. I leverage that in the book so that you can internalize the insights quickly, and appreciate the nuance more deeply than most books can allow. This…
View original post 299 more words
React.js is a great library for creating user interfaces consisting of components. In the browser React is used to output DOM elements like divs, sections and.. SVG! The DOM supports SVG elements, so there is nothing stopping us from outputting it inline directly with React. This allows for easy creation of SVG components that are updated with props and state just like any other component.
Even though a lot is possible with plain CSS, creating complex shapes like hearts or elephants is very difficult and requires a lot of code. This is because you are restricted to a limited set of primitive shapes that you have to combine to create more complex ones. SVG on the other hand is an image format and allows you a lot more flexibility in creating custom paths. This makes it much easier to create complex shapes as you are free to create any…
View original post 616 more words
Update August 15, 2015: I am closing comments on this post since it is was written on December 3, 2010, about 5 years ago now, and people are still trying to comment and I’m tired of moderating the comments on this, and the new comments aren’t adding much that hasn’t been said before. Feel free to write your own post on your own blog on this topic. FWIW, I think that what I wrote in this post 5 years ago is probably not correct. Original post follows:
If you haven’t tried cleverbot, go ahead and try cleverbot out now.
It’s supposedly an Artificial Intelligence with which you communicate by typing, much like Eliza. You type at it, and it types back at you. The conceit is that it’s a machine intelligence. It’s just cogent enough to make you wonder how in the hell it works, while just…
View original post 549 more words
Image segmentation is the task in which we assign a label to pixels (all or some in the image) instead of just one label for the whole image. As a result, image segmentation is also categorized as a dense prediction task. Unlike detection using rectangular bounding boxes, segmentation provides pixel accurate locations of objects in an image. Therefore, image segmentation plays a very important role in medical analysis, object detection in satellite images, iris recognition, autonomous vehicles, and many more tasks.
With the advancements in deep learning methods, image segmentation has greatly improved in the last few years; in terms of both accuracy and speed. We can now generate segmentations of an image within a fraction of a second and still be very accurate and precise.
The Goal of this Post
Through this post, we’ll cover the intuition behind some of the main techniques and architectures used in image segmentation…
View original post 3,274 more words
Applying probabilistic models to data usually involves integrating a complex, multi-dimensional probability distribution. For example, calculating the expectation/mean of a model distribution involves such an integration. Many (most) times, these integrals are not calculable due to the high dimensionality of the distribution or because there is no closed-form expression for the integral available using calculus. Markov Chain Monte Carlo (MCMC) is a method that allows one to approximate complex integrals using stochastic sampling routines. As MCMC’s name indicates, the method is composed of two components, the Markov chain and Monte Carlo integration.
Monte Carlo integration is a powerful technique that exploits stochastic sampling of the distribution in question in order to approximate the difficult integration. However, in order to use Monte Carlo integration it is necessary to be able to sample from the probability distribution in question, which may be difficult or impossible to do directly. This…
View original post 196 more words
I would like to do more articles explaining a little bit about all the machine learning and deep learning basics. I’m a beginner in this area, but I’d like to explain soon these concepts to create some interesting AI models.
Nevertheless, we don’t need a deep knowledge about machine learning to use some existing models. We can use some libraries like Keras, Tensorflow or TensorFlow.js. We are going to see here how to create basic AI models and use more sophisticated models with TensorFlow.js.
Although it’s not required a deep knowledge, we are going to explain few concepts.
What is a Model?
Or maybe a better question would be: ‘What is the reality?’. Yes, that’s quite complex to answer… We need to simplify it in order to understand it!
A way to represent a part of this simplified “reality” is using a model. So; there are infinity kind of models: world…
View original post 1,790 more words
Shannon Stirone | Longreads | March 2018 | 22 minutes (5,546 words)
The power has just gone out in mission control. I look to Jim McClure, operations manager at the Space Flight Operations Facility, and he assures me that everything is fine. A power outage like this hasn’t happened at NASA’s Jet Propulsion Laboratory in nearly eight years, and while it’s only been out for a few seconds, the Deep Space Network is disconnected and NASA has temporarily lost contact with Cassini, the nearly 20-year-old space probe in orbit around Saturn, as well as all spacecraft beyond the moon.
We’re standing in JPL’s mission control, known simply as the Dark Room to those who work here. Five men and women are glued to their screens, the artificial pink-and-white glow highlighting their faces. I’ve been here twice before, but I have never seen this many people running the consoles. The operators…
View original post 5,594 more words