Text this: Artificial Intelligence Algorithm for Optimal Time Series Data Model