# What can Simple ML do?

Simple ML uses *machine learning* to help with data filling and decision making.
As of now, Simple ML supports three tasks:
[Predicting missing values](task_autocomplete_missing_values),
[spotting abnormal values](task_spot_abnormal_values), and
[forecasting future values](task_forecast).

Simple ML works by following examples: The user provides examples, and Simple ML
learns from those examples to do some operation. For example, to predict missing
values, Simple ML will use the non-missing values as *examples to follow*.

## Need 1: Enough examples

The more examples are available, the better the results. As a rule of thumb, at
least 20 examples are generally necessary, and having at least 100 of examples
is recommended. The more examples, the better the results: One thousand examples
is better than one hundred, and one million (when possible) is even better.

The exact number of necessary examples depends on your data: In some cases, 50
examples will work well, while in some other cases, 500 examples will not be
enough. It all depends on the complexity of the task.

Luckily, in some cases, Simple ML can judge how good of a job it did by self
evaluating predictions: The model self evaluation is a set of metrics related to
the quality of the model and available in the "understand model" task. For
example, if the model evaluation shows an accuracy of 80%, it means that Simple
ML knows it will be right 80% of the time.

## Need 2: Related examples

The examples given to Simple ML should be related to the objective of the task.
For example, to predict the outcome of an ad campaign, Simple ML needs examples
of the outcomes of past ad campaigns.

The greater the similarity between the examples and the predictions, the better
the results. For example, the results will be "off" if you predict ad campaigns
about shoes displayed on billboards using examples of ad campaigns of soft
drinks.

Luckily, Simple ML can tell you how much to trust it predictions as a
*confidence* (shortened to *conf.*) score. A 99% confidence can be trusted more
than a 50% confidence.

## Other tasks

Simple ML is actively being developed. Don't hesitate to
[contact us](https://groups.google.com/g/simple-ml-for-sheets-users) with
feedback or feature requests.
