Issue
I have users who connect from source device to a target one, randomly. Each at his own frequency.
If a user has done a connexion in the last N days before his next one occurs, the system will remember him. Some user connect fewer than one in N days.
The question, how to compute the connexion frequency a user should have to be remembered by the system, at a certain confidence.
Python code