A Visual Intro to NumPy and Data Representation

A Visual Intro to NumPy and Data Representation

NumPy handles those as position-wise operations:

We can get away with doing these arithmetic operations on matrices of different size only if the different dimension is one (e.g. the matrix has only one column or one row), in which case NumPy uses its broadcast rules for that operation:

A key distinction to make with arithmetic is the case of matrix multiplication using the dot product. For example, consider the mean square error formula that is central to supervised machine learning models tackling regression problems:

Implementing this is a breeze in NumPy:

The beauty of this is that numpy does not care if and contain one or a thousand values (as long as they’re both the same size). So before feeding a sequence of words to a model, the tokens/words need to be replaced with their embeddings (50 dimension word2vec embedding in this case):

You can see that this NumPy array has the dimensions [embedding_dimension x sequence_length].

Source: jalammar.github.io

HTML Is the Web

HTML Is the Web

So many that I’ve spoken to have answered questions about HTML with things like “Oh, I do everything in React or Vue these days”. If you don’t think the semantic structure of your Web page or app is important then you’re essentially saying “Well, it works for me in my browser, ship it”. If you call yourself a frontend engineer, it’s your responsibility to learn and use the basics – the one thing that’s common across every browser, platform, device or household appliance that can access the Web.

Source: www.petelambert.com

Innovations in Graph Representation Learning

Innovations in Graph Representation Learning

Our new method for automatic hyper-parameter tuning, Watch Your Step, uses an attention model to learn different graph context distributions. Shown above are two example local neighborhoods about a center node (in yellow) and the context distributions (red gradient) that was learned by the model. The left-side graph shows a more diffused attention model, while the distribution on the right shows one concentrated on direct neighbors.

Source: ai.googleblog.com

Scale AI is hiring engineers to accelerate the development of AI

Scale AI is hiring engineers to accelerate the development of AI

Our mission is to make that happen faster, across every industry. One of the biggest bottlenecks for real world AI applications is access to labeled data. Our first product is the most developer-friendly data labeling API for AI applications: self-driving cars, mapping, AR/VR, robotics, drones, retail, and more.

Source: scale.ai

Jobs where liars excel

Jobs where liars excel

But according to recent research by US academics Brian C Gunia and Emma E Levine, there’s an exception for jobs that are perceived as being high in selling orientation rather than customer orientation. Researchers Gunia and Levine asked their study participants – who included over 500 business students and survey takers on Amazon’s Mechanical Turk crowdsourcing site in the US – to rank certain jobs in terms of their perceived selling orientation, and rate hypothetical individuals in terms of their perceived competence. In the recent study of the link between perceived deception and perceived competence, “we intentionally recruited business students so that we could be sure that the stereotypes we examine are actually held by future practitioners”, explains Levine, of the University of Chicago Booth School of Business.

Source: www.bbc.com

The Problem of the Aging Surgeon

The Problem of the Aging Surgeon

As an example of quantitative difference, orthopaedic surgeons entering postdoctorate specialty education before 1979 obtained an average of 4 years of residency education after medical school. So a typical orthopaedic surgeon who is today 56 years old or older could not have been taught the technique of locked intramedullary fixation of femoral fractures during his or her residency education. So a typical orthopaedic surgeon who is today 66 years old or older could not have been taught anything at all about joint replacement during his or her formal residency education, and a present surgeon older than approximately 40 years old could not have been taught modern joint replacement techniques during his or her formal residency education.

Source: www.ncbi.nlm.nih.gov

Japan’s washi paper torn by modern life

Japan’s washi paper torn by modern life

But, at a small workshop in western Japan, Hiroyoshi Chinzei, a fourth-generation traditional paper maker, creates washi with a unique purpose that may help revive interest — both at home and abroad. Because washi is hard to break, damaged, old documents can be reinforced by attaching a piece of washi or sandwiching them between two sheets of the paper, Chinzei explains. Chinzei’s washi, a type called tengu-jōshi paper, also known as “the wings of a mayfly,” is 0.02 millimeters thick and weighs 1.6 grams per square meter.

Source: www.japantimes.co.jp

Life is fractal, but markets are square

Life is fractal, but markets are square

1/ When humans wield their power in the world, they are limited by the linear nature of their thinking. 8/ A revolutionary idea is that governments should leave people alone so they could pursue their well-being in a bottom-up fashion via social interactions in their local area. 10/ Human ideas are necessarily few-dimensional while nature is branching and fractal.

Source: invertedpassion.com

A Teenager’s IoT worm is bricking thousands of devices

A Teenager’s IoT worm is bricking thousands of devices

A new strain of malware is wiping the firmware of IoT devices in attacks reminiscent of the old BrickerBot malware that destroyed millions of devices back in 2017. How the Silex malware works
According to Akamai researcher Larry Cashdollar, who first spotted the malware earlier today, Silex works by trashing an IoT device’s storage, dropping firewall rules, removing the network configuration, and then halting the device. Further, Light also plans to incorporate exploits into Silex, giving the malware the ability to use vulnerabilities to break into devices, similar to how most IoT botnets operate today.

Source: www.zdnet.com

James Lovelock at 100: the Gaia saga continues

James Lovelock at 100: the Gaia saga continues

In 1974, they developed a view of Earth’s atmosphere as “a component part of the biosphere rather than as a mere environment for life” (J. E. Lovelock and L. Margulis Tellus 26, 2–10; 1974). Lovelock’s Gaia theory states that, for much of the past 3.8 billion years, a holistic feedback system has played out in the biosphere, with life forms regulating temperature and proportions of gases in the atmosphere to life’s advantage. The procession of engaging books began in 1979 with Gaia: A New Look at Life on Earth.

Source: www.nature.com