Intelligent Circuit Design and Implementation with Machine Learning