VLSI Testing and Analysis using Machine Learning