Screenshot of the feature to be developed.
No need.
Describe the solution you'd like
We need to implement an algorithm that helps prediction based on the context. This works related to TAGs so this has to be present in the Pictogram JSON in order to work.
We will start only with the Frequency of usage and Time of the day, keep in mind that more variables will be implemented to design the code accordingly.
A "score" value should be calculated for each "Child" pictogram in the Relationship array of the father and sorted based on the "score" value, this should happen each time the user selects a "parent" Pictogram.
The formula to calculate "score" is as follows. (peso = weight; hora = time; sexo = gender; edad = age)
Screenshot of the feature to be developed. No need.
Describe the solution you'd like We need to implement an algorithm that helps prediction based on the context. This works related to TAGs so this has to be present in the Pictogram JSON in order to work.
We will start only with the Frequency of usage and Time of the day, keep in mind that more variables will be implemented to design the code accordingly.
A "score" value should be calculated for each "Child" pictogram in the Relationship array of the father and sorted based on the "score" value, this should happen each time the user selects a "parent" Pictogram.
The formula to calculate "score" is as follows. (peso = weight; hora = time; sexo = gender; edad = age)
Pseudocode
The user chooses one Pictogram from MainScreen "parent" Pictogram
To calculate "score" For each of the children of "parent" pictogram in array "Relacion"
Calculate the current TAG for hora with the following formula
_Now we start to combine everything
We should see if the Pictogram TAG hora matches with Current Device TAG hora, if at least one match should return 1 if not 0
After this, we should calculate "score" with the given formula and return the value to the sorted method.
Action Plan Add an Action Plan wit