I am working on building a model that detects the age of people. This could take many different forms such as:
people who are 35
people who are between 30 and 40
people under 45
people in their thirties
people in their 40s
I know I can get the numbers easily, but what would be the best practice for making this somewhat consistent. Using an
PhraseMatcher with custom attributes is what I'm thinking but curious what the consensus is here.
Ideally, I would do some post processing that converts the value to a tuple like (30,39) for 30s, etc. but I'm guessing the model should tell me something like
30 is the
is_bottom_bound for the additional info.
Thanks so much!