Category: ai

How to Analyze Tweet Sentiments with PHP Machine Learning

As of late, it seems everyone and their proverbial grandma is talking about Machine Learning. Your social media feeds are inundated with posts about ML, Python, TensorFlow, Spark, Scala, Go and so on; and if you are anything like me, you might be wondering, what about PHP? Yes, what about Machine Learning and PHP? Fort...

Developing A Chatbot Using Microsoft’s Bot Framework, LUIS And Node.js (Part 1)

    This tutorial gives you hands-on access to my journey of creating a digital assistant capable of connecting with any system via a RESTful API to perform various tasks. Here, I’ll be demonstrating how to save a user’s basic i...

Should We Be Scared of an Intelligent Internet of Things?

Last week was IoT week on SitePoint which saw us publish a plethora of articles focused on the intersection of the internet and the physical world. We covered some seriously great stuff! Among my favorites was this article by Christopher Pitt on combining an Arduino, Minecraft and PHP (yup, PHP) and this article by Sit...

PredictionIO and Lumen: Building a Movie Recommendation App

In the intro, we covered the basics of PredictionIO and installed its dependencies. In this part, we’re going to build the movie recommendation app. Environment Config File Inside your app directory, create a .env file and add the following configuration: APP_ENV=local APP_DEBUG=true APP_KEY=some-random-key PIO...

PredictionIO: Bootstrapping a Movie Recommendation App

In this tutorial, I’m going to walk you through PredictionIO, an open-source machine learning server, which allows you to create applications that could do the following: recommend items (e.g. movies, products, food) predict user behavior identify item similarity rank items You can pretty much build any machine le...

Building Microsoft’s What-Dog AI in under 100 Lines of Code

Rather recently, Microsoft released an app using AI to detect a dog’s breed. When I tested it on my beagle, though… Hmm, not quite, app. Not quite. In my non-SitePoint time, I also work for Diffbot – the startup you may have heard of over the past few weeks – who also dabble in AI. To test how they com...

Building Microsoft’s What-Dog AI in under 100 Lines of Code

Rather recently, Microsoft released an app using AI to detect a dog’s breed. When I tested it on my beagle, though… Hmm, not quite, app. Not quite. In my non-SitePoint time, I also work for Diffbot – the startup you may have heard of over the past few weeks – who also dabble in AI. To test how they com...

How to Make Your Web App Smarter with Image Recognition

Clarifai is an API which provides image and video recognition that is incredibly simple to use and a whole lot of fun to implement. In this article, we will explore dragging and dropping images from around the web into a simple web app that will read them and tell us what it believes they are. In this demo, we will be ...

Customizing Your Api.ai Assistant with Intent and Context

Api.ai is a really simple service that allows developers to create their own basic personal AI assistant that works a bit like Siri and Amazon’s Alexa. Last week, I covered how to build your own AI assistant using Api.ai where I showed the basics of setting up an AI assistant and accessing the pre-existing knowle...

How to Build Your Own AI Assistant Using Api.ai

The world of artificially intelligent assistants is growing — Siri, Cortana, Alexa, Ok Google, Facebook M — all the big players in technology have their own. However, many developers do not realise that it is quite easy to build your own AI assistant too! You can customise it to your own needs, your own IoT connec...