cognitive baysian train test