I can’t answer about libraries, but the main process is linear regression . ”This process is not so difficult, so you can probably write your own quickly enough. Aside, Postgres may have built-in statistical functions that do this, MySQL can have something like that, at least now you know what to look for.
source
share