Number support

Documentation

June 7, 2019

This page clarifies the state of number support in Aito.

Aito doesn't yet fully support numbers so that the values would be automatically bucketed to ranges.

When dealing with numerical data, there are different ways you could want to do the analysis. A common example would be that you have product ratings between 0.0 - 5.0. Ideally you'd want to bucket those floating point numbers into meaningful ranges such as bad reviews and good reviews.

However currently Aito treats 0.9 and 1.0 as separate concepts, and it doesn't "understand" that everything between 0.0 - 1.0 are close to each other.

Workaround

The workaround is to transform your numerical data into manually selected buckets before uploading your data to Aito. In the case of product ratings, a good choice would be to round the reviews into the closest integer. This way there are only 5 different data points instead of having 50 (0.0, 0.1, 0.2, ...).

This same principle can be applied to other data types as well. For example you could convert exact dates to the week number, or some other range which groups the data in a meaningful way.

Back to developer docs

Visit us

Annankatu 34 B

00100 Helsinki

Finland

See map

26 Underwood Street

N1 7JQ

London, UK

See map

Contact info

We'd love to hear from you.

hello@aito.ai

Follow us