RJT1990 / pyflux

Open source time series library for Python
BSD 3-Clause "New" or "Revised" License
2.11k stars 240 forks source link

Replace magic numbers with dictionary types #43

Closed RJT1990 closed 7 years ago

RJT1990 commented 7 years ago

A lot of places in the code there are references to index numbers of the latent variables; this makes for unclear, hard-to-read code. Should utilise dictionary keys and values instead.

RJT1990 commented 7 years ago

This issue is now redundant thanks to the introduction of (internal) tags for latent variables that allow for use of string references rather than indexes where possible.