Returns response accuracy of a mouse in a single session.
Can optionally plot the confusion matrix.
all_data (np.ndarray) – A 2-d numpy array that contains data from all sessions.
session_id (int) – Integer that denotes a particular session.
plot (bool, optional) – Plots a confusion matrix if True.
Returns response accuracy.
float