The Predictions and Detections of Time Series in Wireless Communications Using Machine Learning Approaches