First steps with TensorFlow.js

Aral Roca

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

In praise of SWARMing

Dan North & Associates

Most of my work these days is helping organisations figure out how to be more effective, in terms of how quickly they can identify and respond to the needs of their external and internal customers, and how well their response meets those needs. This tends to be easy enough in the small; the challenges appear as we try to scale these techniques to the hundreds, thousands or tens of thousands of people.

It is into this space that a new generation of software methods have emerged. SAFe, LeSS, DAD and others claim to help enterprises “scale agile,” whatever that means. A generous interpretation is that people who have a track record helping organisations on this journey have managed to codify their knowledge into a set of blueprints, guidelines, frameworks and methods so you don’t have to. Another take is that execs in organisations above a certain size like to buy…

View original post 4,106 more words

Welcome to the Center of the Universe

Longreads

Shannon Stirone | LongreadsMarch 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

Thomson Memorial Park

Hiking the GTA

Saturday, July 21, 2018

Thomson Memorial Park sits on one of the first plots of land to be deeded in Scarborough Township and the first one to be settled.  Arhibald Thomson emigrated from Dumfriesshire in the Scottish Lowlands during the late 18th century when the English were clearing out the poor and disenfranchised that the Uprising of 1743 had left behind.  After spending some time in New York State he moved to Upper Canada when the American Revolution was raging.  Achibald had been displaced by King George III but was still loyal to the crown and so he came to Upper Canada as a United Empire Loyalist.  Even so he wasn’t keen on living too close to the Family Compact that had taken firm control of York following the Battle of York.   In 1795 he managed to convince his two younger brothers, David and Andrew, to join him in…

View original post 1,059 more words

Putting the “crow” in necrophilia

It’s early April 2015, and John Marzluff and I are standing with a film crew attempting to capture some footage of a crow funeral to compliment a story they are working on about Gabi Mann. I’ve already set the dead crow on the ground, it’s placed just out from a cherry tree resplendent in springtime blossoms. After only a few moments of waiting, the first crow arrives and alights on the tree, its head cocking around to get a better look at the lifeless black feathers beneath it. I hold my breath for the first alarm call, ready for the explosion of sound and the swarm of birds that will follow it. But it doesn’t come. Instead, the bird descends to the ground and approaches the dead body. My brow knits together in surprise but, ah well, I think, the shots of it getting so close and then alarm…

View original post 1,269 more words

The Giant 200-Foot Wave at Trinidad, California

Dr Abalone

Trinidad-WaveOne hundred years ago, on Dec. 31, 1914, the lighthouse at Trinidad Head was assaulted by a wave of monstrous proportions. Although the details are unclear, we know that the storm that produced the waves was unusual and that the wave was greater than 100 feet and perhaps much more. The only eyewitness was the keeper of the lighthouse at Trinidad Head at that time, Captain Fred Harrington, and here is his account of the notorious wave:

“The storm commenced on December 28, 1914, blowing a gale that night. The gale continued for a whole week and was accompanied by a very heavy sea from the southwest.  On the 30th and 31st, the sea increased and at 3 p.m. on the 31st seemed to have reached its height, when it washed a number of times over (93-foot-high) Pilot Rock, a half mile south of the head. At 4:40 p.m., I was in…

View original post 570 more words

Deep code search

the morning paper

Deep code search Gu et al., ICSE’18

The problem with searching for code is that the query, e.g. “read an object from xml,” doesn’t look very much like the source code snippets that are the intended results, e.g.:

*

That’s why we have Stack Overflow! Stack Overflow can help with ‘how to’ style queries, but it can’t help with searches inside codebases you care about. For example, “where in this codebase are events queued on a thread?”

…an effective code search engine should be able to understand the semantic meanings of natural language queries and source code in order to improve the accuracy of code search.

DeepCS is just such a search engine for code, based on the CODEnn (Code-Description Embedding Neural Network) network model. During training, it takes code snippets (methods) and corresponding natural language descriptions (from the method comments) and learns a joint-embedding. I.e., it learns embeddings…

View original post 1,016 more words