Nov

Towards smarter data - accuracy and precision

                                                   

There is a huge amount of information out there. And it is growing. To make it efficient and increase our competitive advantage we need to evolve and start using information in a smart way, by concentrating on data that drives business value because it is accurate, actionable, and agile. Accuracy is an important measure that determines the quality of data processing solutions.

How accuracy is calculated?

It is easy to do with structured data, because the requirements are formalizable. It is less obvious with unstructured data, e.g. a stream of social feeds, or any data set that involves natural language. Indeed, the sentences of natural language are subject to multiple interpretations, and therefore allow a degree of subjectivity. For example, should a sentence ‘I haven’t been on a sea cruise for a long time’ be qualified for a data set of people interested in going on a cruise? Both answers, yes and no, seem valid.

In these cases an argument was put forward endorsing a consensus approach which polls data providers is the best way to judge data accuracy. This approach essentially claims that attributes with the highest consensus across data providers is the most accurate.

At nmodes we deal with unstructured data all the time because we process natural language messages, primarily from social networks. We do not favor this simplistic approach, as it is considered biased, inviting people to make assumptions based on what they already believe to be true, and making no distinction between precision and accuracy. Obviously the difference is that precision measures what you got right, and accuracy measures both what you got right and what you got wrong. Accuracy is a more inclusive and therefore more valuable characteristic.

Our approach is

a) to validate data against third party independent sources (typically of academic origin) that contain trusted sets and reliable demography. Validating nmodes data against third party sources allows us to verify that our data achieves the greatest possible balance of scale and accuracy.

b) to enrich upon the existing test sets by purposefully including examples ambiguous in meaning and intent, and providing additional levels of categorization to cover these examples.

Accuracy is becoming important when businesses move from rudimentary data use, typical of the first Big Data years, to a more measured and careful approach of today. Understanding how it is calculated and the value it brings helps in achieving long-term sustainability and success.

 

Interested in reading more? Check out our other blogs:

CHATBOT PLATFORMS. How to choose the right one?

   
Chatbot platforms are essential tools if you need to build and run a chatbot.
There are many available on the market, big and small, popular and not so much.

Here are some useful thoughts that should help you navigate the complex world of chatbots and conversational AI solutions.

All chatbot platforms can be split into two categories: those that let you create chatbots without any programming, and those that require programming. Now, the idea that you don’t need to possess technical knowledge to build a chatbot seems appealing but the reality is not so rosy. In fact, I have yet to see a professional chatbot created without coding.
Chatbots rely on sophisticated algorithms and advanced knowledge of linguistics. These technologies are so complex that at the moment there are no plug-and-play solutions available. The companies like Chatfuel, Manychat, Flow XO and many others are attempting to fill that void and offer chatbot platforms that are simple in use. The best way to make the chatbot creation simpler is by dropping the need to code them. However this simplicity comes at a price: chatbots made without coding are limited, rigid and in general, primitive.
So to summarize: if you want to impress your girlfriend use Chatfuel. If you need a professional chatbot that delivers on your business goals and provides customer satisfaction use advanced chatbot platforms with programming capabilities.

One of the main, if not the main, tasks of the chatbot platforms is to connect your chatbot to the user interfaces. There are many ways for your chatbot to interface with the world: on Facebook messenger, on the website, on the mobile app, via SMS, on Twitter , on Skype, on Slack, on Telegram, and more. A good chatbot platform should seamlessly connect the chatbot to most of these channels. Chatbot platforms do not make your chatbot smarter. For this you need AI Engines (brief disucssion on AI Engines: http://nmodes.com/entry/2018/03/29/what-are-ai-engines-and-how-choose-one/).

For best results create your chatbot on a chatbot platform, then connect it to AI engine.

One of the top chatbot platforms on the market is Microsoft Bot Framework. It is robust, powerful, with a wide variety of useful functionality built-in. Another good chatbot platform is DialogFlow. DialogFlow has a slightly different architecture in the sense that it is a chatbot platform and an AI Engine all in one interface.

Chatbot platforms can be used to create conversation flow for your chatbot. There are several schools of thought here: some prefer to delegate conversation flow to AI engines. Chatfuel and other tools with the emphasis on simplicity (build your chatbot in minutes, no coding necessary) offer easy graphical interfaces for conversation flow creation. And there is always a reliable option to create conversation flow in an old-fashioned way, programmatically.

Which option to choose? Depends on your chatbot requirements and the business needs the chatbot is expected to address.And if you have questions feel free to ask: http://http://nmodes.com/contact-us/

READ MORE

What Is AI Engine and Do I Need It?

Chatbots and assistant programs designed to support conversations with human users rely on natural language processing (NLP). This is a field of scientific research that aims at making computers understand the meaning of sentences in natural language. The algorithms developed by NLP researchers helped power first generation of virtual assistants such as Siri or Cortana. Now the same algorithms are made available to the developer community to help companies build their own specialized virtual assistants. Industry products that offer NLP capabilities based on these algorithms are often called AI engines.

The most powerful and advanced AI engines currently available on the market are (in no particular order): IBM Watson, Google DialogFlow, Microsoft LUIS, Amazon Lex.

All these engines use intents and entities as primary pnguistic identifies to convey the meaning of incoming sentences. All of them offer conversation flow capability. In other words, intents and entities help to understand what the incoming sentence is about. Once the incoming sentence is correctly identified you can use the engine to provide a reply. You can repeat these two steps a large number of times, thus creating a conversation, or dialog.

In terms of language processing ability and simplicity of user experience IBM Watson and Google DialogFlow are currently above the pack. Microsoft LUIS is okay too; still, keeping in mind that Microsoft are aggressively territorial and like when users stay within their ecosystem, it is most efficient to use LUIS together with other Microsoft products such as MS Bot Framework.

Using AI engine conversation flow to create dialogs makes building conversations a simple, almost intuitive, task, with no coding involved. On the flip side, using AI engine conversation flow limits your natural tendency to make conversations natural. The alternative, delegating the conversation flow to the business layer of your chatbot, adds richness and flexibility to your dialog but makes the process more comppcated as it now requires coding. Cannot sell a cow and drink the milk at the same time, can you?

Amazon Lex lacks the semantic sophistication of their competitors. One can say (somewhat metaphorically)  that IBM Watson was created by linguists and computer scientists while Amazon Lex was created by sales people. As a product it is well packaged and initially looks pleasing on the eye, but once you start digging deeper you notice the limitations. Also, Amazon traditionally excelled in voice recognition component (Amazon Alexa) and not necessarily in actual language processing.

The space of conversational AI is fluid and changes happen rapidly. The existing products are evolving continuously and a new generation of AI engines is in the process of being developed.

READ MORE