Distributed Denial of Service Attack Detection Using a Machine Learning Approach