Databrain

Machine learning and deep learning explained

Machine learning is a way for software to learn patterns from data. Deep learning is one type of machine learning that uses neural networks with multiple layers.

Machine learning

A machine learning system can learn from examples to make a prediction or classification, such as flagging an unusual transaction. It may need labelled examples and testing against data it has not already seen.

Deep learning

Deep learning uses layered mathematical models called neural networks. It is often used for images, audio and language, though it can require substantial data, computing power and specialist support.

Which should a business use?

There is no universally better choice. A simpler approach can be easier to build, explain and maintain; deep learning may be useful for complex tasks. Sometimes clear rules or an existing software tool are enough.

What to check

Neither approach automatically improves over time or guarantees a correct answer. Check data quality, privacy, performance across different cases and the cost of maintaining the system. Involve a person where decisions have significant consequences.

Compare approaches against the task

Start with a clear question, such as whether a team can identify documents that need review. Compare an existing rule or simpler model with a more complex approach using examples the team is permitted to use.

Keep some representative examples separate from training so the team can check how a model performs on information it has not already seen. Look at the mistakes as well as the overall result: a missed item and a harmless item flagged for review can have different consequences.

What does the choice change?

For a small set of document categories, a rule based on known fields may be enough. If documents vary in layout or wording, a trained model may be worth testing. Deep learning is one possible approach, but it does not remove the need for suitable examples, evaluation and a way to handle uncertain results.

Ask who can explain and maintain the approach, how often the source information changes and what happens when it fails. Compare the complete cost of collecting data, testing, hosting and review with the existing process. Start with the simplest approach that meets the team’s needs.

Google’s guide to classification metrics explains how different kinds of error affect the measures used to assess a classifier.

What would you like
more time for?