Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Here come the robots - Django and machine learning

Tom Dyson
October 16, 2018

Here come the robots - Django and machine learning

Machine Learning is probably the most important development in our industry (and possibly our civilisation!). Previously restricted to math geniuses with access to supercomputers and massive data centres, machine learning tools are increasingly available as web services which are easily consumed from more traditional web applications. Python has become the lingua franca of machine learning, so Django developers are well placed to take advantage of the next wave of application development.

In this talk I outline the various machine learning platforms and provide a set of practical examples that demonstrate how Django developers can start taking advantage of artificial intelligence in their own applications. These include:

- Image recognition - using Microsoft Azure Vision to automatically caption and label the images your users upload
- Entity analysis - using the Google Cloud Natural Language API to tag news articles with people, locations and events
- Predictions - using Amazon Machine Learning to build a ‘you may also like’ feature
- Sentiment analysis - using IBM Watson to understand the tone of comments submitted to your site

Tom Dyson

October 16, 2018
Tweet

More Decks by Tom Dyson

Other Decks in Programming

Transcript

  1. On the cusp ➔ Life 1.0 – 4 billion years

    ago ➔ Life 2.0 – 100 thousand years ago ➔ Life 3.0 – 30 years away
  2. Machine learning Classical programming uses rules and data to produce

    answers. Machine Learning uses data and answers to produce rules. François Chollet
  3. “They literally wanted it to be an engine where I’m

    going to give you 100 résumés, it will spit out the top five, and we’ll hire those.” But by 2015, the company realized its new system was not rating candidates for software developer jobs and other technical posts in a gender-neutral way.
  4. That is because Amazon’s computer models were trained to vet

    applicants by observing patterns in résumés submitted to the company over a 10-year period. Most came from men, a reflection of male dominance across the tech industry. In effect, Amazon’s system taught itself that male candidates were preferable. It penalized résumés that included the word “women’s”, as in “women’s chess club captain”.
  5. Next steps ➔ If you want to learn ML ◆

    Deep Learning with Python ◆ Kaggle ➔ If you want to do something with ML ◆ Read the cloud service docs ➔ Build something amazing