Creation Of A Cognitive Radar With Machine Learning: Simulation And Implementation