did prediction for 1d array; console output